[Bug 2049262] Re: Cannot successfully mount the directory through nfs4 on Ubuntu 20.04

Matthew Ruffell 2049262 at bugs.launchpad.net
Thu Jan 18 02:11:10 UTC 2024


** Also affects: nfs-utils (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: nfs-utils (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: nfs-utils (Ubuntu Focal)
       Status: New => In Progress

** Changed in: nfs-utils (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: nfs-utils (Ubuntu Focal)
     Assignee: (unassigned) => Matthew Ruffell (mruffell)

-- 
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/2049262

Title:
  Cannot successfully mount the directory through nfs4 on Ubuntu 20.04

Status in nfs-utils package in Ubuntu:
  Fix Released
Status in nfs-utils source package in Focal:
  In Progress

Bug description:
  we want to mount with nfs 4.1 on Ubuntu 20.04, but when we run the command:
  mount -o vers=4 -vvv x.x.x.x:/sam_test /mnt
  it will only try version 4, the following is the log:
  root at ubuntutest:~# mount -o vers=4 -vvv x.x.x.x:/sam_test /mnt
  mount.nfs: timeout set for Thu Dec 28 12:31:23 2023
  mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x'
  mount.nfs: mount(2): Protocol not supported
  mount.nfs: Protocol not supported
  The only way to make it work is to specify ver=4.1:
  root at ubuntutest:~# mount -o vers=4.1 -vvv x.x.x.x:/sam_test /mnt
  mount.nfs: timeout set for Thu Dec 28 12:31:33 2023
  mount.nfs: trying text-based options 'vers=4.1,addr=x.x.x.x,clientaddr=x.x.x.x' 
   
  Now we use nfs-common version 1:1.3.4-2.5ubuntu3.5. I think it is a bug of nfs-common package.
  Normally, as a comparison, in Redhat, if we set vers=4, it will try the latest nfs4 version 4.2, if it failed , it will try the older version until it works.
  [root at zhf1smg002 ~]# mount -o vers=4 -vvv x.x.x.x:/sam_test /mnt
  mount.nfs: timeout set for Thu Dec 28 04:37:38 2023
  mount.nfs: trying text-based options 'rsize=32768,wsize=32768,vers=4.2,addr=x.x.x.x,clientaddr=x.x.x.x'
  mount.nfs: mount(2): Protocol not supported
  mount.nfs: trying text-based options 'rsize=32768,wsize=32768,vers=4,minorversion=1,addr=x.x.x.x,clientaddr=x.x.x.x'
   
  affects Ubuntu 20.04 nfs4 mount
  affects nfs-common

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




More information about the foundations-bugs mailing list