本文转载至:http://www.cnblogs.com/zhangsf/p/3190962.html
5 .使用mount命令挂栽共享资源
mount -t nfs -o nolock 192.168.0.1:/home/hellolinux/nfs /mnt/nfs
出现的问题与解决方法:
[root@FORLINX6410]# mount -t nfs 192.168.0.1:/home/hellolinux/rootfs /mnt/nfs
svc: failed to register lockdv1 RPC service (errno 111).
mount: mounting 192.168.0.1:/home/hellolinux/rootfs on /mnt/nfs failed: Connection refused
解决方案:
nfs mount 默认选项包括文件锁,依赖于portmap提供的动态端口分配功能。
解决方法:kill 文件锁(lockd)或者mount -o nolock