FreeBSD Boot Environments

Dimitry Andric dim at FreeBSD.org
Wed May 20 21:10:16 UTC 2015


On 20 May 2015, at 20:26, Allan Jude <allanjude at freebsd.org> wrote:
> 
> On 2015-05-20 14:10, Slawa Olhovchenkov wrote:
...
> 
> The typical way (done by bsdinstall) is that your zroot/usr dataset, is
> set 'canmount=off', and only exists for you to create child datasets.
> 
> Any files written to /usr/bin etc, actually end up going to the
> ROOT/default dataset
> 
> you can tell by looking at 'zfs list' and your zroot/usr is only like
> 200kb, instead of 100s of megabytes. It also won't be listed in the
> output of 'mount'.

Just a minor note, the field to check is "refer", for example on one of
my systems:

$ zfs list zroot/usr
NAME        USED  AVAIL  REFER  MOUNTPOINT
zroot/usr  8.34G   404G    96K  /usr

E.g. all file systems *under* /usr together use 8.34G, but /usr itself
only refers to 96K.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150520/e557060f/attachment.sig>


More information about the freebsd-hackers mailing list