Problems connecting to NFS shared from MAC OSX

Status
Not open for further replies.

ovizii

Patron
Joined
Jun 30, 2014
Messages
435
When I set up the shares via the wizard, it all worked perfectly, I then rebooted and cannot connect anymore. SMB shares still work just fine. I'm running the latest freenas version as of right now. Do you really need my hardware specs for this question?

connecting via Finder and CMD+K just stalls and nothing happens.

Tried this on my MAC:
Code:
showmount -e
showmount: Cannot retrieve info from host: localhost: RPC failed:: RPC: Unable to send; errno = Bad file descriptor


From within the freeNAS system:
Code:
freenas# showmount -e
Exports list on localhost:
/mnt/fiver/tmp                     Everyone
/mnt/fiver/Series                  Everyone
/mnt/fiver/Music                   Everyone
/mnt/fiver/Movies                  Everyone


from a jail on the freeNAS system:
Code:
root@proxy:/ # showmount -e
RPC: Port mapper failure
showmount: can't do exports rpc


and on the freenas server I see:
Code:
May 19 13:44:03 freenas notifier: Stopping gssd.
May 19 13:44:03 freenas notifier: Stopping rpcbind.
May 19 13:44:04 freenas notifier: mountd not running? (check /var/run/mountd.pid).
May 19 13:44:04 freenas notifier: Starting gssd.
May 19 13:44:04 freenas notifier: Starting nfsuserd.
May 19 13:44:04 freenas notifier: Starting rpcbind.
May 19 13:44:04 freenas notifier: Starting mountd.
May 19 13:44:04 freenas notifier: Starting nfsd.
May 19 13:44:04 freenas nfsd: can't register svc name
May 19 13:44:04 freenas notifier: Starting statd.
May 19 13:44:04 freenas notifier: Starting lockd.


Any hints what else to check to resolve this?

The docs: http://doc.freenas.org/9.3/freenas_sharing.html#unix-nfs-shares say:
Code:
If you receive an error “RPC: Program not registered”, upgrade to the latest version of FreeNAS® and restart the NFS service after the upgrade in order to clear the NFS cache.
 
Last edited:

ovizii

Patron
Joined
Jun 30, 2014
Messages
435
After a few more reboots it seems to work.
showmount -e still doesn't show anything on my MAC but I can go to the finder use cmd+k and map any NFS share...
Code:
showmount -e
showmount: Cannot retrieve info from host: localhost: RPC failed:: RPC: Unable to send; errno = Bad file descriptor
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
showmount -e still doesn't show anything on my MAC but I can go to the finder use cmd+k and map any NFS share...
The proper command on your Mac would be showmount [nameofyourfreenasbox]. Without the host name it will give you the RPC error message because your Mac isn't hosting any NFS shares.
 

ovizii

Patron
Joined
Jun 30, 2014
Messages
435
thanks but still confused:
Code:
shiny:~ ovi$ showmount freenas
Hosts on freenas:
192.168.178.33

freenas is obviously my cleverly named NAS
shiny is my MACBook which has the IP 192.168.178.33 so what does this tell me now?

###edit###
adding the -e works better :smile:
Code:
shiny:~ ovi$ showmount -e freenas
Exports list on freenas:
/mnt/fiver/Movies                   Everyone
/mnt/fiver/Music                    Everyone
/mnt/fiver/Pictures                 Everyone
/mnt/fiver/Series                   Everyone
/mnt/fiver/tmp                      Everyone


Thanks for clarifying.
 
Status
Not open for further replies.
Top