`

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

 
阅读更多

此错误发生的一种解决办法:
更新文件 /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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics