linux mount错误rpc.statd is not running but is required for remote locking

2020-04-20 14:19:50 | 编辑

1.异常现象

linux 使用mount挂载远程磁盘共享目录,命令出现下面错误

#mount 192.120.122.10:ifs/data/backup /root/backup
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

 

2.解决方法

添加nolock参数

#mount -o nolock -t nfs 192.120.122.10:ifs/data/backup /root/backup

 

登录后即可回复 登录 | 注册
    
关注编程学问公众号