[15:45] <Rusty_Almighty> Was NFS kernel server v2 removed entirly from the kernel?
[17:12] <juergh> Rusty_Almighty, no. which kernel?
[17:23] <juergh> c:~$ dpkg -S /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv3.ko.zst
[17:23] <juergh> linux-modules-6.5.0-5-generic: /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv3.ko.zst
[17:24] <juergh> same for v2
[17:24] <juergh> $ dpkg -S /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv2.ko.zst
[17:24] <juergh> linux-modules-6.5.0-5-generic: /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv2.ko.zst
[17:25] <juergh> oh hold on, those are the client moduels. doh.
[17:26] <juergh> Yes. CONFIG_NFSD_V2 is disabled because it's deprecated.
[17:27] <juergh>        help
[17:27] <juergh>           NFSv2 (RFC 1094) was the first publicly-released version of NFS.
[17:27] <juergh>           Unless you are hosting ancient (1990's era) NFS clients, you don't
[17:27] <juergh>           need this.
[17:53] <Rusty_Almighty> Most of the uboot stuff still uses NFSv2. They are upgrading, VERY SLOWLY, to NFS v3 and v4 but much of the hardware still uses UBOOT that was deployed in 2016. The Uboot firmware is always 4 years behind the times.
[17:54] <Rusty_Almighty> The kernel version that I'm using is: 5.15.0-1037-raspi
[17:55] <Rusty_Almighty> After much research and looking through the source code, the NFS v2 support is there, but it is disabled by default and enabling support for it is a bit archaic and undocumented.
[17:58] <Rusty_Almighty> Luckily, there was a bug reported in launchpad describing the issue in detail.  If you read the ticket to completion, down at the bottom it explains how to enable v2 support.
[17:58] <Rusty_Almighty> https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1973101
[17:58] -ubottu:#ubuntu-kernel- Launchpad bug 1973101 in nfs-utils (Ubuntu) "After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work" [Undecided, Opinion]
[18:05] <Rusty_Almighty> I don't think it would be wise to deprecate CONFIG_NFSD_V2 just yet.
[18:06] <Rusty_Almighty> Lot's of IOT and embedded devices still use v2 because of how light weight it is.
[18:06] <Rusty_Almighty> Not that I think they should.
[18:31] <joseogando> Wow 2016 UBoot? did they even had device trees, proper driver model, and so on back then?