mount.nfs fails stating incorrect mount option but succeeds if -v or with 8.04

NoOp glgxg at sbcglobal.net
Fri Mar 12 20:38:59 UTC 2010


On 03/12/2010 11:12 AM, RParr wrote:
> Is anyone else having this kind of problem with NFS mounts in /etc/fstab 
> on Ubuntu Lucid A3?
> 
> with /etc/fstab containing;
> 
> n2:/db /db nfs auto,nfsvers=3 0 0
> 
> OR containing
> 
> n2:/db /db nfs auto 0 0
> 
> # mount /db
> 
> fails with message "mount.nfs: an incorrect mount option was specified"
> 
> # mount n2:/db /db
> 
> also fails with the same message
> 
> BUT the following succeeds despite the "Operation not supported" message
> 
> # mount n2:/db /db -v
> mount: no type was given - I'll assume nfs because of the colon
> mount.nfs: timeout set for Thu Mar 11 15:14:50 2010
> mount.nfs: text-based options: 'addr=63.227.222.65'
> mount.nfs: mount(2): Operation not supported
> mount.nfs: trying 63.227.222.65 prog 100003 vers 3 prot UDP port 2049
> mount.nfs: trying 63.227.222.65 prog 100005 vers 3 prot UDP port 32767
> mount.nfs: text-based options (retry): 
> 'addr=63.227.222.65,vers=3,proto=udp,mountvers=3,mountproto=udp,mountport=32767'
> n2:/db on /db type nfs (rw)
> 
> This system in question dual boots 10.04 and 8.04; under 8.04 ALL of the 
> above succeeds without error messages.
> 
> This error is preventing NFS mounts in /etc/fstab; without a workaround 
> or fix this prevents any deployment of Ubuntu 10.04 for us.
> 
> I filed a bug report but thought best to ask the list as well
> 
> https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/537746

Don't know about NFS, but 10.04 has considerable issues with SMB mounts:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/532024
[gvfsd-smb-brows uses 100% cpu after selecting Places-->Network]
https://bugzilla.gnome.org/show_bug.cgi?id=612202
[gvfsd-smb-brows uses 100% cpu after selecting Places-->Network]

Maybe the gvfs bugs are related?
<https://bugs.launchpad.net/ubuntu/+source/gvfs?field.searchtext=nfs&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=>

https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/500674
[gvfsd is maxing out the cpu on an nfs mount, have seen it max out cpu
on samba mounts too.]
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/435719
[gvfs-fuse fails to start on NFS mounted homes]





More information about the ubuntu-users mailing list