boot from ZFS: which pool types use?

Dmitry Morozovsky marck at rinet.ru
Thu Jul 4 15:50:03 UTC 2013


On Thu, 4 Jul 2013, Andriy Gapon wrote:

> on 04/07/2013 15:43 Dmitry Morozovsky said the following:
> > it was/is (and, as I previously stated, is the only ZFS dataset on the 
> > machine), but unfortunately without explicit setting bootfs property does not 
> > work :(
> 
> This is some confusing wording.  We talk about _pools_ on a machine and we talk
> about _datasets_ in a pool.  So I am not 100% sure what you mean.  Whether you
> have a single pool, or whether you have a single dataset/filesystem in a pool,
> or both.
> 
> Hint: output of commands is usually better than a bunch of free-form text :)

Ah, I see the point, and the root dataset of the pool is *not* the root in my 
case:

root at briareus:/usr/src# zfs list
NAME                       USED  AVAIL  REFER  MOUNTPOINT
br                        13.3G  1.05T    31K  legacy
br/R                      13.3G  1.05T   389M  /
br/R/db                   8.30G  1.05T  8.30G  /db
br/R/usr                  4.51G  1.05T  3.44G  /usr
br/R/usr/local             363M  1.05T   363M  /usr/local
br/R/usr/ports             416M  1.05T   302M  /usr/ports
br/R/usr/ports/distfiles   113M  1.05T   113M  /usr/ports/distfiles
br/R/usr/src               317M  1.05T   317M  /usr/src
br/R/var                   122M  1.05T   122M  /var
root at briareus:/usr/src# zpool get bootfs
NAME  PROPERTY  VALUE   SOURCE
br    bootfs    br/R    local

/R is to have single mountpoint and possibility to have other root datasets to 
use as non-mounted (iSCSI volumes, etc)

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list