Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jan 2022 07:42:39 +0100
From:      Alexander Leidinger via freebsd-current <freebsd-current@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: [RFC] Making mount_nfs to attempt NFSv4 before NFSv3 and NFSv2?
Message-ID:  <20220104074239.Horde.lTehmFlQWMv_N_QIcF1h1Wq@webmail.leidinger.net>
In-Reply-To: <YQXPR0101MB0968ECB48F192ABA86AF3DFFDD4A9@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>
References:  <dc6de81f-ce20-a772-18b6-d94a3aea97e1@delphij.net> <20220104090747.7767144800c564ca2cff43d5@dec.sakura.ne.jp> <YdO5Tj4CwX7fIKb8@kib.kiev.ua> <YQXPR0101MB0968ECB48F192ABA86AF3DFFDD4A9@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Rick Macklem <rmacklem@uoguelph.ca> (from Tue, 4 Jan 2022  
03:18:36 +0000):

> Konstantin Belousov wrote:
> [good stuff snipped]
>> The v4 NFS is very different from v3, it is not an upgrade, it is rather
>> a different network filesystem with some (significant) similarities to v3.
>>
>> That said, it should be fine changing the defaults, but you need to ensure
>> that reasonable scenarios, like the changed FreeBSD client mounting
>> from v3-only server, still work correctly.  The change should be made in a
>> way that only affects client that connects to the server that has both
>> v4 and v3.
> A particular test case that needs to be done is the diskless NFS root fs.
> This case must use NFSv3 and if it is not the default, it might break?
> I am not really set up to test this at this time.
> (There are assorted reasons that NFSv4 does not, or at least might not,
>  work for a diskless root fs, but that is a separate topic.)
>
> Other than testing diskless NFS root file systems, I do not have a
> strong opinion w.r.t. whether the default should change.
>
> If the default stays as NFSv3, a fallback to NFSv4 could be done, which
> would handle the NFSv4 only server case. (No one uses NFSv2 any more,
> so the fallback to NFSv2 is almost irrelevant, imho.)

As you particiate in interoperability tests, would it make sense to  
check how those other implementations handle this case? I naively  
assume you have some contacts or a mailinglist you could use for that.

Bye,
Alexander.


-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220104074239.Horde.lTehmFlQWMv_N_QIcF1h1Wq>