mount.nfs: requested NFS version or transport protocol is not supported

37725阅读 1评论2012-04-09 wdove
分类:LINUX

此错误发生的一种解决办法:
更新文件 /etc/exports和/etc/hosts.allow,加入对应网段:
/etc/exports:
/rootfs *(rw,no_root_squash,sync,insecure)

/etc/hosts.allow:
portmap mountd nfsd statd lockd rquotad : 192.168.1.*, 192.168.2.*

其他的一些设置:
mount -t nfs  -o nfsvers=3 
mount -t nfs  -o nfsvers=2
上一篇:id -gn
下一篇:Creat new /tmp directory

文章评论