Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [NOTE] New default behavior in latest nfs-utils (1.3.2-r1)
Date: Sun, 01 Feb 2015 21:18:53
Message-Id: mam573$aop$1@ger.gmane.org
1 Everybody's favoritest cuddly FOSS personality Theo de Raadt is quoted in
2 Wikipedia as saying: "NFS4 is not on our roadmap. It's a horribly bloated
3 protocol that they keep adding crap to."
4
5 The latest nfs-utils package demonstrates why he's annoyed with NFS4:
6
7 This morning I got this when mounting an nfs share that's been working for
8 many months:
9
10 #mount.nfs -v a6:/usr/portage /usr/portage/
11 mount.nfs: timeout set for Sun Feb 1 13:09:39 2015
12 mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.84,clientaddr=192.168.1.84'
13 mount.nfs: mount(2): Invalid argument
14 mount.nfs: an incorrect mount option was specified
15
16 Note the "vers=4.2", which is brand new behavior. My kernel doesn't have
17 any config option for nfs-4.2 because I've never enabled nfs-4.1 and the
18 4.2 option is invisible in menuconfig without it. Who knew?
19
20 So, you either need to enable nfs-4.1 *and* nfs-4.2 in your kernel, or start
21 using the nfsvers=4 mount option in fstab.
22
23 Anyone got an opinion on the need for nfs-4.2? Is it better, or just newer?
24 I was happy with nfs3 until it stopped working for reasons I still don't
25 understand :(

Replies