Date: Mon, 22 Dec 2008 11:29:53 +0100 From: Arnaud Houdelette <arnaud.houdelette@tzim.net> To: Doug Rabson <dfr@rabson.org> Cc: freebsd-fs@freebsd.org, Stefan Bethke <stb@lassitu.de> Subject: Re: Re: Booting from ZFS raidz Message-ID: <494F6C21.2000801@tzim.net> In-Reply-To: <4AC3BEB2-B47E-4280-85E1-C72891412D09@rabson.org> References: <9461581F-F354-486D-961D-3FD5B1EF007C@rabson.org> <C3970DC5-43A8-4F04-AC55-292F27A30275@lassitu.de> <2F0DF92C-4240-48D4-9A5F-8B826D6D6E95@rabson.org> <87E89284-D3BF-4A5A-B6F7-C30709A3F2D9@lassitu.de> <4AC3BEB2-B47E-4280-85E1-C72891412D09@rabson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As I'm fairly interrested in this kind of setup, I set up a virtual
machine (VirtualBox) with 3 HD.
Sources are from a fresh current (csup yesterday). Applied your patch
successfully.
Done a make installworld / installkernel to the zfs root.
Applied the bootcode as Stephan.
The seem's the loader gets loaded, but it cant proceed further.
I got those kind of errors :
ZFS: i/o error - all block copies unavailable
ZFS: can't read MOS object directory
Can't find root filesystem - giving up
Then I get to the loader prompt.
ls give same errors.
show lists (partial) :
currdev=zfs0
loaddev=disk1a
lsdev lists :
cd devices:
disk devices :
disk0: BIOS drive A:
disk1: BIOS drive C:
disk1p1: FreeBSD boot
disk1p2: FreeBSD swap
disk1p3: FreeBSD ZFS
pxe devices:
zfs devices:
zfs0: ztboot
ztboot is the name of my pool. but other physical disks aren't shown...
Seem's the loader can't read the ZFS raidz pool.
The loader as been built with LOADER_ZFS_SUPPORT option on /etc/make.conf
Anything I could get wrong ?
Arnaud Houdelette
Doug Rabson a écrit :
> <div class="moz-text-flowed" style="font-family: -moz-fixed">
> On 20 Dec 2008, at 15:01, Stefan Bethke wrote:
>
>> Am 20.12.2008 um 15:23 schrieb Doug Rabson:
>>
>>> On 19 Dec 2008, at 21:46, Stefan Bethke wrote:
>>>
>>>> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $1
>>
>>> 1. Are you absolutely sure you are using gptzfsboot built with the
>>> patch - the steps you list above show you building it but not
>>> installing it on the system which is initialising the pool.
>>
>> Ugh, sorry. That is in fact the old version from before the patch. I
>> will try again tonight, with updated sources and the right gptzfsboot.
>
> You should be able to re-install gptzfsboot without changing anything
> else using something like:
>
> # dd if=/boot/gptzfsboot of=da<N>p1 conv=osync
>
>
>
> </div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494F6C21.2000801>
