From owner-freebsd-current@FreeBSD.ORG Fri Aug 8 00:10:20 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3650F49; Fri, 8 Aug 2014 00:10:19 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B11B52A73; Fri, 8 Aug 2014 00:10:19 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id h15so223022igd.11 for ; Thu, 07 Aug 2014 17:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=taJOnmD9gLOTY3y4B3RvPFInIH61QtyB2PIPqtYh6HE=; b=WzGr66KpMa+8ge8bYNI76UOJmqr3+10bMVTK0qNrLLiCxjlERz+L89MW7fb+D1KRHz /sjIzC3BoVwZ4feMTjYigSPKrDxdXqARVtblCDEwa+qBIDZbWjdgVuLOlGDxwEp59DEQ BHQlDQ3kG5hVlnb9Z7loTwPvfbqIOLCqVjjKrDD0+9UfOVaTd8AehXkaUf88dgO0/yt4 3DGJid815ZS6RKt8X6IhCzVNWzdEbJihiC0A5WGyLA0b6q6KHXmmXPqmyw3Vo5RzqLyp u7+phvjED7Pcjpw3pKUlM759bdSyyJf7iWkhj0uXIRef22Nn8Gcn0Aah+qcNPLt88qv8 /vfA== MIME-Version: 1.0 X-Received: by 10.42.68.66 with SMTP id w2mr7981922ici.74.1407456618954; Thu, 07 Aug 2014 17:10:18 -0700 (PDT) Received: by 10.50.76.229 with HTTP; Thu, 7 Aug 2014 17:10:18 -0700 (PDT) In-Reply-To: <095501cfb299$4872b090$d95811b0$@FreeBSD.org> References: <091101cfb284$f616cbb0$e2446310$@FreeBSD.org> <1407453344.5935.3.camel@bruno> <095501cfb299$4872b090$d95811b0$@FreeBSD.org> Date: Thu, 7 Aug 2014 17:10:18 -0700 Message-ID: Subject: Re: loader lszfs command From: Garrett Cooper To: dteske@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 00:10:20 -0000 On Thu, Aug 7, 2014 at 4:42 PM, wrote: > >> -----Original Message----- >> From: Garrett Cooper [mailto:yaneurabeya@gmail.com] >> Sent: Thursday, August 7, 2014 4:29 PM >> To: sbruno@freebsd.org >> Cc: dteske@freebsd.org; freebsd-current >> Subject: Re: loader lszfs command >> >> Hi Devin! >> >> On Thu, Aug 7, 2014 at 4:15 PM, Sean Bruno >> wrote: >> > On Thu, 2014-08-07 at 14:17 -0700, dteske@FreeBSD.org wrote: >> >> Hi, >> >> >> >> People have been pestering me to update the Forth code to present >> >> a menu of ZFS datasets (*cough* boot environments *cough*). >> >> >> >> Would love to, but existing code seems broken. >> >> >> >> Can *anybody* produce meaningful output from the following? >> >> >> >> http://svnweb.freebsd.org/base?view=revision&revision=241284 >> >> >> >> All I get on every system I've tried (multiple versions, including HEAD) >> >> produce the following: >> >> >> >> OK lszfs zroot >> >> ZFS: i/o error - all block copies unavailable >> >> operation not permitted >> >> >> >> It's really hard for me to start with something that's broken. Can >> >> I get confirmation that this doesn't appear to be working as intended? >> >> If so, I'll go ahead and try to fix it, but need to confirm that I'm ( a ) >> >> not >> >> crazy and ( b ) seeing the same thing everybody else is seeing. >> > >> > >> > Hrm ... this seems to work for me. (fairly recent 11-current) >> > >> > OK lszfs zroot >> > $MOS >> > $FREE >> > $ORIGIN >> > tmp >> > home >> > usr >> > var >> > tftpboot >> > poudriere >> > OK >> >> Is the installed version you have in synch with the kernel and >> zpool version for boot0, gptzfsboot, etc? > > Not sure how the kernel factors into all this, but I have a > 10.0-RC1 system. I was asking for information to help determine whether or not the loader could read the zpool metadata, because it's interesting why things worked for Sean and not for you :). Cheers! -Garrett