If you encounter the following error “RPC Error: Program not registered” when you try to mount a NFS remote directory or the permissions are OK but root can’t write on the mounted folder, add the the following to /etc/export:






Server1 – where its “mounted”

# cat /etc/fstab | grep nfs
IPADDRESS2:/opt/programA/common/files    /srv/server2-share nfs rw,intr    0 0

Server2 – where its “shared”

# cat /etc/exports
/opt/programA/common/files IPADDRESS1/28(rw,insecure,sync,no_root_squash)

Ran the following on Server2

[email protected] [~]# /etc/init.d/nfs start