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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E977B1581F3 for ; Tue, 3 Dec 2024 11:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04675E0819; Tue, 3 Dec 2024 11:29:20 +0000 (UTC) Received: from smarthost01b.ixn.mail.zen.net.uk (smarthost01b.ixn.mail.zen.net.uk [212.23.1.21]) (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 DCE89E07E1 for ; Tue, 3 Dec 2024 11:29:17 +0000 (UTC) Received: from [82.69.80.10] (helo=cube.localnet) by smarthost01b.ixn.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tIR5e-007CA3-QF for gentoo-user@lists.gentoo.org; Tue, 03 Dec 2024 11:29:16 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NFS mounting - SOLVED Date: Tue, 03 Dec 2024 11:29:15 +0000 Message-ID: <2994796.e9J7NaK4W3@cube> In-Reply-To: <10573703.nUPlyArG6x@rogueboard> References: <1910258.tdWV9SEqCh@cube> <10573703.nUPlyArG6x@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-smarthost01b-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: dd441d49-2e2f-42c5-97a1-2128f07cd11e X-Archives-Hash: e6a5013753b7df813317c4863bd949ad On Monday 2 December 2024 17:56:38 Greenwich Mean Time Michael wrote: > On Tuesday 26 November 2024 16:13:01 GMT Peter Humphrey wrote: > > I've spent several days-worth of my time over the last few weeks in trying > > to get my i5 box to export its portage tree and packages directory to a > > chroot on my M9 machine. I read all the docs, I thought about the help > > that was offered here, I changed file systems and partitions around - > > everything I could think of. > > > > The answer was simple, and I stumbled over it in a post on Stack Exchange: > > the behaviour of NFS mount calls changed in NFS v4. I didn't need to > > change /etc/ exports on the i5, but the NFS-mount call on the M9 did need > > to change. > > Can you please share the link? Sorry Michael - it was at the end of infinitely many searches and I didn't make a note of it. I should have said: "in NFSv4 the client specifies the server path *relative* to the virtual root." > I had (another) look at the wiki. You're right, it seems to describe NFSv3 > only. I don't have NFSv3 here to compare. With NFSv4 you export the global > root directory to allow its subdirectories to be exported too - at least > this is how I understand it works on my systems. ...but today I see, buried in what you might call the small print: "If the NFS server or client support NFSv3 only, the full path to the exported directory (e.g. /export/home or /export/data) needs to be specified when mounting." [1] We could debate whether that's guidance enough. 1. https://wiki.gentoo.org/wiki/Nfs-utils#Mounting_exports , about a page down. -- Regards, Peter.