LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Does Slackware 14.1 or Current have NFSv4 support? (https://www.linuxquestions.org/questions/slackware-14/does-slackware-14-1-or-current-have-nfsv4-support-4175550162/)

Altiris 08-07-2015 01:21 PM

Does Slackware 14.1 or Current have NFSv4 support?
 
Just wondering if either slackware 14.1 (I don't think 14.1 does) or current has full nfsv4 support.

gengisdave 08-07-2015 03:27 PM

All the versions you mentioned have nfs compiled statically (no module): huge/generic, x86/x86_64, 14.1/current

Altiris 08-07-2015 05:24 PM

Quote:

Originally Posted by gengisdave (Post 5402626)
All the versions you mentioned have nfs compiled statically (no module): huge/generic, x86/x86_64, 14.1/current

So its just missing the kernel module?

allend 08-07-2015 07:48 PM

From the nfs-utils.SlackBuild
Quote:

# No NFSv4 yet -- it requires additional libraries.
In Slackware-current
Code:

bash-4.3$ grep NFS /usr/src/linux/.config
CONFIG_KERNFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
CONFIG_NFS_SWAP=y
# CONFIG_NFS_V4_1 is not set
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
# CONFIG_NFSD_V4_SECURITY_LABEL is not set
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y

So NFSv4 support is compiled into the kernel, but not enabled in nfs-utils. This post summarises what is required. http://www.linuxquestions.org/questi...0/#post5123575

ivandi 08-07-2015 08:25 PM

On Slackware-current the default kernel supports NFSv4 but the user-space nfs-utils does not. To have a complete NFSv4 support in user-space you need:

krb5
keyutils
libgssglue
librpcsecgss
libnfsidmap
nfs-utils
nfs4-acl-tools

You can find all of them here. Take a look at the bottom of the README too. Without Kerberos there is no much (if any) difference between V3 and V4. So if you don't need the enhanced security of NFSv4 you can stay with NFSv3.

Cheers

allend 08-07-2015 08:32 PM

@ivandi - Thanks for the update.

gengisdave 08-08-2015 04:30 AM

ivandi you're right, I forgot I installed those libraries for userspace tools


All times are GMT -5. The time now is 06:25 PM.