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"]

From: John Baldwin <jhb_at_freebsd.org>
Date: Thu, 19 Nov 2009 11:55:10 -0500
On Thursday 19 November 2009 11:23:55 am Robert Noland wrote:
> On Thu, 2009-11-19 at 11:21 +0100, Emil Smolenski wrote:
> > Matt Reimer wrote:
> > > Robert's on to something. It looks like your LBAs are probably
> > > overflowing 32 bits. This would affect all vdev regardless of type.
> > > Try the attached patch.
> > 
> > Robert Noland wrote:
> > >> 220000de400
> > > This divided by 512 byte block size is 33 bits... At a glance, the patch
> > > looks ok to me.  I'll do a more thorough review of this tomorrow.
> > 
> > Unfortunately it don't work. Error is the same as before:
> 
> Ok, I was concerned about the assembly code... So, I've been chatting
> with jhb_at_ this morning.  Please try this patch that jhb_at_ came up with
> instead of Matt's latest patch.

Actually, I had missed updating one place, please use this instead.  Also, I 
think that this will fix using > 2TB volumes even in the GPT case as 
zfsboot.c was always using 32-bit LBAs even for the GPT case.

-- 
John Baldwin

Received on Thu Nov 19 2009 - 16:02:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC