samba hangs while copying, Do you have an config suggestions?

dealy663

Dabbler
Joined
Dec 4, 2021
Messages
32
Hi

I'm new to TrueNAS Scale. I got my first install done last weekend and it went pretty smoothly I thought. I was able to get pools, datasets and shares going and even had successfully copied a few gigs of test data around. Occasionally I saw some weird Samba behavior from my Mac when trying to use the shares on TrueNAS. But yesterday things went south pretty bad and I could no longer copy files from my macs to the SMB shares on TrueNAS. The finder would start to copy and then just freezeup in an unrecoverable way. I was never able to get that copy process to end once it was frozen.

I really like a lot of what I'm seeing in TrueNAS and hope to be able to use it. Do you have any suggestions about what might be wrong here? Is Samba a bit buggy still? Maybe I configured something incorrectly? Is there a set of steps to follow for creating the SMB shares?

My computers are able to talk to my 10 year old Synology NAS over Samba with no issue and have been doing so for years so I don't think it is the mac samba config.

I'm running the latest stable RC of TrueNAS as of last week. Well I was running it. My system is hosed now, while I was trying to install OMV on another disk for testing purposes something corrupted the bootloader on the drive where I had TrueNAS installed. So I can't tell you the specific ... Oh wait, the ISO says it is 22.02-RC.1-2.

The mobo is an Asrock B550 Taichi
32 Gigs of ECC RAM
AMD Ryzen 7 5800X


Any suggestions on how to configure Samba to work correctly?

Also any ideas on how to recover the bootloader so I don't have to do a complete reinstall?

Thanks, Derek
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
You'll have to reinstall to fix the bootloader, unfortunately, but you can download your config first from System->General, and restore it after the reinstall to be back at the same point.

For Ryzen boards, the recommended stability fixes are to disable Cool n Quiet and C6 states in the UEFI BIOS.
 

dealy663

Dabbler
Joined
Dec 4, 2021
Messages
32
Thanks for the tip Samuel. How do you suggest downloading the config given that I can't boot the TrueNAS os? The boot partition is ZFS so can't be read by booting another OS.

I haven't been able to find those settings in the Asrock mobo BIOS. Does making those changes to cool n Quiet and C6 require flashing a new UEFI BIOS? Sorry about being dense here but this is the first system I've built from scratch like thins in > 10 years so some of the newer ways of doing things are unfamiliar to me.

Thanks, Derek
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Asrock B550 Taichi
That's a gaming board, so also disable any overclocking and do some research on the compatibility of the Intel 2.5 Gbit NIC as I think that may be part of the story here too.
 

dealy663

Dabbler
Joined
Dec 4, 2021
Messages
32
That's a gaming board, so also disable any overclocking and do some research on the compatibility of the Intel 2.5 Gbit NIC as I think that may be part of the story here too.
Yeah, I wasn't doing any overclocking, didn't want to add that uncertainty to the mix. I did do some digging into the Intel i225 nic and was under the impression that it was supported in Linux. So far I haven't seen any indication that I'm loosing link or having other network issues. Though there occasionally is some weird behavior with the UI on Safari. But since that seemed to work without issue on Chrome I just assumed that was another beta teething problem.

If you're aware of the i225v having some issue on debian distros let me know. I see that there were some last year and early this year. And I suspect getting this to work on FreeBSD will be more of a pain. I did test it for 2.5G link for about an hour, and it seemed to work, but went back to 1G so the rest of my computers would have access for now.

I haven't erased my TrueNAS boot disk yet, but don't know how to get anything useful off of it.
 
Top