From owner-freebsd-fs@freebsd.org Thu May 13 21:46:09 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C26FA6301DB for ; Thu, 13 May 2021 21:46:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fh4wd56b1z3vVQ; Thu, 13 May 2021 21:46:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 842C7D6D6; Thu, 13 May 2021 21:46:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.134.16] (unknown [94.19.224.8]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id F09794974; Fri, 14 May 2021 00:46:07 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: =?UTF-8?Q?Re=3a_autofs_+_default_/net_map_+_NFS4_=e2=80=94_how_to?= =?UTF-8?Q?=3f?= To: Rick Macklem , freebsd-fs References: <36080caf-4aa1-d262-cb93-9df9b72f884d@FreeBSD.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: <161f2cd2-2edd-0a73-836c-bfbc3e0490e6@FreeBSD.org> Date: Fri, 14 May 2021 00:46:07 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2021 21:46:09 -0000 On 14.05.2021 0:10, Rick Macklem wrote: > lev wrote: > [stuff snipped] >> I could mount "blob:/home" or "blob:/ports" with mount -t nfs like this: >> >> # mount -t nfs -o nfsv4,tcp blob:/home /mnt > Oh, and you might want to consider using "minorversion=1" (or even 2 > if/when you are running FreeBSD13 or later). > NFSv4.1 (and 4.2) are much better protocols than NFSv4.0 and the > implementations should now be pretty solid, so long as you avoid > enabling delegations (off by default). Could it be done on server-side? I don't want to touch all clients. Like "Prefer 4.2, but allow 4.0 too"? > - NFSv4.1 was a minor revision in name only. The RFC is only 500+ pages long. "only"! :) -- // Lev Serebryakov