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 CBA7B1581F3 for ; Tue, 26 Nov 2024 16:13:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A7CFE0841; Tue, 26 Nov 2024 16:13:04 +0000 (UTC) Received: from smarthost01b.sbp.mail.zen.net.uk (smarthost01b.sbp.mail.zen.net.uk [212.23.1.3]) (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 F1209E07F6 for ; Tue, 26 Nov 2024 16:13:02 +0000 (UTC) Received: from [82.69.80.10] (helo=cube.localnet) by smarthost01b.sbp.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tFyBK-004hdm-43 for gentoo-user@lists.gentoo.org; Tue, 26 Nov 2024 16:13:01 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] NFS mounting - SOLVED Date: Tue, 26 Nov 2024 16:13:01 +0000 Message-ID: <1910258.tdWV9SEqCh@cube> 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: 97f88843-1392-4516-bec4-622a97785283 X-Archives-Hash: 3a1cea80ab19905368fb638e3ee4e7fb Greetings, [New readers start here... :) ] 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. # cat /etc/exports # on the i5 /mnt/nfs \ 192.168.178.7(rw,sync,no_subtree_check,no_root_squash,crossmnt,fsid=0) /mnt/nfs/portage \ 192.168.178.7(rw,sync,insecure,no_subtree_check,no_root_squash) /mnt/nfs/packages \ 192.168.178.7(rw,sync,insecure,no_subtree_check,no_root_squash) $ grep nfs /etc/init.d/nuci # on the M9. Nuci is the I5 mount -t nfs 192.168.178.4:portage /mnt/nuci/var/db/repos/gentoo mount -t nfs 192.168.178.4:packages /mnt/nuci/var/cache/packages Notice the absence of '/mnt/nfs' from the M9 mount commands. That's what was tripping me up all that time. Someone needs to have a look at the nfs-utils wiki page. I'd do something myself, but how? I raised a bug against a document once, only to be rebuked. -- Regards, Peter.