I restored nfs-utils 1.x in the jammy client, and tried to mount again. It still fails. I don't think this is an nfs-utils problem:
ubuntu@j-nfs-dep8:~$ dpkg -l|grep nfs ii libnfsidmap2:amd64 0.25-6build1 amd64 NFS idmapping library ii nfs-common 1:1.3.4-6ubuntu1 amd64 NFS support files common to client and server ubuntu@j-nfs-dep8:~$ sudo -i root@j-nfs-dep8:~# mount f1:/storage /mnt -o udp -v mount.nfs: timeout set for Tue Mar 8 17:54:59 2022 mount.nfs: trying text-based options 'udp,vers=4.2,addr=192.168.122.197,clientaddr=192.168.122.61' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'udp,vers=4.1,addr=192.168.122.197,clientaddr=192.168.122.61' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'udp,vers=4.0,addr=192.168.122.197,clientaddr=192.168.122.61' mount.nfs: mount(2): Invalid argument mount.nfs: trying text-based options 'udp,addr=192.168.122.197' mount.nfs: prog 100003, trying vers=3, prot=17 mount.nfs: trying 192.168.122.197 prog 100003 vers 3 prot UDP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.122.197 prog 100005 vers 3 prot UDP port 51873 mount.nfs: mount(2): Invalid argument mount.nfs: an incorrect mount option was specified ** Package changed: nfs-utils (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1964093 Title: nfsver=3,udp not working anymore Status in linux package in Ubuntu: Confirmed Bug description: Package: nfs-kernel-server Architecture: amd64 Version: 1:2.6.1-1~exp1ubuntu1 nfsversion 3 with proto udp seems not to be supported by the nfs- kernel-server anymore. In Ubuntu 18.04 (nfs-kernel-server 1:1.3.4-2.1ubuntu5) it was still possible. I could mount with either tcp or udp: 1. tcp mount -o nfsvers=3 192.168.0.1:/srv/nfs/testshare /mnt mount|grep mnt: 192.168.0.1:/srv/nfs/testshare on /mnt type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.1,mountvers=3,mountport=59808,mountproto=udp,local_lock=none,addr=192.168.0.1) 2. udp mount -o nfsvers=3,udp 192.168.0.1:/srv/nfs/testshare /mnt mount|grep mnt: 192.168.0.1:/srv/nfs/testshare on /mnt type nfs (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=udp,timeo=11,retrans=3,sec=sys,mountaddr=192.168.0.1,mountvers=3,mountport=59808,mountproto=udp,local_lock=none,addr=192.168.0.1) Now in Ubuntu 22.04 I get the message: mount.nfs: an incorrect mount option was specified I tried to enable upd in /etc/nfs.conf in section [nfsd]: [nfsd] # debug=0 # threads=8 # host= # port=0 # grace-time=90 # lease-time=90 # udp=n udp=y # tcp=y # vers2=n # vers3=y But there was no effect. nfs3 with udp is needed by several busybox mount binaries in initrds of Knoppix and other live distributions used via PXE boot. Best regards Jörg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1964093/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp