GTP ZFS boot failed after upgrading to 9.2-STABLE (can't read MOS)

Andriy Gapon avg at FreeBSD.org
Mon Dec 16 12:21:36 UTC 2013


on 16/12/2013 13:55 Ion-Mihai Tetcu said the following:
> On Mon, 16 Dec 2013 13:48:20 +0200
> Andriy Gapon <avg at FreeBSD.org> wrote:
> 
>> on 16/12/2013 11:38 Ion-Mihai Tetcu said the following:
>>> Hi,
>>>
>>>
>>> After upgrading to 
>>> 9.2-STABLE #8 r259396: Sun Dec 15 01:20:44 EET 2013 GENERIC  amd64
>>> the system in question didn't come up:
>>>  ZFS: i/o error - all block copies unavailable
>>>  ZFS: can't read MOS of pool zroot
>>>  gptszfsboot: failed to mount default pool zroot
>>>
>>> GPTZFSBoot setup like in the wiki, except I didn't bothered with
>>> gnop.
>>
>> Could you please build zfsboottest utility in tools/tools/zfsboottest
>> and then run it like this?
>> zfsboottest /dev/gpt/z_ES3_2T /dev/gpt/z_wd2T - /boot/zfsloader
> 
>  # /root/bin/zfsboottest /dev/gpt/z_ES3_2T /dev/gpt/z_wd2T - /boot/zfsloader 
> pool: zroot 
> bootfs: zroot/ROOT/default
> config:
> 
>         NAME STATE
>         zroot ONLINE
>           mirror ONLINE
>             gpt/z_ES3_2T ONLINE
>             gpt/z_wd2T ONLINE
> 
> 809b79a8e78d637dddc618d992b37004 /boot/zfsloader
> 
> 

Okay, so ZFS boot code is able to read the pool in general.
Could you please also do the following as well?

zdb -l /dev/gpt/z_wd2T
zdb -l /dev/gpt/z_ES3_2T
zdb -dddd zroot 1

-- 
Andriy Gapon


More information about the freebsd-fs mailing list