svc: failed to register lockdv1 RPC service (errno 111)
2013-12-18 16:54
453 查看
/article/9600395.html
1.创建共享目录
#mkdir /home/hellolinux/nfs
2.创建或修改/etc/exports文件
#vi /etc/exports
home/hellolinux/nfs 192.168.0.*(rw,sync,no_root_squash)
3.NFS服务的启动与停止
#service nfs start
#service nfs stop
#service nfs restart
#servcie nfs status(服务状态)
4 在客户机上查看NFS的资源共享情况
# showmount -e 192.168.0.1
Export list for 192.168.0.1:
/home/hellolinux/nfs 192.168.0.*
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
相关解答链接:
1.http://bbs.chinaunix.net/thread-2001083-1-1.html
2./article/2459487.html
1.创建共享目录
#mkdir /home/hellolinux/nfs
2.创建或修改/etc/exports文件
#vi /etc/exports
home/hellolinux/nfs 192.168.0.*(rw,sync,no_root_squash)
3.NFS服务的启动与停止
#service nfs start
#service nfs stop
#service nfs restart
#servcie nfs status(服务状态)
4 在客户机上查看NFS的资源共享情况
# showmount -e 192.168.0.1
Export list for 192.168.0.1:
/home/hellolinux/nfs 192.168.0.*
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
相关解答链接:
1.http://bbs.chinaunix.net/thread-2001083-1-1.html
2./article/2459487.html
相关文章推荐
- svc:failed to register lockdv1 rpc service(errno 111)
- mount -t nfs 出现的问题 svc: failed to register lockdv1 RPC service (errno 111).
- NFS挂载中遇到的 svc: failed to register lockdv1 RPC service (errno 111).(connection refused)
- svc: failed to register lockdv1 RPC service (errno 111).
- svc: failed to register lockdv1 RPC service (errno 111).
- svc: failed to register lockdv1 RPC service (errno 111) 问题解决
- svc: failed to register lockdv1 RPC service (errno 111)解决和nfs配置
- NFS挂载的问题svc: failed to register lockdv1 RPC service
- NFS挂载的问题svc: failed to register lockdv1 RPC service
- 启动 NFS 守护进程:rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
- Linux下启动rpc时提示Cannot register service: RPC: Unableto receive; errno = Connectionrefused的问题
- 关于启动rpc时提示Cannot register service: RPC: Unable to receive; errno = Connection refused的问题
- NFS错误Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
- UNPV22 RPC运行server提示Cannot register service: RPC: Unable to receive; errno = Connection refused
- NFS服务启动:rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
- NFS错误Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
- NFS错误S 4000 tarting NFS quotas: Cannot register service: RPC: Unable to receive; errno=Connection refused
- Cannot register service: RPC: Unable to receive; errno = Connection refused
- Cannot register service: RPC: Unable to receive; errno = Connection refused
- mount 错误 “RPC: failed to contact local rpcbind server (errno 5)