# vim /etc/exports
/var/tmp *(ro,sync)
# /etc/init.d/nfs-kernel-server stop
# rpcbind
# /etc/init.d/nfs-kernel-server start
NFS client (ip 10.1.1.18)
# showmount -e
# mount 10.1.1.16:/var/tmp /mnt/nfsdisk
or # mount -o nolock 10.1.1.16:/var/tmp /mnt/nfsdisk
Troubleshooting:
Error message: mount.nfs: rpc.statd is not running but is required for remote locking.
Try this
Error message: clnt_create: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused)
Try this
Error message: clnt_create: RPC: Program not registered
Try this
Unknow
# exportfs -a ==> reload exports setting.
沒有留言:
張貼留言