From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 94323158042 for ; Tue, 22 Oct 2024 12:00:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1602DE0871; Tue, 22 Oct 2024 12:00:17 +0000 (UTC) Received: from smarthost01a.ixn.mail.zen.net.uk (smarthost01a.ixn.mail.zen.net.uk [212.23.1.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C14B0E07F1 for ; Tue, 22 Oct 2024 12:00:16 +0000 (UTC) Received: from [82.69.80.10] (helo=cube.localnet) by smarthost01a.ixn.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1t3DYb-00Gvrv-2Z for gentoo-user@lists.gentoo.org; Tue, 22 Oct 2024 12:00:15 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NFS mounting Date: Tue, 22 Oct 2024 13:00:14 +0100 Message-ID: <2760373.mvXUDI8C0e@cube> In-Reply-To: <5829095.DvuYhMxLoT@rogueboard> References: <12539492.O9o76ZdvQC@cube> <12537376.O9o76ZdvQC@cube> <5829095.DvuYhMxLoT@rogueboard> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Originating-smarthost01a-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 39f98198-5f77-4924-96ec-1ea3ceed95a0 X-Archives-Hash: 96b5a5be60014b8fce5a8386be8ae01b On Tuesday 22 October 2024 10:14:48 BST Michael wrote: > On Tuesday 22 October 2024 02:10:45 BST Peter Humphrey wrote: > > On Monday 21 October 2024 09:22:37 BST Michael wrote: > > > Assuming all required directories are on the same fs, what happens if > > > you > > > *only* export the parent directory? Something like this: > > > > > > /mnt/nfs \ > > > 192.168.178.7/32(rw,sync,insecure,no_subtree_check,all_squash,anonuid=25 > > > 0, > > > an ongid=250) > > > > Actually, the converse turned out to be right. Removing the top-level > > /mnt/nfs spec from /etc/exports allowed the whole thing to spring into > > life. > > > > Go figure, as they say in the colonies. ;) > > I'm glad you 'figured' this, although puzzled by your solution. In my > experience I only needed to export one directory only as the top directory, > for each different partition. I followed the Gentoo NFS wiki page, which says "this article demonstrates a best-practice NFSv4 deployment using a virtual root". -- Regards, Peter.