1 |
On Sun, Feb 1, 2015 at 4:18 PM, walt <w41ter@×××××.com> wrote: |
2 |
> |
3 |
> Everybody's favoritest cuddly FOSS personality Theo de Raadt is quoted in |
4 |
> Wikipedia as saying: "NFS4 is not on our roadmap. It's a horribly bloated |
5 |
> protocol that they keep adding crap to." |
6 |
> |
7 |
> The latest nfs-utils package demonstrates why he's annoyed with NFS4: |
8 |
> |
9 |
> This morning I got this when mounting an nfs share that's been working for |
10 |
> many months: |
11 |
> |
12 |
> #mount.nfs -v a6:/usr/portage /usr/portage/ |
13 |
> mount.nfs: timeout set for Sun Feb 1 13:09:39 2015 |
14 |
> mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.84,clientaddr=192.168.1.84' |
15 |
> mount.nfs: mount(2): Invalid argument |
16 |
> mount.nfs: an incorrect mount option was specified |
17 |
> |
18 |
> Note the "vers=4.2", which is brand new behavior. My kernel doesn't have |
19 |
> any config option for nfs-4.2 because I've never enabled nfs-4.1 and the |
20 |
> 4.2 option is invisible in menuconfig without it. Who knew? |
21 |
> |
22 |
> So, you either need to enable nfs-4.1 *and* nfs-4.2 in your kernel, or start |
23 |
> using the nfsvers=4 mount option in fstab. |
24 |
> |
25 |
> Anyone got an opinion on the need for nfs-4.2? Is it better, or just newer? |
26 |
> I was happy with nfs3 until it stopped working for reasons I still don't |
27 |
> understand :( |
28 |
|
29 |
I've been setting "-o nfsvers=<vers>" systematically ever since nfsv4 |
30 |
was released... :( |
31 |
|
32 |
You can use "/etc/nfsmount.conf" to control the behavior of mount.nfs{,4}. |
33 |
|
34 |
Do you have "net-fs/nfs-utils nfsv41" in package.use? In the eix |
35 |
output below, nfs-utils is compiled with "-nfsv41" by default: |
36 |
|
37 |
# eix nfs-utils |
38 |
[I] net-fs/nfs-utils |
39 |
Available versions: 1.2.9-r3^t ~1.3.0-r1^t 1.3.1-r1^t |
40 |
~1.3.2-r1^t {caps ipv6 kerberos +libmount nfsdcld +nfsidmap +nfsv4 |
41 |
nfsv41 selinux tcpd +uuid} |
42 |
Installed versions: 1.3.1-r1^t(10:47:45 AM 01/27/2015)(libmount |
43 |
nfsidmap nfsv4 uuid -caps -ipv6 -kerberos -nfsdcld -nfsv41 -selinux |
44 |
-tcpd) |
45 |
Homepage: http://linux-nfs.org/ |
46 |
Description: NFS client and server daemons |
47 |
|
48 |
Should mount.nfs4 try an nfs4.1 mount if nfs-utils is compiled with |
49 |
"-nfsv41"? Or is the use flag intended for rpc.nfsd only? |