Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 14:20:58 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Ion-Mihai Tetcu <itetcu@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: GTP ZFS boot failed after upgrading to 9.2-STABLE (can't read MOS)
Message-ID:  <52AEF02A.6020108@FreeBSD.org>
In-Reply-To: <20131216135546.7ceb65c5991344d32303b64b@FreeBSD.org>
References:  <20131216113818.b108196769e1fd1dd3b7e67d@FreeBSD.org>	<52AEE884.5000307@FreeBSD.org> <20131216135546.7ceb65c5991344d32303b64b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 16/12/2013 13:55 Ion-Mihai Tetcu said the following:
> On Mon, 16 Dec 2013 13:48:20 +0200
> Andriy Gapon <avg@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52AEF02A.6020108>