From owner-freebsd-fs@FreeBSD.ORG Sun Jul 12 07:06:15 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E8D106564A for ; Sun, 12 Jul 2009 07:06:15 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp106.biz.mail.mud.yahoo.com (smtp106.biz.mail.mud.yahoo.com [68.142.200.254]) by mx1.freebsd.org (Postfix) with SMTP id D706D8FC1B for ; Sun, 12 Jul 2009 07:06:14 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 24724 invoked from network); 12 Jul 2009 07:06:14 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@96.35.144.62 with login) by smtp106.biz.mail.mud.yahoo.com with SMTP; 12 Jul 2009 07:06:14 -0000 X-Yahoo-SMTP: lf_ydH2swBBBfU4zSj6s29Gn1AqWpQIrFClaJdTnJv1EdZ8- X-YMail-OSG: EiVBy00VM1mxlMPWLr6pKxHD914d6miJQy5knqKJL3jNz_FpUn2rGXp9j7YkM5Yg_jZGKuaYGDEIueDHpwJ99gB9vUip6gp2Aj3vMOR7oifJMgdqjuRpmsrkCpPHD1VjqA4L4XlXI_aOvj4mgl_6pz_KCOXGxgM.cI0UOm6IP4xoNeoVbNF08eUub8qNPGJORQh1c.znYSUZMsibdmjNPbO2oajv6b2RCXZaYgwzQ9wO89kIwyl09_ciWf6sF4AovCkx8hoq5oZQI92wUIJSLIE5e.5KvLUKL8aINVy2hHGzV06Lawe.CBg_9ambtHAnFuuj9XPrabGpi.bOhAvKAUVy X-Yahoo-Newman-Property: ymail-3 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 2F915637F; Sun, 12 Jul 2009 02:06:13 -0500 (CDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XHhGCtQb27wa; Sun, 12 Jul 2009 02:06:10 -0500 (CDT) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 42ACD62BC; Sun, 12 Jul 2009 02:06:10 -0500 (CDT) Received: from 192.168.1.148 (SquirrelMail authenticated user noackjr) by www.noacks.org with HTTP; Sun, 12 Jul 2009 02:06:10 -0500 Message-ID: In-Reply-To: References: <9461581F-F354-486D-961D-3FD5B1EF007C@rabson.org> <20090201072432.GA25276@server.vk2pj.dyndns.org> <246ecf0c87f944d70c5562eeed4165c9@mail.rabson.org> <9cc826f0720e1624489dd6e6d384babc.squirrel@www.noacks.org> Date: Sun, 12 Jul 2009 02:06:10 -0500 From: "Jonathan Noack" To: "Doug Rabson" , "Peter Jeremy" , freebsd-fs@freebsd.org User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: Re: Booting from ZFS raidz X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2009 07:06:15 -0000 On Sun, June 14, 2009 00:09, Jonathan Noack wrote: > On Fri, May 15, 2009 19:07, Jonathan Noack wrote: >> On Thu, May 14, 2009 10:25, Doug Rabson wrote: >>> I fixed a bug in the patch. Try this version: >>> http://people.freebsd.org/~dfr/raidzboot-14052009.diff >> >> I know the bug fix was for booting from degraded pools, but I can at >> least >> give you a "no regression" report. I just set up a new amd64 box and >> was >> able to boot from a raidz1 pool using your latest patch. >> >> Getting this working from scratch was tedious but not too complicated. >> I >> followed lulf's instructions >> (http://blogs.freebsdish.org/lulf/2008/12/16/setting-up-a-zfs-only-system/) >> using the May snapshot fixit CD. Only differences were that I set up >> all >> 4 disks with gpart (identically), created a raidz1 pool, and used a >> patched gptzfsboot that I cross-compiled on my 7.2 i386 box for the >> bootcode (applied to all 4 disks). >> >> If only I had remembered to patch my /usr/src tree before rebuilding >> world >> and rebooting... *sigh* Once more unto the fixit breach... :) > > This (and the committed version) had been working fine for me on my stock > amd64 CURRENT system until I rebuilt world/kernel on 5/30 and rebooted. I > get the following error on boot (hand transcribed so hopefully I didn't > screw it up): > ************************************************************ > ZFS: i/o error - all block copies unavailable > ZFS: can't read object set for dataset lld > Can't find root filesystem - giving up > ZFS: unexpected object set type lld > ZFS: unexpected object set type lld > > FreeBSD/i386 boot > Default: tank:/boot/kernel/kernerl > boot: > ZFS: unexpected object set type lld > > FreeBSD/i386 boot > Default: tank:/boot/kernel/kernel > boot: > ************************************************************ > > The previously working world/kernel was from 5/26. I haven't had much > time to troubleshoot until today. I can use the fixit CD to access the > ZFS pool with no issues; the problem appears to just be the boot code. I > cross-built a fresh world on my i386 system today, reinstalled everything > in /boot, reinstalled gptzfsboot, and still got the same results. > > What steps should I take to troubleshoot and resolve this? Anyone know how I should proceed? I'm really frustrated that I haven't been able to get this working. Thanks, -Jon