Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 23:52:06 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Marko Turk <markoml@markoturk.info>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dualboot and ZFS
Message-ID:  <20180116165206.GA23125@admin.sibptus.transneft.ru>
In-Reply-To: <20180116155719.GC21464@vps.markoturk.info>
References:  <20180115151526.GA66342@admin.sibptus.transneft.ru> <a7920f859b666cff48f4f73ee1b2f954@dweimer.net> <20180116034929.GB89443@admin.sibptus.transneft.ru> <alpine.BSF.2.21.1801160934560.69908@mail.fig.ol.no> <20180116112814.GA18197@admin.sibptus.transneft.ru> <367901b3-a413-01f2-ecaa-479668b4b232@FreeBSD.org> <20180116143559.GA21461@admin.sibptus.transneft.ru> <20180116144458.GB21464@vps.markoturk.info> <20180116155431.GA22546@admin.sibptus.transneft.ru> <20180116155719.GC21464@vps.markoturk.info>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180116165206.GA23125>