From owner-freebsd-current@FreeBSD.ORG Thu Oct 6 14:20:08 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1AB2106564A; Thu, 6 Oct 2011 14:20:08 +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 E93738FC19; Thu, 6 Oct 2011 14:20:07 +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 RAA04529; Thu, 06 Oct 2011 17:20:05 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E8DB915.6000502@FreeBSD.org> Date: Thu, 06 Oct 2011 17:20:05 +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> <4E8DB464.80202@restart.be> In-Reply-To: <4E8DB464.80202@restart.be> X-Enigmail-Version: undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, current@FreeBSD.org Subject: Re: zfsloader 9.0 BETA3 r225759 - i/o error - all block copies unavailable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 14:20:09 -0000 on 06/10/2011 17:00 Henri Hennebert said the following: > On 10/06/2011 15:36, Andriy Gapon wrote: >> on 06/10/2011 15:30 Henri Hennebert said the following: >>> The pool is a mirror: >>> >>> [root@morzine ~]# zpool status rpool >>> pool: rpool >>> state: ONLINE >>> scan: scrub repaired 0 in 1h0m with 0 errors on Wed Aug 24 15:04:36 2011 >>> config: >>> >>> NAME STATE READ WRITE CKSUM >>> rpool ONLINE 0 0 0 >>> mirror-0 ONLINE 0 0 0 >>> gptid/e915c6a0-fc72-11de-aa21-00e081706b68 ONLINE 0 0 0 >>> gptid/eac8497d-fc72-11de-aa21-00e081706b68 ONLINE 0 0 0 >>> >>> errors: No known data errors >>> >>> and rpool/root is not compressed: >>> >>> [root@morzine ~]# zfs get compression rpool/root >>> NAME PROPERTY VALUE SOURCE >>> rpool/root compression off inherited from rpool >>> >>> pool is v28 and filesystems are v5 >> >> No particular recipes for this environment, just a general suggestion. >> If you run into a situation like this again, please try to use >> tools/tools/zfsboottest to diagnose where exactly an error originates. >> > I try [ please note _M_enu.rc ]: > > [root@morzine ~]# /usr/obj/usr/src/tools/tools/zfsboottest/zfsboottest > /boot/Menu.rc /dev/da0p2 /dev/da1p2 > ZFS: SPA version 28 > pool: rpool > config: > > NAME STATE > rpool ONLINE > mirror ONLINE > gptid/e915c6a0-fc72-11de-aa21-00e081706b68 ONLINE > gptid/eac8497d-fc72-11de-aa21-00e081706b68 ONLINE > \ Menu.rc > \ $FreeBSD: head/sys/boot/forth/menu.rc 222417 2011-05-28 08:50:38Z julian $ > \ > \ Load required Forth modules > include /boot/version.4th > include /boot/brand.4th > include /boot/menu.4th > include /boot/menu-commands.4th > include /boot/shortcuts.4th > > \ Screen prep > clear \ clear the screen (see `screen.4th') > print_version \ print version string (bottom-right; see `version.4th') > draw-beastie \ draw freebsd mascot (on right; see `beastie.4th') > draw-brand \ draw the FreeBSD title (top-left; see `brand.4th') > menu-init \ initialize the menu area (see `menu.4th') > > \ Initialize main menu constructs (see `menu.4th') > \ NOTE: To use the `ansi' variants, add `loader_color=1' to loader.conf(5) > > set menu_timeout_command="boot" > > \ Display the main menu (see `menu.4th') > menu-display > [root@morzine ~] > > The line `ZFS: SPA version 28' > > come from my local patch: > > Index: sys/boot/zfs/zfsimpl.c > =================================================================== > --- sys/boot/zfs/zfsimpl.c (revision 225759) > +++ sys/boot/zfs/zfsimpl.c (working copy) > @@ -63,6 +63,8 @@ > STAILQ_INIT(&zfs_vdevs); > STAILQ_INIT(&zfs_pools); > > + printf("ZFS: SPA version %u\n", (unsigned) SPA_VERSION); > + > zfs_temp_buf = malloc(TEMP_SIZE); > zfs_temp_end = zfs_temp_buf + TEMP_SIZE; > zfs_temp_ptr = zfs_temp_buf; > > > Is it what you sugest ? Yes. And this report indicates that the boot code (built from your source tree) should be able to read that file. -- Andriy Gapon