From nobody Tue Jan 4 06:42:39 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8D2721936DFC for ; Tue, 4 Jan 2022 06:42:56 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JSjjW3CFGz4m5F for ; Tue, 4 Jan 2022 06:42:55 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from outgoing.leidinger.net (p5b165022.dip0.t-ipconnect.de [91.22.80.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) client-signature ECDSA (P-256)) (Client CN "outgoing.leidinger.net", Issuer "R3" (verified OK)) by mailgate.Leidinger.net (Postfix) with ESMTPSA id 1C67A296E9 for ; Tue, 4 Jan 2022 07:42:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1641278565; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=d9MsxELQ/6VV7cLZdMvY10RtcZt8h3PO96DpPu3K5Tk=; b=o5EQNXk7RzyzB/pfhAlZLrqF6ARFepaUYTI2D4hPkf8relZiAvwiAmfDFBnmFUoxKZtluK G6xg0b59fSceNdUVf8hTD2laaDqg8fh2FB3cT5CoeSicHOOIBXnKo8FW5dj1/l6StcpZob A16slW/+PM2g90+q5fOUWhDI0JnUL+BR78PcG7ohNHwMmPTXgBEnYF2d/qGH/MPQizLq6T /Dhkh81ojSqBBkn3InG+iPxsooSavLiJYrUqFOoFTOdP81ua91LjljMPVBBWQMsBopk4sn FbIOzNVv2RQ3Soh49NCsuJ+/VupnoZAKazK5dmm14RIaEKcbYz6ic2IlO30LDQ== Received: from webmail.leidinger.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id 9AE2865F5 for ; Tue, 4 Jan 2022 07:42:39 +0100 (CET) Date: Tue, 04 Jan 2022 07:42:39 +0100 Message-ID: <20220104074239.Horde.lTehmFlQWMv_N_QIcF1h1Wq@webmail.leidinger.net> To: freebsd-current@freebsd.org Subject: Re: [RFC] Making mount_nfs to attempt NFSv4 before NFSv3 and NFSv2? References: <20220104090747.7767144800c564ca2cff43d5@dec.sakura.ne.jp> In-Reply-To: Accept-Language: de,en Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: 4JSjjW3CFGz4m5F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=o5EQNXk7; dmarc=pass (policy=quarantine) header.from=leidinger.net; spf=pass (mx1.freebsd.org: domain of Alexander@leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@leidinger.net X-Spamd-Result: default: False [-2.67 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; NEURAL_HAM_SHORT(-0.67)[-0.670]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[91.22.80.34:received] Reply-To: Alexander@leidinger.net From: Alexander Leidinger via freebsd-current X-Original-From: Alexander Leidinger X-ThisMailContainsUnwantedMimeParts: N Quoting Rick Macklem (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