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 D708C158042 for ; Tue, 22 Oct 2024 19:29:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6176EE08F3; Tue, 22 Oct 2024 19:29:21 +0000 (UTC) Received: from bumble.maple.relay.mailchannels.net (bumble.maple.relay.mailchannels.net [23.83.214.25]) (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 DD6F0E087F for ; Tue, 22 Oct 2024 19:29:20 +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 5E42E8C4AA5 for ; Tue, 22 Oct 2024 19:29:18 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1729625357; a=rsa-sha256; cv=none; b=RhY/3q/A0EWgXNExNWmsM0m1QipV5W4ZD7zT9dZOpI+A1+uAThj1DEZJlkfXycmSFLLX7c xtLaazLNV7Pv192UI0qqOO0nPJG6qwFRKzqDNIknTnO4qJ/raEp5fGw/6QfXh+YMjJbzJM YNHGc/Ld/AXQrgt9I4lpOvw3ZJ0tebybUVsSw7cmxLpTkX/xdf6JQDxXEQRMakjTQv/PMk aIPbD2TNT1FJv8RjLcUMhleP1wkqb/O6P2leJXqSuKA43bsHAWvk5nY91n6oftK5Aor4As 4AIFoC3ffwonpH6F9KL30g/PBjpIFeUxMOsZsLyCX9cCGHK5Z/WnVI6S3EeRdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1729625357; 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=U/3FGSkL2+28PpeytQP+gpD3vY1rjPgbUCSratOoeg8=; b=uE5WoP/LJHUczt8X+1cVGk3OLyjAoHYdR34XXdDIyZHp33umlhNihWJAzXCG0b7q6SHoFc SRL2YBQqWQ4J5dcIHboS4J32vuxBHKnlnEngGKVcDDn6adeEbYA535t4bOI8+tRP7lbSFx y50zVNQaMan4UZAqOVOeDzLIZGGufdbd/LZwH4cU+ePB7llYixnEKgRZWxaJ+pvp/HE3wV DHAJ8jcAUPupz8AOdeF4NGYVtXNjHTm0g2NZSbRpnQVfUPriBXr2tzkagQrGwIYq1AjPwb wX51qeWxTlo6F9T2ZJnjkXx7FgEqF+DW311vlNSJ1zll5BcAzBqG16fbcwzxKA== ARC-Authentication-Results: i=1; rspamd-5855df8995-vpzwk; 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-Decisive-Cure: 634ff1752a8a254f_1729625358006_1438319071 X-MC-Loop-Signature: 1729625358005:1148927968 X-MC-Ingress-Time: 1729625358005 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.175.122 (trex/7.0.2); Tue, 22 Oct 2024 19:29:18 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 499261E0002 for ; Tue, 22 Oct 2024 20:29:15 +0100 (BST) 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 Date: Tue, 22 Oct 2024 20:29:14 +0100 Message-ID: <3325383.44csPzL39Z@rogueboard> In-Reply-To: References: 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="nextPart8442761.T7Z3S40VBb"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172962535377.1603852.6585224938175770358@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 499261E0002 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.986]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: d5c26fd3-7f84-4b6f-ab3e-70ba203ddc69 X-Archives-Hash: c443795f7613d9ad7634690944c75db6 --nextPart8442761.T7Z3S40VBb 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 Date: Tue, 22 Oct 2024 20:29:14 +0100 Message-ID: <3325383.44csPzL39Z@rogueboard> In-Reply-To: References: MIME-Version: 1.0 On Tuesday 22 October 2024 18:01:55 BST Matt Jolly wrote: > It should not matter; the virtual root involves bind mounting directories > into a single location - that could be 4 different partitions, a bunch of > subvolumes, or some directories scattered across a single partition, or > some combination of those options. > > > Cheers, > > > Matt All good and fair, but then why Peter's reported error of duplicate exports? > On 22 Oct 2024 23:36, Michael wrote: > > On Tuesday 22 October 2024 13:00:14 BST Peter Humphrey wrote: > > 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,anonui > > > > > d= > > > > > 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". > > If you are referring to the NFS-utils wiki page: > > https://wiki.gentoo.org/wiki/Nfs-utils > > it provides an example of exporting two *different* partitions: > > Device Mount directory Description > /dev/sdb1 /home Filesystem containing user home > directories. /dev/sdc1 /data Filesystem containing user > data. --nextPart8442761.T7Z3S40VBb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmcX/QoACgkQseqq9sKV Zxn8eQ//Sg3wIb6WdPV6tQFDMLmps3sdINCSFiMDBQb0ak79/RX7qGcVv2Di0HdF gb6wvjuTsUO/BZZW4wK1+YtlqUYF6sJ7nFBCDy4adkCcRmF7cJKaFjRk7RzN55cO TkPQKB18MP71cIMOqsWdNzxW6fU9JccSQHWBXkZMwlh0EMjEJlAoCOhGfPPDW705 e4LvH77ijzNByfM64tF+Uql9qQN9n3ehig7vnPJX78oLaUwZvFklIzocm4xntpLr p3dhFXGj8V3N3RYa+/Mp488KoOcTTynttRfb0BmiddfvKKM8og2eA3+W5rYotcjY Yon0d4hqgCCDMb+WArYMpf/T2mmFOQ5w23gFwlAmZNd/+MGw45sKMcseqdVxK/gU 1gkZ8GLnitZY3ZvEig196D5ckC0n8fZkLuQX2vlQKrsK9ddfPTnn0pUQ7LKIAy8p Qv5AFnm/3o+Icir4UWpWrYRqI+p6mSYUewm8q0aOCfYhzjs8gmObDZ5Ntg5dIsH7 mL3tldMAEhEc2ZtbVkX5ZPDQ0yTlmjp17cdXL0x4/0xQGwiRK7KtUBl1n3weaJ6z NZS7a2a/uTftziLxOc6AxBTR6fjsGZj9bDXJU3ccEd7v3W762CV5jY/d/46boaak m/B5OfUZ3FP1SeKmWmkRaebHzMjt33lGLCR+JsMhFD/1zExg0m0= =OWk3 -----END PGP SIGNATURE----- --nextPart8442761.T7Z3S40VBb--