在Ubuntu 10中,NFS挂载失败,但不与-v

(1) mount -t nfs remotehost:/remotedir localmountpoint -o owner,rw (2) mount -v -t nfs remotehost:/remotedir localmountpoint -o owner,rw 

(1)与Ubuntu 9一起使用,现在与Ubuntu 10(2.6.32-21-通用内核)失败,出现错误:

 mount.nfs: an incorrect mount option was specified 

奇怪的是,在(2)中加上-v(verbose)会使问题消失。

这对我来说目前是一个阻碍因素,因为fstab行:

 remotehost:/remotedir localmountpoint nfs owner,rw 0 0 

导致相同的错误(我不相信我可以在fstab中指定详细)。

这是一个挂载错误,或者我的选项真的不正确?

两个盒子之间的NFS版本是一样的吗? 我会认为Ubuntu 10会将默认值更改为nfsv4。 也许尝试在fstab条目中指定nfs3,假设其他节点正在使用nfs3。

指定proto = udp似乎解决了这个问题:

 (command line) mount -t nfs remotehost:/remotedir localmountpoint -o owner,rw,proto=udp (fstab) remotehost:/remotedir localmountpoint nfs owner,rw,proto=udp  0 0