Dualboot and ZFS
Victor Sudakov
vas at mpeks.tomsk.su
Tue Jan 16 16:52:15 UTC 2018
Marko Turk wrote:
> > >
> > > > zroot/usr is not below zroot/ROOT/some_test_be, but somehow it's
> > > > there in the BE. Can you please explain this?
> > >
> > > Hi,
> > >
> > > that's because zroot/usr is not mounted (check 'zfs get all zroot/usr').
> >
> > Yes, I know it's not mounted (canmount=off), but it's not a child
> > dataset of zroot/ROOT/some_test_be, and yet it's somehow within
> > zroot/ROOT/some_test_be when the BE was cloned by beadm.
>
> Hi,
>
> since zroot/usr is not mounted, path /usr/bin/* in the filesystem
> belongs to dataset zroot/ROOT/some_test_be
But why is that? This must be witchcraft :-)
Why does it not belong to dataset "zroot", or dataset
"zroot/ROOT/some_other_great_be"?
Is it because zroot/ROOT/some_test_be is mounted on / ?
> so that's why the files are
> there.
>
> E.g.:
> $ df -h /usr/bin/
> Filesystem Size Used Avail Capacity Mounted on
> zroot/ROOT/default 504G 19G 485G 4% /
>
Very demonstrative, thank you, but what makes "zroot/ROOT/default" and
not any other dataset the container for the files in /usr/bin/ ?
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
AS43859
More information about the freebsd-questions
mailing list