Re: ZFS boot fails with two pools

From: Volodymyr Kostyrko <c.kworr_at_gmail.com>
Date: Thu, 07 Jul 2011 13:19:50 +0300
07.07.2011 09:22, Berczi Gabor Š½wrote:
>
> On Jul 6, 2011, at 10:08 PM, Volodymyr Kostyrko wrote:
>
>> 1. Check that pools have up-to-date boot code.
>
> I tried 8.2 and HEAD. You mean gpart+gptzfsboot+pmbr, right?

Yep.

>> 2. Try to convince bios to boot from the disk of pool2.
>
> There is no disk with a singular ZFS pool.

Any disk from bootable pool.

>> 3. You can possibly try deploying /boot/boot0 MBR selector code over disks of data pool. Supplied boot0 code can be used to choose another disk to jump to it during boot process and will remember the last choice.
>
> I'm not really sure how to do this with GPT. Should I use boot0 instead of pmbr?

boot0cfg is your old friend

> However, this (http://freebsd.1045724.n5.nabble.com/Booting-from-ZFS-raidz-td4032461.html) may be related to the problem:

That one is too old, I have one machine running 8.2 on raidz2 pool.

>
>> You can boot from any of the drives and as long as the BIOS can see
>> enough drives you should be able to boot.
>
> In my case, the BIOS certainly can not see all members of the raid-z pool. The question is: why does it want to boot from raid-z at all, and how could it be persuaded to use the mirrored pool instead?

Actuall I think that code on that stages just tries to boot from the 
pool on the current disk.

-- 
Sphinx of black quartz judge my vow.
Received on Thu Jul 07 2011 - 08:20:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC