Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 13:45:47 -0500
From:      Chris <behrnetworks@gmail.com>
To:        Pegasus Mc Cleaft <ken@mthelicon.com>
Cc:        Scot Hetzel <swhetzel@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Seeing the dreaded "ZFS: i/o error - all block copies  unavailable" on 9.0-CURRENT
Message-ID:  <64aa03031002171045k5251d0b2q34fb833d7e39566a@mail.gmail.com>
In-Reply-To: <201002171840.41088.ken@mthelicon.com>
References:  <64aa03031002161803h667734cal4d668b9eb9c0a1a8@mail.gmail.com> <790a9fff1002161842g17de8ecfvf2cfa8c77f03c32@mail.gmail.com> <64aa03031002161849s7b66b9e3l727aafd2afd3d596@mail.gmail.com> <201002171840.41088.ken@mthelicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pegasus,

Thanks for the tip. I'll give it a shot. If it is the case, then the
RootOnZFS wiki guides need to be updated to account for that. They all
currently say to use vfs.root.mountfrom=3D"zfs:zroot" in loader.conf

Thanks,
Chris

On Wed, Feb 17, 2010 at 1:40 PM, Pegasus Mc Cleaft <ken@mthelicon.com> wrot=
e:
> Hello Chris, Scott & Current
>
> =A0 =A0 =A0 =A0I use gptzfsboot on my AMD64 (current) machine all the tim=
e and also on
> my laptop. I am not sure if this will cause the problem you are seeing bu=
t I
> know I ran into a lot of trouble depending on what type of pool I was
> creating.
>
> =A0 =A0 =A0 =A0I believe this is correct, and if I am not than I apologis=
e in advance,
> but....
>
> =A0 =A0 =A0 =A0If you are trying to boot off a linear type pool (A single=
 disk or a
> mirror) your bootable filing system has to be a zfs filing system beneath=
 the
> root pool (IE: zroot/boot). If you are trying to boot off a zraid pool, y=
our
> bootable filing system must be the root filing system of the pool (IE: zr=
oot)
>
> =A0 =A0 =A0 =A0You must also include the appropriate declaration in the
> /boot/loader.conf file:
>
> (for a zraid pool)
> zfs_load=3D"YES"
> vfs.root.mountfrom=3D"zfs:zpool"
>
> (for a linear type)
> zfs_load=3D"YES"
> vfs.root.mountfrom=3D"zfs:zpool/root"
>
> =A0 =A0 =A0 =A0If I try any other method, zboot explodes in a myriad of d=
ifferent ways.
>
> I hope this helps
> Peg
>
>
> On Wednesday 17 February 2010 02:49:56 Chris wrote:
>> Scot,
>>
>> I did, as part of step 7 in section 1:
>>
>> 7. Create ZFS Pool zroot
>>
>> =A0Fixit# mkdir /boot/zfs
>> =A0Fixit# zpool create zroot /dev/gpt/disk0
>> =A0Fixit# zpool set bootfs=3Dzroot zroot
>



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