35
votes
macOS Sierra: mounting NFS volumes
The accepted answer only works when the NFS server allows connections on non-reserved ports (i.e. >1024).
The exports man pages say it:
exportfs understands the following export options: secure
...
18
votes
Accepted
macOS Sierra: mounting NFS volumes
In Finder, press cmd + k and enter the path to the NFS server/share:
For me this mounted as /Volumes/users-1 (but I already had /Volumes/Users mounted).
iMac21:~ user$ df -h /Volumes/users-1
...
15
votes
Accepted
How to share directory over NFS from Mac? (w/o macOS Server app)
What was required was the following line in /etc/exports:
/path/to/shared/dir -mapall=<uid of local user on host machine with correct perms> -network 192.168.56.0 -mask 255.255.255.0
exports(5)...
11
votes
How to mount nfs drive on macOS with read+write access?
I have this setup, please do the machine/folder names translation according to your case.
In /etc/exports on server side (mine is a centos 7):
/workspace_guest/02.code
172.20.0.1(rw,sync,insecure,...
11
votes
How to share directory over NFS from Mac? (w/o macOS Server app)
macOS Server is not required at all to share directories over NFS. The macOS client provides all necessary tools.
Testing various exports with bogus paths, I'd assume your path simply doesn't exist.
...
6
votes
Accepted
Where are the User and Group definitions stored in High Sierra?
The user and group information on a Mac are stored in Directory Services. That service can bind to external sources and alternate "local" sources like NFS, LDAP, ActiveDirectory (LDAP) but by default, ...
4
votes
How to get nfsd to serve NFSv4 on High Sierra?
The version of nfsd on the Mac does support v4. For ACL support you definitely need to connect using v4.
Your failure to get a v4 connection is probably on the client side. Most NFS clients default ...
4
votes
Accepted
How do you launch an application.app stored in nfs share from bash script?
The primary issue I see with your command:
exec open -a "/path/to/nfs/"Sublime\ Text.app" "$@"
Is you have used a backslash to escape a space while also quoting the command. Use one or the other, ...
3
votes
Word for Mac on NFS share thinks documents are read only
It seems that the issue is using NFS version 4. Using NFS version 3 resolves the issue. In version 4 the locking behaviour is different, and this is probably the reason. I will be using NFS v. 3 for ...
3
votes
Accepted
Issues sharing folder through NFS - RPC: Unable to send; errno = Bad file descriptor or Program not registered
Apparently, I had some issues with my /etc/hosts file. The suspicion was alert seeing rpc.lockd[215] : can't contact statd, 100024 RPC: Timed out all over.
I cleaned up the /etc/hosts file:
##
# ...
3
votes
Accepted
How to get nfsd to serve NFSv4 on High Sierra?
The author of NFS Manager Marcel Bresink states in the help files that macOS only supports NFS 4 as a client. As server it is limited to NFS 2 and 3:
https://www.bresink.com/osx/143439/Docs-en/pgs/...
2
votes
How to get nfsd to serve NFSv4 on High Sierra?
I am yet to see any evidence that nfsd on macOS supports version 4.
From man nfs.conf:
For more information on the NFS and MOUNT protocols see Network File System Protocol
Specification, RFC1094 ...
2
votes
Accepted
Can't mount NFS share in Big Sur. Crashes with NFSv4, rpc error with v3
I also updated my OS and it worked on the BigSur 11.6 with this command:
mount -o vers=4,resvport -t nfs xxx.xxx.xxx.xxx:/var/nfs/content /mnt/content/.
2
votes
Accepted
NFS server support in OS X 10.15.x Catalina?
Do you have the NFS client utilities installed on the Linux system? The error message from your Linux system states that /sbin/mount.nfs isn't present, which suggests that the NFS client utilities are ...
2
votes
How will macOS behave when creating folders in /private/var/folders to mount a NFS share with?
No.
This is a system directory that contains things like logs, databases, your sleep image, etc. It's not a directory that you should be mounting file shares to. The purpose of the /private ...
2
votes
What is the proper configuration for mounting Synology shares over NFS, without case-sensitivity?
The proper way to handle this is not through changing the NFS client configuration, which is why you do not see any case-sensitivity settings in mount_nfs or nfs.conf or similar places.
The preferred, ...
1
vote
What is the proper configuration for mounting Synology shares over NFS, without case-sensitivity?
mount_nfs(8) doesn't list any options related to case-sensitivity, so at least up to Sonoma there doesn't seem to be an option for this.
Alternative approaches
Create an APFS-formatted DMG on the ...
1
vote
Accepted
Changing my UID (on OS Ventura) for NFS mounts
I haven't been able to figure out a way to change a user's in MacOS Ventura. As near as I can tell, it's impossible. There are so many places in the system which store your keychain, access to your ...
1
vote
Accepted
Reasonable-seeming entries in /etc/export don't work—why?
nfsd checkexports has given me a lot of information about what's going wrong. There are still a few mysteries, but here's what it outputs:
/etc/exports entry
checkexports output
/Users -network=127....
1
vote
Accepted
Error hdiutil: create failed - File exists -> but the file does not exist until this command fails
This is a workaround for the issue, but not a resolution. This allows me to use the image on the NFS share, but I still can't create it directly on the NFS share.
% hdiutil create -size 300g -type ...
1
vote
Cant write to network shared disk in macOS Big Sur (only sudo)
After hours of investigating I found working solutions, I had to change a server export setings to
no_subtree_check,no_auth_nlm,insecure,anonuid=1000,anongid=1000,all_squash,rw
Also I had to change ...
1
vote
Problem mounting NFS shares from OSX servers
Actually I am posting a solution here since I got the mounts to work. I had followed a suggestion had added version=4 in /etc/nfs.conf which was the culprit. once I commented that, I can mount shares ...
1
vote
Improving NFS client performance
i was having a lot of trouble with both transfer speed to/from an NFS share, as well as extremely slow performance traversing directories; after mounting a share, listing a directory containing just 5 ...
1
vote
mounting NFS v4 results in "Invalid argument"
You are trying to use:
mount_nfs -o rwsize=32768 -o locallocks -o namedattr -o noac -o
rdirplus -o nfsv3 jin.local:volume1/File/ /Volumes/File
Instead try:
mount_nfs -vers=4 -o rwsize=32768 -...
1
vote
automounting NFS 4 results in kernel panic
I hit this same problem, mounting NFSv4 volumes on a High Sierra (10.13.3) MacBook Pro, from a known-good Solaris server.
I unchecked the "put hard disks to sleep when possible" option in the Energy ...
1
vote
Sierra as NFS/LDAP client: write permissions problems
I deleted nolockd and it works much better.
1
vote
Accepted
NFS folder can't be found
You can check if the server is running in NFS Manager itself:
Hit the Test Server button in NFS Manager:
Enter the IP of the server (either 127.0.0.1 or the interface IP e.g. 192.168.0.5) and hit "...
1
vote
Getting error: RPC prog. not avail while trying to mount using nfs
Try this:
pi@raspberrypi:~$ sudo /etc/init.d/nfs-kernel-server restart
1
vote
automount: Another automount is running
I see a process autofsd, which is performing the auto mount, but I run Mac OS X 10.12.6 so maybe that is different.
When I run automount it updates the mounts (from the auto_master file)
1
vote
How to automatically mount NFS shares on OS X
Although quite out of date, I still picked the Stack Exchange page first, 'cause the quality is always so good. In this case, however, Apple's continual re-working of OS X, combined with the passage ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
nfs × 108macos × 71
mount × 22
network × 16
automount × 14
finder × 10
unix × 5
nas × 5
terminal × 4
smb × 4
mac × 3
high-sierra × 3
file-sharing × 3
ios × 2
applications × 2
command-line × 2
bash × 2
external-disk × 2
permission × 2
sharing × 2
virtualization × 2
ui × 2
dmg × 2
monterey × 2
disk-volume × 2