Anyone having problems with NFSv4 in F35?

Yesterday I’ve downloaded a bunch of updates and after today boot I can no longer mount my NAS NFSv4 share. The mount command just sits there forever without throwing any error.

I’ve checked the list of upgraded packages, but nothing seems related, except for the kernel upgrade:

# dnf history info 206
ID transazione : 206
Ora inizio     : sab 26 feb 2022, 09:37:44
rpmdb iniziale : 3024:365449b5056da1d0f663a3a8b47ced76bc15d53e
Ora termine    : sab 26 feb 2022, 09:38:23 (39 secondi)
rpmdb finale   : 3024:694da90256f32062314c13d4da8c01a5348f9c9d
Utente         : root <root>
Codice di uscita    : Completato
Rilascio: 
Linea di comando   : 
Commento        : 
Pacchetti modificati:
    Installati kernel-5.16.10-200.fc35.x86_64                        @updates
    Installati kernel-core-5.16.10-200.fc35.x86_64                   @updates
    Installati kernel-modules-5.16.10-200.fc35.x86_64                @updates
    Installati kernel-modules-extra-5.16.10-200.fc35.x86_64          @updates
    Upgrade    bsdtar-3.5.3-1.fc35.x86_64                            @updates
    Upgrade    desktop-file-utils-0.26-5.fc35.x86_64                 @updates
    Upgrade    firefox-97.0.1-2.fc35.x86_64                          @updates
    Upgrade    firefox-wayland-97.0.1-2.fc35.x86_64                  @updates
    Upgrade    koji-1.28.0-1.fc35.noarch                             @updates
    Upgrade    libarchive-3.5.3-1.fc35.x86_64                        @updates
    Upgrade    libdrm-2.4.110-1.fc35.x86_64                          @updates
    Upgrade    libfprint-1.94.3-1.fc35.x86_64                        @updates
    Upgrade    libreport-2.15.2-7.fc35.x86_64                        @updates
    Upgrade    libreport-anaconda-2.15.2-7.fc35.x86_64               @updates
    Upgrade    libreport-cli-2.15.2-7.fc35.x86_64                    @updates
    Upgrade    libreport-fedora-2.15.2-7.fc35.x86_64                 @updates
    Upgrade    libreport-filesystem-2.15.2-7.fc35.noarch             @updates
    Upgrade    libreport-gtk-2.15.2-7.fc35.x86_64                    @updates
    Upgrade    libreport-plugin-bugzilla-2.15.2-7.fc35.x86_64        @updates
    Upgrade    libreport-plugin-kerneloops-2.15.2-7.fc35.x86_64      @updates
    Upgrade    libreport-plugin-logger-2.15.2-7.fc35.x86_64          @updates
    Upgrade    libreport-plugin-reportuploader-2.15.2-7.fc35.x86_64  @updates
    Upgrade    libreport-plugin-systemd-journal-2.15.2-7.fc35.x86_64 @updates
    Upgrade    libreport-plugin-ureport-2.15.2-7.fc35.x86_64         @updates
    Upgrade    libreport-web-2.15.2-7.fc35.x86_64                    @updates
    Upgrade    libxml2-2.9.13-1.fc35.x86_64                          @updates
    Upgrade    maliit-framework-2.2.0-1.fc35.x86_64                  @updates
    Upgrade    maliit-framework-qt5-2.2.0-1.fc35.x86_64              @updates
    Upgrade    maliit-keyboard-2.2.0-1.fc35.x86_64                   @updates
    Upgrade    mkvtoolnix-65.0.0-1.fc35.x86_64                       @updates
    Upgrade    mkvtoolnix-gui-65.0.0-1.fc35.x86_64                   @updates
    Upgrade    pyproject-rpm-macros-1.0.0~rc2-1.fc35.noarch          @updates
    Upgrade    python2.7-2.7.18-20.fc35.x86_64                       @updates
    Upgrade    python3-cffi-1.15.0-4.fc35.x86_64                     @updates
    Upgrade    python3-koji-1.28.0-1.fc35.noarch                     @updates
    Upgrade    python3-libreport-2.15.2-7.fc35.x86_64                @updates
    Upgrade    python3-libxml2-2.9.13-1.fc35.x86_64                  @updates
    Upgrade    python3-zstandard-0.17.0-1.fc35.x86_64                @updates
    Upgrade    vim-data-2:8.2.4428-1.fc35.noarch                     @updates
    Upgrade    vim-minimal-2:8.2.4428-1.fc35.x86_64                  @updates
    Upgraded   kernel-5.16.5-200.fc35.x86_64                         @@System
    Upgraded   kernel-core-5.16.5-200.fc35.x86_64                    @@System
    Upgraded   kernel-modules-5.16.5-200.fc35.x86_64                 @@System
    Upgraded   kernel-modules-extra-5.16.5-200.fc35.x86_64           @@System
    Upgraded   bsdtar-3.5.2-2.fc35.x86_64                            @@System
    Upgraded   desktop-file-utils-0.26-4.fc35.x86_64                 @@System
    Upgraded   firefox-97.0-1.fc35.x86_64                            @@System
    Upgraded   firefox-wayland-97.0-1.fc35.x86_64                    @@System
    Upgraded   koji-1.27.1-1.fc35.noarch                             @@System
    Upgraded   libarchive-3.5.2-2.fc35.x86_64                        @@System
    Upgraded   libdrm-2.4.109-1.fc35.x86_64                          @@System
    Upgraded   libfprint-1.94.2-1.fc35.x86_64                        @@System
    Upgraded   libreport-2.15.2-6.fc35.x86_64                        @@System
    Upgraded   libreport-anaconda-2.15.2-6.fc35.x86_64               @@System
    Upgraded   libreport-cli-2.15.2-6.fc35.x86_64                    @@System
    Upgraded   libreport-fedora-2.15.2-6.fc35.x86_64                 @@System
    Upgraded   libreport-filesystem-2.15.2-6.fc35.noarch             @@System
    Upgraded   libreport-gtk-2.15.2-6.fc35.x86_64                    @@System
    Upgraded   libreport-plugin-bugzilla-2.15.2-6.fc35.x86_64        @@System
    Upgraded   libreport-plugin-kerneloops-2.15.2-6.fc35.x86_64      @@System
    Upgraded   libreport-plugin-logger-2.15.2-6.fc35.x86_64          @@System
    Upgraded   libreport-plugin-reportuploader-2.15.2-6.fc35.x86_64  @@System
    Upgraded   libreport-plugin-systemd-journal-2.15.2-6.fc35.x86_64 @@System
    Upgraded   libreport-plugin-ureport-2.15.2-6.fc35.x86_64         @@System
    Upgraded   libreport-web-2.15.2-6.fc35.x86_64                    @@System
    Upgraded   libxml2-2.9.12-6.fc35.x86_64                          @@System
    Upgraded   maliit-framework-2.0.0-4.fc35.x86_64                  @@System
    Upgraded   maliit-framework-qt5-2.0.0-4.fc35.x86_64              @@System
    Upgraded   maliit-keyboard-2.0.0-3.fc35.x86_64                   @@System
    Upgraded   mkvtoolnix-64.0.0-1.fc35.x86_64                       @@System
    Upgraded   mkvtoolnix-gui-64.0.0-1.fc35.x86_64                   @@System
    Upgraded   pyproject-rpm-macros-1.0.0~rc1-1.fc35.noarch          @@System
    Upgraded   python2.7-2.7.18-15.fc35.x86_64                       @@System
    Upgraded   python3-cffi-1.14.6-2.fc35.x86_64                     @@System
    Upgraded   python3-koji-1.27.1-1.fc35.noarch                     @@System
    Upgraded   python3-libreport-2.15.2-6.fc35.x86_64                @@System
    Upgraded   python3-libxml2-2.9.12-6.fc35.x86_64                  @@System
    Upgraded   python3-zstandard-0.16.0-1.fc35.x86_64                @@System
    Upgraded   vim-data-2:8.2.4386-1.fc35.noarch                     @@System
    Upgraded   vim-minimal-2:8.2.4386-1.fc35.x86_64                  @@System

