您的位置:首页 > 大数据 > 人工智能

svc: failed to register lockdv1 RPC service (errno 111)解决和nfs配置

2015-02-10 14:17 288 查看


svc: failed to register lockdv1 RPC service (errno 111).
挂载时,用

mount -t nfs 192.168.1.105:/ /mnt/nfs

时出现

svc: failed to register lockdv1 RPC service (errno 111)

改为

mount -t nfs -o nolock 192.168.1.105:/ /mnt/nfs

就行了。

全部配置步骤:

1、进入配置文件,输下指令

#vi /etc/exports

2、进入后,设置为下面,设置好后保存退出

/ 文件名 192.168.1.*(rw,sync,no_root_squash) (有些是192.168.0.*)

3、启动服务

#service nfs restart

4、检查是否连通

#ping xxx.xxx.x.xxx (xxx.xxx.x.xxx为连接对象的IP地址)

5、若连通,到超级终端或dnw输入

#mount -t nfs -o nolock xxx.xxx.x.xxx:/共享文件名 /本地文件名

6、应该可以正常工作了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