Hello,
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
variables:
A peek at 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:
Thanks very much in advance.
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
variables:
Code:
currdev="zfs0"
loaddev="disk1a:"
vfs.root.mountfrom="zfs:rpool"
A peek at loader(1) shows me two interesting variables:
Code:
root_disk_unit
rootdev
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:
Code:
da0p1 == gpt/boot0
da0p2 == gpt/swap0
da0p3 == gpt/disk0
...
da5p1 == gpt/boot5
da5p2 == gpt/swap5
da5p3 == gpt/disk5
Thanks very much in advance.