I have Macbook Pro 2015, running El Capitan 10.11.1 and I am having issues with NFS mounts. I also have an Android TV Box and it mounts NFS without any issues, so I guess the issue is with my laptop. Here is the NFS config(/etc/exports
):
/media/mypassport 192.168.2.0/24(insecure,rw,all_squash,anonuid=1000,anongid=1000,no_subtree_check)
When I run showmount:
$ showmount -e rpi
Exports list on rpi:
/media/mypassport 192.168.2.0/24
I mount from Finder > Go > Connect to Server and enter: nfs://rpi/media/mypassport
This mounts my NFS drive, however sometimes it disconnects and I am not able to remount again. I have to restart my machine and keep trying till it doesn't disconnect.
When I ls
into /Volumes
I get following error:
$ ls
ls: mypassport: Device not configured
Macintosh HD
Whats the issue here? Why it keeps unmounting or gets disconnected? And how do I remount without restarting?
syslog | grep -i nfs
. I don't know what you are running as your host, but you can try the same command there. If you see anything, rerun the command and append| pbcopy
to the command so it outputs to your clipboard for pasting heredmesg
. Here is the log from my laptop - link and here is the link to that of Pi - link