linux 挂载NFS报错解决

  1. 客户端linux开启了防火墙:

    挂载NAS 硬盘报错:

[root@HP1 ~]# mount 172.16.0.11:/share/MD0_DATA/MAIL_NAS/ /mnt/mailnas/
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

 

解决办法:

mount -o nolock -t nfs 172.16.0.11:/share/MD0_DATA/MAIL_NAS/ /mnt/mailnas

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。