You are viewing a read-only archive of the Blogs.Harvard network. Learn more.
Skip to content

NFS Clients can’t mount NFS server share issues…

One day I started having issues with my clients trying to mount or re-mount a NFS share. Here’s what it looked like:
On machine 1:
$ mount /shared
mount: RPC: Program not registered

On machine 2:
:~$ mount /shared
mount to NFS server ‘nfs’ failed: server is down.

I have something like /shared as a shared NFS directory.
After scritching my head I decided to google for both messages.
The first led me to here:
UbuntuForums on NFS Server issues
and here:
FreeBSD Diary on NFS Portmap

I found that the second link actually led me to my answer. If you reboot your NFS server. Sometimes the clients might not be able to see mount NFS partitions. Try restarting the NFS server process on your NFS server in order to fix it.
For Ubuntu/Debian it’s quite easy. Use nfs-kernel-server in /etc/init.d. Here is a sample log:

sudo /etc/init.d/nfs-kernel-server restart 
* Stopping rpc mountd...                                                [ ok ] 
* Stopping rpc nfsd...                                                  [ ok ] 
* Unexporting directories for NFS kernel daemon...                      [ ok ] 
* Exporting directories for NFS kernel daemon...                        [ ok ] 
* Starting rpc nfsd...                                                  [ ok ] 
* Starting rpc mountd...                                                [ ok ]

Be Sociable, Share!