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 <confabul...@kintzios.com> 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.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to