Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Why is NFS v4 not activated by default on Armbian?

Featured Replies

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?

  • Author

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...

  • Author

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!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.