From owner-freebsd-questions@FreeBSD.ORG Fri Jan 8 15:59:03 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 D7ED01065693 for ; Fri, 8 Jan 2010 15:59:03 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 61DB68FC1A for ; Fri, 8 Jan 2010 15:59:03 +0000 (UTC) Received: by fxm27 with SMTP id 27so4808965fxm.3 for ; Fri, 08 Jan 2010 07:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=iAv11i6WAIrNlW5aSi+ogBs9tsxqRsZMMuWDP8JwSeg=; b=PHp4BeTd2JnGy5BvQoAeqYJkBzVzuHRPrvu4xlEU/BdjoYX7sI2YkWelHu1tTXqHPj NniIK4mkJ7OgHTrkd6Iay0h/w5a2g6l7Pf22RDymQRCOP1dSX2jpLyh7yCn8O4Ot4kwU AkUC80xIARKZLsbAb1bjCk5UvNVGtpnSdn0Eg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iTnokcFR3ZEOn63C4OXsNu4vLRdMRSRokmH38TtXJIsyZxNsASboj8FQuWJlN0A5BF tb8kgAUtmYgW9+cwAB9hZD2XST3ig9MH+vBWITNWo6oKJWJqRE0oV38XQmOXmInTuHqH hTjv2uAKpQdnHYCQzdMgu/QN58Te8BfYfpqKg= MIME-Version: 1.0 Received: by 10.223.16.72 with SMTP id n8mr4737532faa.26.1262966340257; Fri, 08 Jan 2010 07:59:00 -0800 (PST) In-Reply-To: <29722c131001080750k24ff72c6tf4c319ebcdcfd0e8@mail.gmail.com> References: <15FCFBD0-9B68-421B-A99C-1038BAD61362@gmail.com> <9c7c50c51001061243v5f4acd2dmef9507e5b3cfc365@mail.gmail.com> <29722c131001080750k24ff72c6tf4c319ebcdcfd0e8@mail.gmail.com> Date: Fri, 8 Jan 2010 16:59:00 +0100 Message-ID: <29722c131001080759y69e22a67qddc8203ccf7a86f8@mail.gmail.com> From: Anselm Strauss To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: 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 15:59:03 -0000 Sorry, forgot the list ... ---------- Forwarded message ---------- From: Anselm Strauss Date: Fri, Jan 8, 2010 at 4:50 PM Subject: Re: Booting from ZFS raidz To: Sergiy Suprun 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. Anselm On Wed, Jan 6, 2010 at 9:43 PM, Sergiy Suprun wrote: > 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" >> >