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.
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
On 22 Oct 2024 23:36, Michael <confabul...@kintzios.com> wrote:
- [gentoo-user] nfs mounting Peter Humphrey
- [gentoo-user] NFS mounting Peter Humphrey
- Re: [gentoo-user] NFS mounting Michael
- Re: [gentoo-user] NFS mounting Peter Humphrey
- Re: [gentoo-user] NFS mounting William Kenworthy
- Re: [gentoo-user] NFS mounting Michael
- Re: [gentoo-user] NFS mounting Peter Humphrey
- Re: [gentoo-user] NFS mounting Michael
- Re: [gentoo-user] NFS moun... Peter Humphrey
- Re: [gentoo-user] NFS moun... Michael
- Re: [gentoo-user] NFS moun... Matt Jolly
- Re: [gentoo-user] NFS moun... Michael
- Re: [gentoo-user] NFS moun... Peter Humphrey
- Re: [gentoo-user] NFS moun... Peter Humphrey
- Re: [gentoo-user] NFS moun... Arve Barsnes
- Re: [gentoo-user] NFS moun... Peter Humphrey
- Re: [gentoo-user] NFS mounting Jack Ostroff
- [gentoo-user] Re: NFS mounting Grant Edwards