From owner-freebsd-fs@FreeBSD.ORG Mon Dec 16 12:21:36 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE2BF3F3; Mon, 16 Dec 2013 12:21:36 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id E4F6E1AE8; Mon, 16 Dec 2013 12:21:35 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA21509; Mon, 16 Dec 2013 14:21:34 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1VsXB0-000CZm-3K; Mon, 16 Dec 2013 14:21:34 +0200 Message-ID: <52AEF02A.6020108@FreeBSD.org> Date: Mon, 16 Dec 2013 14:20:58 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ion-Mihai Tetcu Subject: Re: GTP ZFS boot failed after upgrading to 9.2-STABLE (can't read MOS) References: <20131216113818.b108196769e1fd1dd3b7e67d@FreeBSD.org> <52AEE884.5000307@FreeBSD.org> <20131216135546.7ceb65c5991344d32303b64b@FreeBSD.org> In-Reply-To: <20131216135546.7ceb65c5991344d32303b64b@FreeBSD.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 12:21:36 -0000 on 16/12/2013 13:55 Ion-Mihai Tetcu said the following: > On Mon, 16 Dec 2013 13:48:20 +0200 > Andriy Gapon 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