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,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".
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.
signature.asc
Description: This is a digitally signed message part.