Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 09:13:14 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Can ZFS boot from other than the root of a pool?
Message-ID:  <532AF77A.9010204@denninger.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
For a number of reasons having to do with backup strategy I want to 
mount a ZFS root from "poolname/root" instead just "poolname."

That works ok; I can set in /boot/loader.conf:
vfs.root.mountfrom="zfs:zroot/root"

But -- I cannot actually boot from there.  Unless the /boot directory is 
in zfs:/zroot the system cannot find it, and I see no obvious way to 
"teach" the loader that I want it to look in the filesystem under the 
top level.

This isn't a terrible pain as I can simply mount zroot on /mnt and then 
copy zroot/root/boot over to zroot/boot whenever I make changes to the 
kernel or boot environment (which is infrequent) but I'm wondering if 
I'm missing something that would make booting directly from the 
filesystem where root is specified to be possible.

(Obviously until the loader.conf file is found the system doesn't know 
where root is either, so this does look at first blush to be a "chicken 
and egg" problem.)

-- 
-- Karl
karl@denninger.net



[-- Attachment #2 --]
0	*H
010	+0	*H
O0K030
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0
130824190344Z
180823190344Z0[10	UUS10UFlorida10UKarl Denninger1!0	*H
	karl@denninger.net0"0
	*H
0
bi՞]MNԿawx?`)'ҴcWgR@BlWh+	u}ApdCFJVй~FOL}EW^bچYp3K&ׂ(R
lxڝ.xz?6&nsJ+1v9v/(kqĪp[vjcK%fϻe?iq]z
lyzFO'ppdX//Lw(3JIA*S#՟H[f|CGqJKooy.oEuOw$/섀$삻J9b|AP~8]D1YI<"""Y^T2iQ2b	yH)]	Ƶ0y$_N6XqMC 9՘	XgώjGTP"#nˋ"Bk100	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U|8˴d[20U#0]Af4U3x&^"408	`HB+)https://cudasystems.net:11443/revoked.crl0
	*H
gBwH]j\x`(&gW32"Uf^.^Iϱ
k!DQAg{(w/)\N'[oRW@CHO>)XrTNɘ!u`xt5(=f\-l3<@C6mnhv##1ŃbH͍_Nq
aʷ?rk$^9TIa!kh,D-ct1
00010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0	+;0	*H
	1	*H
0	*H
	1
140320141314Z0#	*H
	1y9ݭq^l@0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0
	*H
L$äCD߶ 2{/>Ȇ9+JH׽թ!1% ~{DOFϪڔSya׍)\zQ|w65.炊Dcꏚ-U{y#꤭؏Z'L7}LB!yX
i&R_QG1w2
b۵׺ե&VRH?Zh%Q3KE	li&0'uceE-]{˺
d#P֒|Gfi6
Ԅ=WMv&{uoԘfxx6t s{i,o"ÞaV@+$l6x`ܺ7ۈ}~P\FZw}?B	y^q?鎎yA:BJԬ'
2v;f(51	ߕݒK$	K0\;+*{YT;3|G
JƂDzP9d

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