Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [NOTE] New default behavior in latest nfs-utils (1.3.2-r1)
Date: Mon, 02 Feb 2015 08:38:05
Message-Id: 20150202083750.565760a4@digimed.co.uk
In Reply to: Re: [gentoo-user] Re: [NOTE] New default behavior in latest nfs-utils (1.3.2-r1) by wabenbau@gmail.com
1 On Mon, 2 Feb 2015 02:01:11 +0100, wabenbau@×××××.com wrote:
2
3 > > It's got nothing to do with the init system used. That message tells
4 > > you what to do to try to mount the NFS shares when you boot, but
5 > > unless you have suitable mount options or kernel config, that attempt
6 > > will fail.
7 >
8 > Maybe I don't exactly understand what you are trying to tell me because
9 > of my lousy English.
10 >
11 > Of course you also need the right mount options and kernel config. But
12 > since nfsmount doesn't exist anymore, the "rpc stuff" isn't started by
13 > the OpenRC init system until you add nfsclient to the right runlevel.
14 >
15 The problem is that the mount command fails g=however you run it, from
16 either init system or from a shell. It fails with "invalid mount options"
17 because it now defaults to NFS V4.2 even if it is not enabled in
18 the kernel. You need to either enable 4.2 or specifically set nfsver=4 to
19 work around this.
20
21
22 --
23 Neil Bothwick
24
25 "Unthinking respect for authority is the greatest enemy of truth."
26 (Albert Einstein)

Replies