Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jul 2011 23:08:57 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Berczi Gabor <freebsd@berczi.be>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS boot fails with two pools
Message-ID:  <4E14C0D9.9040503@gmail.com>
In-Reply-To: <12DA9EAC-8677-49AD-BA6C-5A155D2A6122@berczi.be>
References:  <12DA9EAC-8677-49AD-BA6C-5A155D2A6122@berczi.be>

next in thread | previous in thread | raw e-mail | index | archive | help
06.07.2011 18:44, Berczi Gabor wrote:
> Greets,
>
> For some reason FreeBSD can't boot automatically:
>
> ZFS: i/o error - all block copies unavailable
> ZFS: can't read MOS object directory
> Can't find root filesystem - giving up
> ZFS: unexpected object set type 0
> ZFS: unexpected object set type 0
>
> FreeBSD/x86 boot
> Default: data:/boot/kernel/kernel
> boot:
> ZFS: unexpected object set type 0
>
> FreeBSD/x86 boot
> Default: data:/boot/kernel/kernel
> boot:
>
> I have two pools, pool2 which is a mirrored zpool, and data being a raid-z pool. Note how the default should be "pool2:/boot/zfsloader". How can I fix this?

1. Check that pools have up-to-date boot code.

2. Try to convince bios to boot from the disk of pool2.

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.

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E14C0D9.9040503>