Booting from an aribrary disk in ZFS RAIDZ on 8.x
doug at polands.org
Tue Mar 5 18:44:50 UTC 2013
I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE
amd64. The kernel build is rather dated from around Feb 2010.
I have 6 disks in a RAIDZ configuration. All disks were sliced
the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1,
swap on index 2 and freebsd-zfs on index 3.
Given this configuration, I should be able to boot from any of the 6
disks in the RAIDZ. If this is a true statement, how do I make that
happen from the loader prompt?
At the loader prompt when I type show, I get the following relevant
A peek at man loader(1) shows me two interesting variables:
If disk0 is the legacy floppy device, presumably disk1a: maps to da0.
What variable do I set to signify boot from what I know as:
da0p1 == gpt/boot0
da0p2 == gpt/swap0
da0p3 == gpt/disk0
da5p1 == gpt/boot5
da5p2 == gpt/swap5
da5p3 == gpt/disk5
Thanks very much in advance. BTW, is it bad form to cross-post to
More information about the freebsd-questions