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

John Baldwin jhb at freebsd.org
Thu Nov 19 17:02:39 UTC 2009


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@ this morning.  Please try this patch that jhb@ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zfsboot_64.patch
Type: text/x-diff
Size: 2945 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091119/5854f276/zfsboot_64.bin


More information about the freebsd-fs mailing list