Date: Fri, 17 Jul 2009 17:24:42 +0200 From: Arnaud Houdelette <arnaud.houdelette@tzim.net> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-fs@freebsd.org Subject: Re: Booting from ZFS raidz Message-ID: <4A6097BA.8030305@tzim.net> In-Reply-To: <3F75A414-1D5F-4692-B3B1-41EBCC1A22D2@lassitu.de> References: <9461581F-F354-486D-961D-3FD5B1EF007C@rabson.org> <20090201072432.GA25276@server.vk2pj.dyndns.org> <246ecf0c87f944d70c5562eeed4165c9@mail.rabson.org> <9cc826f0720e1624489dd6e6d384babc.squirrel@www.noacks.org> <e6a5ee8d701b0d3393a6d3966ebfe634.squirrel@www.noacks.org> <e255c2534239be5cfec8e301b887f752.squirrel@www.noacks.org> <67089745-3E3B-45CF-B4E8-91F3B52C8A4C@lassitu.de> <3F75A414-1D5F-4692-B3B1-41EBCC1A22D2@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Bethke a écrit :
> Am 16.07.2009 um 14:06 schrieb Stefan Bethke:
>
>> Am 12.07.2009 um 09:06 schrieb Jonathan Noack:
>>
>>> Anyone know how I should proceed? I'm really frustrated that I haven't
>>> been able to get this working.
>>
>> Me too. I just decided to revisit this, and unfortunatly, I'm still
>> stuck with the loader having trouble reading blocks off the raidz1
>> volume. I've updated the creation script (see below). This is on
>> r195709, with LOADER_ZFS_SUPPORT?=YES in /etc/make.conf.
>
> I just checked that my basic procedure is sane by creating a single
> vdev pool (zpool create /dev/gpt/zfs0), and that is booting and
> working just fine.
>
>
> Stefan
>
I got the same kind of errors with 8.0-BETA1 (rebuilt loader with
ZFS_SUPPORT) with raidz on a VirtualBox.
I however got some hints :
Tried with single disk on pool : works like a charm.
Tried with a mirror : the loader only 'sees' the first disk. Could that
be the source of our problems ?
BTX loader only shows drives A: and C:
lsdev -v gives :
cd devices:
disk devices:
disk0: BIOS drive A:
disk1: BIOS drive C:
disk1p1: FreeBSD boot 64KB
disk1p2: FreeBSD ZFS 19GB
pxe devices:
zfs devices:
pool: zroot
config:
NAME STATE
zroot DEGRADED
mirror DEGRADED
gpt/zfs1 ONLINE
gpt/zfs2 OFFLINE
As the mirror is degraded but readable, the loader is able to boot.
Could it be a BIOS or boot0 problem ?
Arnaud
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6097BA.8030305>
