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 903D71581F3 for ; Mon, 2 Dec 2024 17:56:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50AE0E081E; Mon, 2 Dec 2024 17:56:46 +0000 (UTC) Received: from sienna.cherry.relay.mailchannels.net (sienna.cherry.relay.mailchannels.net [23.83.223.165]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 6A838E07FA for ; Mon, 2 Dec 2024 17:56:45 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5BE2D8C0878 for ; Mon, 2 Dec 2024 17:56:42 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1733162201; a=rsa-sha256; cv=none; b=53pkTK4YzJNGTe9im0gUJJoPRATO0t+bfCXZrb3s5rj0ksyEdrogbKrYwvmQomnLnnMogt fsQaOKkByo75oWmWR3AyM56zt4aluHvbrRbtOkqQIQMPvmIAOcofUJTMZB6WlORlyT4SrC hXuPkDDNfRXvNPKhF1ngBQBCdPoIXo8JJWc9Tce8O112kYIf1UCfZBT3DcxzSkiAV2mHPL cj70p0SyaxCnkKrR2yzcF/onsU5VW5/H0wUoLMJOQKoeqNRMEjof+zcaThHarwcAwHGIeg sJbXB0Q1YgDcBAlhb2IESNAOxNJKDvEhexSmEK5u1uTwba0upDas5p6mwH5c/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1733162201; h=from:from:reply-to: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=J/rncgh1hj/914LVGsoLV22ZGqyWuUCgIx7GgEKA2Lo=; b=BltJBBZMVcZ/U4H4aO8ZKd/kqNWmRyUBoPQSqyY92STuzikoOZH4K+7g5LDAuAZul24O8U 86X3Q2ViMNcdukC2SRp4cdDNyo2gFwRcu+KKQrrwa3mcHY/pm65VKwzwS5CPdepE8d4vAA axjOyM4QUapMip+iDjJEqpOdf6LUspIwgDp3Q5bTMRy2uLviRQBS6gBsFZ6cfuNePmlB9R ly/MUpyvDLBXMR7m274mi7JZv6Nw2WVfnrv72J1vqiJwwcBKarudmc0Tk2bmASelBicOyN tqqyVqC0gltamnRAkvF1aigS3k3mqdXMhFNL3J2jCovu1yTHy9FLo0ZwNd5a0A== ARC-Authentication-Results: i=1; rspamd-fc7fd4597-8l6dc; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Wipe-Print: 4347d595075a8ea9_1733162202108_3700382053 X-MC-Loop-Signature: 1733162202108:1473054790 X-MC-Ingress-Time: 1733162202108 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.121.84.212 (trex/7.0.2); Mon, 02 Dec 2024 17:56:42 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id B71291E0003 for ; Mon, 2 Dec 2024 17:56:39 +0000 (GMT) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NFS mounting - SOLVED Date: Mon, 02 Dec 2024 17:56:38 +0000 Message-ID: <10573703.nUPlyArG6x@rogueboard> In-Reply-To: <1910258.tdWV9SEqCh@cube> References: <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-Type: multipart/signed; boundary="nextPart2292134.iZASKD2KPV"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <173316219903.3652762.9312829306842882127@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Spamd-Result: default: False [-1.51 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_HAS_DN(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; R_DKIM_NA(0.00)[]; NEURAL_HAM(-0.00)[-0.999]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Queue-Id: B71291E0003 X-Rspamd-Action: no action X-Rspamd-Server: mailclean11 X-Archives-Salt: eb39df3d-8b70-46f7-81d1-6ae04c35b8be X-Archives-Hash: 02f398a84c8ccdfeb1b507e3f484d09d --nextPart2292134.iZASKD2KPV Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] NFS mounting - SOLVED Date: Mon, 02 Dec 2024 17:56:38 +0000 Message-ID: <10573703.nUPlyArG6x@rogueboard> In-Reply-To: <1910258.tdWV9SEqCh@cube> References: <1910258.tdWV9SEqCh@cube> MIME-Version: 1.0 On Tuesday 26 November 2024 16:13:01 GMT Peter Humphrey wrote: > 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. Can you please share the link? > # 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. 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. --nextPart2292134.iZASKD2KPV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmdN9NYACgkQseqq9sKV ZxlRgA/+O/kSc2Aj1oikVnb2fqXjaDjKEj8NfPAxMdKVtWYb0SCNYd6MCfo3mByd XXkQwecos1ZVk8XsJm4gLYM3M8jV3Ime9M+Gg6FmQEO1Qhfl69S40yvUw1qeJ08p 566K4okp4xBslpVVHgK0BW8yQvwchzEPiiBjhUm8uN7ofuQufadz9rSWlQZ/oiaM xECfG3y0u+EDdEkcqkxfnXNfBVrTXJH/+ze7lGkmbBXHqevxmplEDHCrd6ej3zyH 1aSR9IVbKDTfPi/w2ONpTtp1eumSQUuCa8UblckyhGqJhX2/xLSus0I2T+t4KAtq /KtMGeEaqKi4n9DUgO7IiIRTB5OTvr3002/zAhgF3+k6NXn77knND2ew+49E0HkM qVy5dQCIXz6JXiT5TIFzmpjsGxwmeKjt/lx+e4oXtaaOjwcgb4+47jqKwaM/O5AB s96x40vgCi4SAHD7J713VLUEx0OGcT/OzMezqGRhfs7JGzMwxWrJdnlV+s+LUCb7 gmqb4lqKS42aw0o2TCG3xKc+uTJIZ+DCCOTSCSU78BgzcMEtWkPVHVW51fHL/gRP UZg6/luuUpwwA+Gt4wrh9gBunldHdHOHW8IVq23Gg8Y94Es894PIQkJMpzkBRhyn N16Lbd527Fw4opMwvjhUAe84CzzvXUYHwipw+TWjmkdW0EpNfFY= =mAZa -----END PGP SIGNATURE----- --nextPart2292134.iZASKD2KPV--