Rötti Posted October 3, 2021 Share Posted October 3, 2021 Hello, I just installed Armbian on my SBC based on Ubuntu 20.04.3 LTS (Focal Fossa). > cat /etc/os-release NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" PRETTY_NAME="Armbian 21.08.2 Focal" VERSION_ID="20.04" VERSION_CODENAME=focal UBUNTU_CODENAME=focal Installed NFSD server via apt-get install nfs-kernel-server and checked which version of NFS is supported: > cat /proc/fs/nfsd/versions -2 +3 > rpcinfo -u localhost nfs program 100003 version 3 ready and waiting Indicating NFSD is not supporting v4. That might be because of: > zcat /proc/config.gz | grep NFS # CONFIG_USB_FUNCTIONFS is not set CONFIG_XENFS=m CONFIG_XEN_COMPAT_XENFS=y CONFIG_KERNFS=y CONFIG_NFS_FS=m CONFIG_NFS_V2=m CONFIG_NFS_V3=m CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=m # CONFIG_NFS_SWAP is not set # CONFIG_NFS_V4_1 is not set # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_KERNEL_DNS=y CONFIG_NFS_DISABLE_UDP_SUPPORT=y CONFIG_NFSD=y CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set # CONFIG_NFSD_V4 is not set CONFIG_NFS_ACL_SUPPORT=m CONFIG_NFS_COMMON=y Question: Why is CONFIG_NFSD_V4 is not set by default? 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted October 4, 2021 Share Posted October 4, 2021 Probably no specific reason. Send PR to enable it across all configs. 0 Quote Link to comment Share on other sites More sharing options...
Rötti Posted October 4, 2021 Author Share Posted October 4, 2021 Ok, will do. One question on that: In which config? - /config/kernel/linux-mvebu64-current.config - /config/kernel/linux-mvebu64-edge.config In legacy it's already enabled... 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted October 4, 2021 Share Posted October 4, 2021 Ideally in all configs across all board families to reduce fragmentation. 0 Quote Link to comment Share on other sites More sharing options...
Rötti Posted January 2, 2022 Author Share Posted January 2, 2022 Hi @Werner now over the holidays I've found some spare time to do the testing. The work is done and NFSD v4 is now included on all configs across all boards. I tested it and it worked: root@espressobin:~# rpcinfo -p localhost | grep nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100003 3 udp 2049 nfs Be aware that I could only test it on my EspressoBin board, so I can't make any promises for all other boards. Because of the fact that I'm avoiding Micro$oft products at all costs I don't own a Github account and don't intend in doing so. So I asked my Rakudo (Perl6) friends and one of them created the branch: https://github.com/patrickbkr/build/tree/unify-nfs-config That means that you'll receive a pull request on my behalf today evening. Happy new year 2022! 0 Quote Link to comment Share on other sites More sharing options...
Rötti Posted January 3, 2022 Author Share Posted January 3, 2022 To whom it may concern. Here is the link to the pull request: https://github.com/armbian/build/pull/3376 This is hopefully going to solve a lot of problems for all the SBC-users trying to get their NFSv3 stuff mounted on NextCloud. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.