nfs挂载问题
指尖二进制 • 1 年前 • 764 次点击 • LINUX
挂载nfs:
[root@host-172-16-0-2 ~]# mount -t nfs 172.20.0.1:/sms /smsback/
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
按照提示进行操作
[root@host-172-16-0-2 ~]# mount -t nfs -o nolock 172.20.0.1:/sms /smsback/
mount.nfs: Operation not permitted
经查找网上有说用这种办法可以挂载成功,但是我还是挂载不上
[root@host-172-16-0-2 ~]# mount -o resvport 172.20.0.1:/sms /smsback/
最后经过不懈的努力,终于找到了问题,防火墙的问题
[root@host-172-16-0-2 ~]# /etc/init.d/iptables stop