[Bug 2056549] Re: Problems with nfs-common after upgrade to 3.6

Matthew Ruffell 2056549 at bugs.launchpad.net
Mon Mar 11 23:32:27 UTC 2024


Hi Rainer,

Thanks for the screenshots.

The updated package changes how the '-o vers=4' parameter works. The old
/ wrong behaviour would always use nfs v4.0 no matter what. All other
nfs-common versions apart from the version in focal would try v4.2, then
if that didn't work, then v4.1, and then v4.0, and then eventually v3.0,
in a laddering fashion.

You can see in your second screenshot that:

$ mount -vvv -o vers=4 /srv/www/nextcloud/data
...,vers=4.2,...

See, it now tries v4.2 by default? I guess your QNAP appliance is not
replying to v4.2 version negotiation correctly. It is suppose to ladder
down to 4.1 and then 4.0, but maybe the QNAP server doesn't reply
correctly and nfs-common just waits.

Can you try each specific version and report back?

$ mount -vvv -o vers=4.2 /srv/www/nextcloud/data
// this should hang?

$ mount -vvv -o vers=4.1 /srv/www/nextcloud/data
// unknown.

$ mount -vvv -o vers=4.0 /srv/www/nextcloud/data
// this should work

As a workaround in the meantime, you can edit your /etc/fstab to set
nfsvers=4.0, and you should be restored to what it was before. Just add
a ".0" to the end of "nfsvers=4".

Do you happen to have access to the QNAP appliance to configure NFS
versions?

Thanks,
Matthew

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/2056549

Title:
  Problems with nfs-common after upgrade to 3.6

Status in nfs-utils package in Ubuntu:
  New
Status in nfs-utils source package in Focal:
  New

Bug description:
  Dear all,

  at the beginning of this week we got the update for our Ubuntu Server
  20.04.6 LTS of the nfs-common package => "nfs-common/focal-updates
  1:1.3.4-2.5ubuntu3.5" to "nfs-common/focal-updates
  1:1.3.4-2.5ubuntu3.6".

  After this update we cannot connect to the NFS server (on a QNAP
  TS-1232XU-RP - Firmware: 4.5.4.2374). That means if I enter "mount
  /my_nfs_path/" the command is running endless and nothing happens.

  WE installed the old version "nfs-common/focal-updates
  1:1.3.4-2.5ubuntu3.5" and now it works again. I thin k the package is
  buggy.

  
  Best regards

  Rainer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2056549/+subscriptions




More information about the foundations-bugs mailing list