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

你可能感兴趣的:(mount.nfs: requested NFS version or transport protocol is not supported)