Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2017 23:55:41 +0200
From:      Toomas Soome <tsoome@me.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        Baptiste Daroussin <bapt@FreeBSD.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: NFSv2 boot & OLD_NFSV2
Message-ID:  <1B7471CD-2F2D-4F22-9D25-E46580CF9E96@me.com>
In-Reply-To: <YTXPR01MB0189B266270E22DADF9A48EADD3A0@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM>
References:  <38DD1950-AD12-4A27-8335-54F997E408DF@me.com> <20170320192000.6hal22ibnr3ajog3@ivaldir.net> <YTXPR01MB0189B266270E22DADF9A48EADD3A0@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 20. m=C3=A4rts 2017, at 23:53, Rick Macklem <rmacklem@uoguelph.ca> =
wrote:
>=20
> Baptiste Daroussin wrote:
>> On Mon, Mar 20, 2017 at 08:22:12PM +0200, Toomas Soome wrote:
>>> Hi!
>>>=20
>>> The current boot code is building NFSv3, with preprocessor =
conditional OLD_NFSV2. Should NFSv2 code still be kept around or can we =
burn it?
>>>=20
>>> rgds,
>>> toomas
>>=20
>> I vote burn
>>=20
>> Bapt
> I would be happy to see NFSv2 go away. However, depending on how =
people configure
> their diskless root fs, they do end up using NFSv2 for their root fs.
>=20
> Does booting over NFSv3 affect this?
>=20
> I think the answer is no for a FreeBSD server (since the NFSv2 File =
Handle is the same as
> the NFSv3 one, except padded with 0 bytes to 32bytes long).
> However, there might be non-FreeBSD NFS servers where the NFSv2 file =
handle is different
> than the NFSv3 one and for that case, the user would need NFSv2 boot =
code (or
> reconfigure their root fs to use NFSv3).
>=20
> To be honest, I suspect few realize that they are using NFSv2 for =
their root fs.
> (They'd see it in a packet trace or via "nfsstat -m", but otherwise =
they probably
>  think they are using NFSv3 for their root fs.)
>=20
> rick

if they do not suspect, they most likely use v3 - due to simple fact =
that you have to rebuild loader to use NFSv2 - it is compile time =
option.

rgds,
toomas=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B7471CD-2F2D-4F22-9D25-E46580CF9E96>