← Back to team overview

touch-packages team mailing list archive

[Bug 537746] Re: mount.nfs fails stating incorrect mount option but succeeds if -v option is used

 

Using "nfsvers=2" worked for me, but if you need =3, this seems like a
bug in util-linux.

** Changed in: util-linux (Ubuntu)
       Status: Invalid => Confirmed

** Also affects: util-linux (Ubuntu Vivid)
   Importance: Undecided
       Status: Confirmed

** Also affects: util-linux (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Also affects: util-linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: util-linux (Ubuntu Vivid)
       Status: Confirmed => New

** Changed in: util-linux (Ubuntu Trusty)
       Status: New => Confirmed

** Tags added: regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/537746

Title:
  mount.nfs fails stating incorrect mount option but succeeds if -v
  option is used

Status in util-linux package in Ubuntu:
  New
Status in util-linux source package in Trusty:
  Confirmed
Status in util-linux source package in Utopic:
  New
Status in util-linux source package in Vivid:
  New

Bug description:
  Binary package hint: mount

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/537746/+subscriptions