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



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

Thanks
R.Parr, RHCE, Temporal Arts

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: mount.nfs fails stating incorrect mount option but succeeds if -v or with 8.04
    ... fails with message "mount.nfs: an incorrect mount option was specified" ... no type was given - I'll assume nfs because of the colon ... or fix this prevents any deployment of Ubuntu 10.04 for us. ...
    (Ubuntu)
  • Re: [kde] Why KDE4 is called KDE?
    ... My showstopper is the mounting policy. ... I can't mount the shares at boot, and I can't mount them later either ... Folderviews that work with NFS mounts are no problem whatsoever, ...
    (KDE)
  • Re: NFS mounts not largefiles by default?
    ... Casper H.S. Dik wrote: ... >>I think I've just learned the hard way that NFS mounts on the client ... I thought I had found the problem is that when I did a mount -v on ...
    (comp.unix.solaris)
  • Re: interactive stop on boot
    ... so that if the mount fails the boot will continue. ... Again, as mentioned, this will only work if the OS and your connection method are not dependant on the NFS mounts. ... Note line 6 that specifies the "-t=10,-b" options (to timeout the mount after 10 seconds and to background the nfs mount). ... If it doesn't then you would do well to use amd to handle the mount. ...
    (freebsd-questions)
  • Re: NFS occassionally gives "permission" denied in the middle of a large transfer
    ... >> mountd on any mount operation. ... Which implies that any manual mount ... >> request, including NFS mounts would, cause the problem. ...
    (freebsd-questions)