Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 16:42:42 -0700
From:      <dteske@FreeBSD.org>
To:        "'Garrett Cooper'" <yaneurabeya@gmail.com>, <sbruno@freebsd.org>
Cc:        dteske@freebsd.org, 'freebsd-current' <freebsd-current@freebsd.org>
Subject:   RE: loader lszfs command
Message-ID:  <095501cfb299$4872b090$d95811b0$@FreeBSD.org>
In-Reply-To: <CAGHfRMCz024-USJKWpzvu6eVQNzhEneUnws8vxH9zcSgAMGMkA@mail.gmail.com>
References:  <091101cfb284$f616cbb0$e2446310$@FreeBSD.org>	<1407453344.5935.3.camel@bruno> <CAGHfRMCz024-USJKWpzvu6eVQNzhEneUnws8vxH9zcSgAMGMkA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----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
>=20
> Hi Devin!
>=20
> On Thu, Aug 7, 2014 at 4:15 PM, Sean Bruno <sbruno@ignoranthack.me>
> 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=3Drevision&revision=3D241284
> >>
> >> 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
>=20
>     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.

Some info:

devin@scribe10 ~ $ uname -a
FreeBSD scribe10 10.0-RC1 FreeBSD 10.0-RC1 #0 r259068: Sat Dec  7 =
17:45:20 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC =
 amd64

devin@scribe10 ~ $ zpool get version
NAME      PROPERTY  VALUE    SOURCE
bootpool  version   -        default
zroot     version   -        default

devin@scribe10 ~ $ zfs get version
NAME                                    PROPERTY  VALUE    SOURCE
bootpool                                version   5        -
zroot                                   version   5        -
zroot/ROOT                              version   5        -
zroot/ROOT/default                      version   5        -
zroot/ROOT/default@2014-08-04-19:38:24  version   5        -
zroot/ROOT/test                         version   5        -
zroot/tmp                               version   5        -
zroot/usr                               version   5        -
zroot/usr/home                          version   5        -
zroot/usr/ports                         version   5        -
zroot/usr/ports.RELEASE_9_1_0           version   5        -
zroot/var                               version   5        -
zroot/var/crash                         version   5        -
zroot/var/log                           version   5        -
zroot/var/mail                          version   5        -
zroot/var/tmp                           version   5        -

Maybe if I update boot0 to a HEAD copy maybe?
Have already tried updating /boot/loader with no change.
--=20
Devin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?095501cfb299$4872b090$d95811b0$>