Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 07:50:47 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Emil Smolenski <ambsd@raisa.eu.org>
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"]
Message-ID:  <1258552247.2303.75.camel@balrog.2hip.net>
In-Reply-To: <op.u3kdq613qvde5b@bolt.zol>
References:  <op.u3hw9wl0qvde5b@am-laptop.local.org> <1258390784.2303.42.camel@balrog.2hip.net> <op.u3h252qaqvde5b@bolt.zol> <op.u3j6m8w5qvde5b@bolt.zol> <1258497221.2303.66.camel@balrog.2hip.net> <op.u3kdq613qvde5b@bolt.zol>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2009-11-18 at 01:17 +0100, Emil Smolenski wrote:
> On Tue, 17 Nov 2009 23:33:41 +0100, Robert Noland <rnoland@freebsd.org>  
> 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 <rnoland@FreeBSD.org>
FreeBSD




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