From owner-freebsd-questions@FreeBSD.ORG Fri Jan 8 17:22:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD1431065672 for ; Fri, 8 Jan 2010 17:22:59 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 38A048FC18 for ; Fri, 8 Jan 2010 17:22:58 +0000 (UTC) Received: by ewy26 with SMTP id 26so18048145ewy.3 for ; Fri, 08 Jan 2010 09:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=UKd4gs/yDNXXKe0L/8a7JyQdDGeftZXPboK+Ey9Ylvc=; b=dul1QrxhhEFvE6zYfvuTRDiPmVdN0lF3rTPNqwIuRIHoGbJ3rzwXv3Dx6Lh14twh5I Ht+vSwfjsa+tIzZDtUA/0rSam7Fbm/ERwU0XqG0bCl6KiuAiXQKD0NLQ5HOsnfhPaRMd VSNjcSU8evrJBpnThyZxc+g2KoSTMtaul6V3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=VVTM2oKOJLVYxhzQG55pnpmdosGHj0cnU38ZIUmuDFmFptOfJGuBxjyhiB4EjWyLfO ry1DAHTJeqN5dbAsyOjlCL41CLq/21+uRdzN5cjg7qLQFhAatWSh5AHXirrf8wLKZ2V6 goAw8jxKTWhhJGOXYe0DPf23yR7sGrgRLJQVQ= Received: by 10.213.100.229 with SMTP id z37mr3593405ebn.87.1262971373858; Fri, 08 Jan 2010 09:22:53 -0800 (PST) Received: from silversurfer.l.ttyv0.net (80-219-19-168.dclient.hispeed.ch [80.219.19.168]) by mx.google.com with ESMTPS id 13sm1713752ewy.9.2010.01.08.09.22.52 (version=SSLv3 cipher=RC4-MD5); Fri, 08 Jan 2010 09:22:52 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Anselm Strauss In-Reply-To: Date: Fri, 8 Jan 2010 18:22:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <15FCFBD0-9B68-421B-A99C-1038BAD61362@gmail.com> <9c7c50c51001061243v5f4acd2dmef9507e5b3cfc365@mail.gmail.com> <29722c131001080750k24ff72c6tf4c319ebcdcfd0e8@mail.gmail.com> <29722c131001080759y69e22a67qddc8203ccf7a86f8@mail.gmail.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: krad Subject: Re: Booting from ZFS raidz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 17:22:59 -0000 On Jan 8, 2010, at 17:12 , krad wrote: > 2010/1/8 Anselm Strauss > Sorry, forgot the list ... >=20 > ---------- Forwarded message ---------- > From: Anselm Strauss > Date: Fri, Jan 8, 2010 at 4:50 PM > Subject: Re: Booting from ZFS raidz > To: Sergiy Suprun >=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 = 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 = 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.=