NFS: Qnap server / macOS client

Questions about using NAS on Mac OS.
Post Reply
AnnoMeNuehm
New here
Posts: 3
Joined: Fri Feb 19, 2021 1:47 pm

NFS: Qnap server / macOS client

Post by AnnoMeNuehm » Fri Feb 19, 2021 2:00 pm

Hi,

On my LAN there are various NAS devices acting as file servers, as well as multiple macOS clients, facilitating these file servers.

There is no directory (ldap et al) or common authentication service (kerberos et al) in place.

The available user & group ids are specific to each of those devices, and they are not synchronised across all of them, resulting in eg.user #1 has got a different id on a NAS and a Mac.

I am not about migrating the current file share setup from AFP to NFS, and I am wondering how best to go about this task, without having to introduce ldap or kerberos to my environment, without having to synchronise the user & group id across all devices.

I have done some research and stumbled across user & group id mapping, and nfs v4, but I have to admit I have got no clue as where to tweak, what to configure, in order to successfully set this up.

My starting point would be a Qnap TS251b sporting QTS 4.5.2 and a Mac mini M1 running macOS 11 Big Sur.

Any help, any hint would be more than appreciated.

-- Anno
Qnap TS251b4g
QTS 4.5.2

AnnoMeNuehm
New here
Posts: 3
Joined: Fri Feb 19, 2021 1:47 pm

Re: NFS: Qnap server / macOS client

Post by AnnoMeNuehm » Mon Feb 22, 2021 2:54 pm

Actually it is supposed to read "...I am NOW about migrating.." instead of "...I am not about migrating..." -- my bad
Qnap TS251b4g
QTS 4.5.2

torch1
Know my way around
Posts: 111
Joined: Thu Jul 04, 2019 4:53 am

Re: NFS: Qnap server / macOS client

Post by torch1 » Wed Feb 24, 2021 10:31 pm

Have you considered using SMB instead of NFS?

AnnoMeNuehm
New here
Posts: 3
Joined: Fri Feb 19, 2021 1:47 pm

Re: NFS: Qnap server / macOS client

Post by AnnoMeNuehm » Wed Feb 24, 2021 11:07 pm

Yes, but in my purely macOS & iOS environment, and with smb's limitation regarding filenames, directory hierarchies et al, as well as from a performance perspective I ruled out smb.
Qnap TS251b4g
QTS 4.5.2

torch1
Know my way around
Posts: 111
Joined: Thu Jul 04, 2019 4:53 am

Re: NFS: Qnap server / macOS client

Post by torch1 » Fri Feb 26, 2021 1:58 am

Hmm...I have MacOS, iOS & Linux (various NASes, Rpi) and have not had any problems with SMB. Note that Files (iOS) supports SMB too. ( https://osxdaily.com/2019/11/04/how-con ... files-app/ )
You may have to tweak your NASes ( https://wiki.samba.org/index.php/Config ... h_Mac_OS_X ) and your Mac clients ( man nsmb.conf ) to get optimal performance.

Post Reply

Return to “Mac OS”