Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 18:22:51 +0100
From:      Anselm Strauss <amsibamsi@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        krad <kraduk@googlemail.com>
Subject:   Re: Booting from ZFS raidz
Message-ID:  <C6F4DE7A-74B2-4095-A1AC-74BA4FA7D878@gmail.com>
In-Reply-To: <d36406631001080812u68690d54x480c59e7ef7acef4@mail.gmail.com>
References:  <15FCFBD0-9B68-421B-A99C-1038BAD61362@gmail.com> <9c7c50c51001061243v5f4acd2dmef9507e5b3cfc365@mail.gmail.com> <29722c131001080750k24ff72c6tf4c319ebcdcfd0e8@mail.gmail.com> <29722c131001080759y69e22a67qddc8203ccf7a86f8@mail.gmail.com> <d36406631001080812u68690d54x480c59e7ef7acef4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 8, 2010, at 17:12 , krad wrote:

> 2010/1/8 Anselm Strauss <amsibamsi@gmail.com>
> Sorry, forgot the list ...
>=20
> ---------- Forwarded message ----------
> From: Anselm Strauss <amsibamsi@gmail.com>
> Date: Fri, Jan 8, 2010 at 4:50 PM
> Subject: Re: Booting from ZFS raidz
> To: Sergiy Suprun <sergiy.suprun@gmail.com>
>=20
>=20
> I've done some experiments with the 8.0 stable branch and the head =
branch
> from SVN. I just recompiled /boot/loader but didn't have any luck. The
> version from the stable branch gives me the exact same error, the head
> version fails with a new error. Doesn't seem this is really ready at =
the
> moment. I think I'll go with a separate mirror pool for now.
>=20
> Anselm
>=20
>=20
> On Wed, Jan 6, 2010 at 9:43 PM, Sergiy Suprun =
<sergiy.suprun@gmail.com>wrote:
>=20
> > Hi.
> > Some time ago I follow instruction from this wiki
> > http://wiki.freebsd.org/RootOnZFS and I had a problem like yours.
> > After some experiments I build loader from CURRENT, and boot fine =
from
> > raidz2 zpool. I don't know, may be now this code avialable in =
8-STABLE.
> >
> > On Wed, Jan 6, 2010 at 20:25, Anselm Strauss <amsibamsi@gmail.com> =
wrote:
> >
> >> Hi,
> >>
> >> I'm experimenting with a ZFS only system and booting from it in
> >> VirtualBox. Thanks to various mails and forum posts from the net I =
have a
> >> working scenario with booting from a ZFS mirror. However, I can't =
get the
> >> thing to work with raidz with the exactly same setup, except that =
the pool
> >> is now raidz instead of mirror and there is one more disk. I feel =
sure I
> >> have all the stuff with partitioning, boot loader installation, =
etc. right.
> >> I tested this with version 8.0-RELEASE on 64bit.
> >>
> >> Now, before I go into detailed explaining, is raidz really =
supported? I
> >> always get the following error after it says "FreeBSD/i386 =
bootstrap loader,
> >> Revision 1.1":
> >>
> >> ZFS: i/o error - all block copies unavailable
> >> ZFS: can't read MOS object directory
> >> (repeats a lot)
> >> Can't find root filesystem - giving up
> >> can't load 'kernel'
> >>
> >> I think the "MOS" message comes from zfs_mount_root() in
> >> /usr/src/sys/boot/zfs/zfsimpl.c. I asume that is the point when =
/boot/loader
> >> has been loaded and now wants to load the kernel into memory. After =
that
> >> error I'm in the loader prompt. When I try to load any file I =
always get the
> >> same error as above.
> >>
> >> Anyone any ideas?
> >>
> >> Thanks,
> >> Anselm_______________________________________________
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to "
> >> freebsd-questions-unsubscribe@freebsd.org"
> >>
> >
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"
>=20
> you didnt export the pool at any point did you without reimporting it =
and copying the zpool.cache?

I created /boot/zfs, exported the pool, imported again, copied =
/boot/zfs/zpool.cache to /zroot/boot/zfs, unmounted /zroot and then set =
the mountpoint for zroot to legacy. After the loader lists 3 disk drives =
I'm now getting the error:

FATAL: int13_harddisk: function 42. Can't use 64bits lba

Then, booting stops completely, no command prompt follows. This is with =
the SVN head branch.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6F4DE7A-74B2-4095-A1AC-74BA4FA7D878>