From owner-freebsd-fs@FreeBSD.ORG Tue Oct 18 14:40:05 2011 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A15D106566C; Tue, 18 Oct 2011 14:40:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB008FC08; Tue, 18 Oct 2011 14:40:04 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA04559; Tue, 18 Oct 2011 17:40:00 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E9D8FBF.3030502@FreeBSD.org> Date: Tue, 18 Oct 2011 17:39:59 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: Henri Hennebert References: <4E8D7406.4090302@restart.be> <4E8D86A2.1040508@FreeBSD.org> <4E8D9F57.70506@restart.be> <4E8DAEE5.4020004@FreeBSD.org> <4E9D566F.1040104@restart.be> In-Reply-To: <4E9D566F.1040104@restart.be> X-Enigmail-Version: undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: zfsloader 9.0 BETA3 r225759 - i/o error - all block copies unavailable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 14:40:05 -0000 on 18/10/2011 13:35 Henri Hennebert said the following: > I upgrade another system to 9.0-RC1 and encounter the same problem, this time > zfsloader do not run. > > After > > mv /mnt/boot /mnt/Boot > mkdir /mnt/boot > cd /mnt/Boot > find . | cpio -pvdmu /mnt/boot > > FreeBSD boot OK > > > [root@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 /dev/ada1p2 > ZFS: SPA version 28 > pool: rpool > config: > > NAME STATE > rpool ONLINE > mirror ONLINE > ada0p2 ONLINE > ada1p2 ONLINE > ZFS: i/o error - all block copies unavailable > can't lookup > > 10 minutes later: > > [root@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 > /dev/ada1p2|less > ZFS: SPA version 28 > pool: rpool > config: > > NAME STATE > rpool ONLINE > mirror ONLINE > ada0p2 ONLINE > ada1p2 ONLINE > > > it seems ok :-o > > and a other time: > [root@avoriaz zfsboottest]# ./zfsboottest /Boot/zfsloader /dev/ada0p2 > segmentation fault... > > Strange isn't it. I think that it would be smart to not do any filesystem modifications after the problem is detected / reproduced. Also, currently zfsboottest doesn't do much of a problem self-diagnostics, so using gdb or/and adding some printfs in the code are required to understand a nature of a problem. Like what kind of block gives an I/O error, if it actual reading that fails or checksum verification or etc, and so on. -- Andriy Gapon