Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2011 14:32:28 -0600
From:      Jason Garrett <kingedgar@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Next ZFSv28 patchset ready for testing.
Message-ID:  <AANLkTi=WKdK2w7feTVXX28me6mmzFn0J1s8WWkRjA9Mi@mail.gmail.com>
In-Reply-To: <86lj1s3pv0.fsf@gmail.com>
References:  <20101213214556.GC2038@garage.freebsd.pl> <8662upxg76.fsf@gmail.com> <86lj1s3pv0.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 7, 2011 at 08:01, Anonymous <swell.k@gmail.com> wrote:

> Anonymous <swell.k@gmail.com> writes:
>
> > Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
> >
> >> The new patchset is ready for testing:
> >>
> >>      http://people.freebsd.org/~pjd/patches/zfs_20101212.patch.bz2
> >>
> >
> > `-e' option in zdb(8) now looks under /dev/dsk by default
> >
> >   $ zdb -ec blah
> >
> >   Configuration for import:
> >           vdev_children: 1
> >           version: 6
> >           vdev_tree:
> >               children[0]:
> >                   phys_path: '/dev/gptid/A-B-C-D-E'
> >                   path: '/dev/dsk/gptid/A-B-C-D-E'
> >   zdb: can't open 'blah': No such file or directory
> >   Exit 1
>
> How about below diff then?
>
> %%
> --- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c~
> +++ cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c
> @@ -1129,7 +1129,11 @@ zpool_find_import_impl(libzfs_handle_t *
>        char *end, **dir = iarg->path;
>        size_t pathleft;
>        nvlist_t *ret = NULL;
> +#ifdef sun
>        static char *default_dir = "/dev/dsk";
> +#else
> +       static char *default_dir = "/dev";
> +#endif
>        pool_list_t pools = { 0 };
>        pool_entry_t *pe, *penext;
>        vdev_entry_t *ve, *venext;
> %%
>
> >
> >   $ zdb -p /dev -ec blah
> >
> >   Traversing all blocks to verify metadata checksums and verify nothing
> leaked ...
> >   Assertion failed: (mp->initialized == B_TRUE), file
> /usr/src/cddl/lib/libzpool/../../../cddl/contrib/opensolaris/lib/libzpool/common/kernel.c,
> line 130.
> >   Exit 134
>
> I can't reproduce anymore, at least as of ch188544.
>

Has there been any recent developments with these patches (eg. Will they
apply and build on latest checkouts?) ?

> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=WKdK2w7feTVXX28me6mmzFn0J1s8WWkRjA9Mi>