Date: Thu, 04 Jul 2013 18:52:53 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-fs@FreeBSD.org Subject: Re: boot from ZFS: which pool types use? Message-ID: <51D59A55.1050807@FreeBSD.org> In-Reply-To: <alpine.BSF.2.00.1307041947320.2446@woozle.rinet.ru> References: <alpine.BSF.2.00.1307041424030.2446@woozle.rinet.ru> <51D56066.1020902@FreeBSD.org> <alpine.BSF.2.00.1307041552031.2446@woozle.rinet.ru> <alpine.BSF.2.00.1307041559160.2446@woozle.rinet.ru> <51D56C19.8080103@FreeBSD.org> <alpine.BSF.2.00.1307041640270.2446@woozle.rinet.ru> <51D57305.2010709@FreeBSD.org> <alpine.BSF.2.00.1307041947320.2446@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
on 04/07/2013 18:50 Dmitry Morozovsky said the following: > 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@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@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) > Right. So in this case it is purely a pilot error. ZFS can not know that among the available datasets br/R is the root fs. Thus bootfs must be set. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D59A55.1050807>