Solaris Troubleshooting NFS : error “NFS mount fails with RPC: Program not registered”
When trying to mount an NFS file system from an NFS server, the mount fails with the error message:
mount:<server>:/filesystem not responding: RPC: Program not registered
|
The rpc.mountd and nfsd daemons may not be running on the NFS server attempting the mount. Log in to the server that you are trying to mount from. Follow one of the two procedures below: You must edit the file /etc/dfs/dfstab in order to make files automatically export on a Solaris system. The standard syntax in that file is: share -F nfs partition For example, the following /etc/dfs/dfstab file is for a server that makes available the filesystems /usr, /var/spool/mail and /home: share -F nfs /usr share -F nfs /var/spool/mail share -F nfs /home You may add normal mount options to these lines, such as ro, rw and root. this is done by preceding the options with a -o flag. These options are fully described in the share man page. The following example shows our /etc/dfs/dfstab file, but this time with the filesystems all being exported read only: share -F nfs -o ro /usr share -F nfs -o ro /var/spool/mail share -F nfs -o ro /home If your machine is already exporting filesystems, and you are adding a new one, you should simply run the shareall command to make this new filesystem available: % shareall If you have never exported filesystems from this machine before, you need to run the nfs.server script: % /etc/init.d/nfs.server start |
(The NFS Server will come up fine on the next boot, now that an /etc/dfs/dfstab file exists)
When /etc/init.d/nfs.server starts two daemons mountd and nfsd are started to handle the client requests To verify that the server processes are running on a remote system and the server has share points already shared out
dfshares <nfsserver name>
or
showmount -e <nfsserver name>
3 Responses
rpc server is unavailable xp…
[…]unix administration @ gurkulindia.com » Solaris Troubleshooting NFS : error “NFS mount fails with RPC: Program not registeredâ€[…]…
[…] Read – error “NFS mount fails with RPC: Program not registered†[…]
[…] Read – error “NFS mount fails with RPC: Program not registered†[…]