I’ve already tried booting in the older kernel without effect.
If I disable NFSv4 support on my NAS I get the protocol not supported error.
Nothing has changed/been upgraded onto the NAS and I tried to reboot it also.
The only solution I’ve found working is to force the mount command using the vers=3 option.

Now, is anyone else having problems with NFSv4 recently?

So, it seems there’s some problem with Kernel / NFSv4 and at least QNAP NASs:
https://bugzilla.redhat.com/show_bug.cgi?id=2055362

1 Like

Are you trying to mount the NAS through /etc/fstab? If so, what does your mount command look like?

I was using “vers=1.0” for the longest, then, at some point months ago that would no longer work. Has to switch t0 “vers=2.0”.

Hope my comments are relevant to your issue(s).

Yes, I mount though fstab, I used to have:
192.168.1.200:/Multimedia /mnt/multimedia nfs4 rw,x-systemd.automount,timeo=14

but I’ve also tried to use
nfs auto

I now switched to nfs auto, vers=3 while waiting for a fix, either Qnap or kernel side.

same problem, fedora 35 and qnap. Work around using “mount -o v3…”. And of course I enabled nfs3 on qnap. Let’s hope the bug will be fixed

These are all similar
https://discussion.fedoraproject.org/t/mount-command-freezes-when-mounting-nas-no-errors-in-term-r-logs/74788/2
https://discussion.fedoraproject.org/t/anyone-having-problems-with-nfsv4-in-f35/71936/5
https://discussion.fedoraproject.org/t/nfs-client-not-work-and-noerror/74886/3

If you are using fstab, adding vers=4.0 resolved the issue for me.
QNAP QTS 5.0.0.1932

You will find that in the link provided in the solution, just putting it here to save time.