From owner-freebsd-fs@FreeBSD.ORG Wed Nov 18 13:51:00 2009 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 4FA56106566B; Wed, 18 Nov 2009 13:51:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id EE1BE8FC1A; Wed, 18 Nov 2009 13:50:59 +0000 (UTC) Received: from [192.168.1.4] (adsl-241-172-215.bna.bellsouth.net [74.241.172.215]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nAIDorqT016998 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 08:50:54 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Emil Smolenski In-Reply-To: References: <1258390784.2303.42.camel@balrog.2hip.net> <1258497221.2303.66.camel@balrog.2hip.net> Content-Type: text/plain Organization: FreeBSD Date: Wed, 18 Nov 2009 07:50:47 -0600 Message-Id: <1258552247.2303.75.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: Boot with ZFS on single disk: "ZFS: i/o error - all block copies unavailable" [was: Re: GPT boot with ZFS RAIDZ "ZFS: 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: Wed, 18 Nov 2009 13:51:00 -0000 On Wed, 2009-11-18 at 01:17 +0100, Emil Smolenski wrote: > On Tue, 17 Nov 2009 23:33:41 +0100, Robert Noland > wrote: > > >> Should I file a PR? I would > >> like to help in debugging it (however my skills in low-level C aren't > >> strong enough to do it on my own). > > > Ok, the first thing I would like to see is "zdb -uuu". > > # zdb -uuu pgpool > Segmentation fault: 11 (core dumped) Ok, this is disturbing... It works fine for me on -CURRENT / amd64 and reports the root block pointer, which is what we need to locate the MOS. robert. > # zdb > pgpool > version=13 > name='pgpool' > state=0 > txg=439808 > pool_guid=3920915583055727184 > hostid=1642959122 > hostname='unset' > vdev_tree > type='root' > id=0 > guid=3920915583055727184 > children[0] > type='disk' > id=0 > guid=5859773264564918193 > path='/dev/da0' > whole_disk=0 > metaslab_array=23 > metaslab_shift=35 > ashift=9 > asize=4500799356928 > is_log=0 > DTL=260 > > > I don't see an > > obvious issue with single disk reads. My own setup uses 2 x 1TB > > currently. Failing to read the MOS is basically the first read attempt > > from the pool, in fact it is the read that attempts to mount the pool. > -- Robert Noland FreeBSD