[Guide] How to properly setup shares with 10gbe macOS


saudkh

Recommended Posts

PSA: Use NFS on macOS Catalina/Mojave/HighSierra for 10gbe, smb is still broken

 

#skip_this_part

I know I saw this before, and its been discussed a lot, but I just want to reiterate for those that are not aware: DO NOT use SMB for macOS using Unraid if you are on 10gbe (1gb actually works great/ok).

 

After days of testing and losing my mind over why my 10gbe isnt working to its potential (9gbytes-10gbytes) transfer rates that I was getting on Windows.

 

SMB just doesnt work on macOS as it should (especially for 10gbe, I get less than 5MBytes/sec write and 50-60 on read)

 

After switching to NFS I now get proper 800mbytes write and 1.1gbytes write (slows down gradually to 700-900mbytes) using my SSD shares

 

I wish there was a way to manually update SMB on macOS like in the old days (see: http://eduo.info/apps/smbup) or better yet, a proper SMB configuration natively. But thats not an option at this time.

 

So for now, if you're coming here from google or just saw this thread on the forum because you searched for 'macos slow 10gbe unraid' there is nothing wrong with unraid, your setup (probably) its Apple's fault.

 

Unfortunately, as of now, Unraid does not allow you to specify a lot of settings through the gui for NFS (restrict to ip, enabling rw, insecure connections, proper permissions...etc) so you have to do it manually, which sucks a lot, but its your only option if you're running 10gbe. 

 

#read_this_part

Below are my extra options that I added to the NFS Unraid settings, but please chime in if you know any better as I am not exactly an expert on the subject.

note: add these to your shares with the private security turned on.

*(sec=sys,rw,no_root_squash,insecure)

 

or if you want specific clients:

192.168.1.10(sec=sys,rw,no_root_squash,insecure) 192.168.1.12(sec=sys,rw,no_root_squash,insecure)

 

or maybe a specific range:

192.168.1.0/24(sec=sys,rw,no_root_squash,insecure)

 

if you're confused about the options, the first one is the one you should use. Also, you need to change 192.168.x.x part to your local network. 

Edited by saudkh
  • Like 1
Link to comment
20 minutes ago, saudkh said:

@1812I thought High Sierra was the cutoff before they ruined everything. I cant install High sierra on my setup, so i wasnt 100% sorry for the false info

No worries, I’m still twiddling my thumbs considering an AMD card for Catalina, and all the other fun that ensues by updating!

Link to comment
On 12/12/2019 at 4:50 PM, saudkh said:

note: add these to your shares with the private security turned on.

Saw this right after posting my previous. Couldn't get it to work though. Just keep getting this-

 

FinderScreenSnapz001.png.9e5ef693a367c671b1b58ed9988f9e00.png

 

Tried using *(sec=sys,rw,no_root_squash,insecure) and 10.0.1.0/24*(sec=sys,rw,no_root_squash,insecure). Also tried using "public". Same result for all.

Even rebooted the server just to see if that would make a difference.

 

unRAID 6.8

macOS Catalina

Link to comment
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.