From owner-freebsd-current@FreeBSD.ORG Wed Feb 23 21:01:35 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46B3E106566B for ; Wed, 23 Feb 2011 21:01:35 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C8BAB8FC0A for ; Wed, 23 Feb 2011 21:01:34 +0000 (UTC) Received: by wwb31 with SMTP id 31so415867wwb.31 for ; Wed, 23 Feb 2011 13:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=kAgcIE3i2iEive4LJxkVYEUoekibuoNOhbDDUbWq/Gw=; b=R2PnVBKrVzSeSTZPE9fUwpJsqeCO+MtnoyOT9oXyig0OJfDm2+9hY8NLf95TBNYrQy uCu9jLjW4NxYxJlyZPqHP0UmqwnzIUMLZu4wcIyZgJfzj45DNFbpwkZ7jdnqqi933HPw +etA7HzhkFxXT98wKGUa3mRU5R0rTlQhSSz+o= 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=oTxiiqGc11GD2E0o1e1K/++xBjaEa8LdhdMLAI4uAAt5SuAmTDcyONQtc3FfXgFQIn hcRWs0hzmp1qiM2gGPeegnuj5mxwenZqFJHrzXQ2mH0WFjf262O2PKzfUN7+5ZKOA4kO vLdGc90BQytsvJUbBiR8H5DogDWF4ZzDyKlY4= MIME-Version: 1.0 Received: by 10.216.163.69 with SMTP id z47mr4045087wek.43.1298493149410; Wed, 23 Feb 2011 12:32:29 -0800 (PST) Received: by 10.216.38.71 with HTTP; Wed, 23 Feb 2011 12:32:28 -0800 (PST) In-Reply-To: <86lj1s3pv0.fsf@gmail.com> References: <20101213214556.GC2038@garage.freebsd.pl> <8662upxg76.fsf@gmail.com> <86lj1s3pv0.fsf@gmail.com> Date: Wed, 23 Feb 2011 14:32:28 -0600 Message-ID: From: Jason Garrett To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Next ZFSv28 patchset ready for testing. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 23 Feb 2011 21:01:35 -0000 On Mon, Feb 7, 2011 at 08:01, Anonymous wrote: > Anonymous writes: > > > Pawel Jakub Dawidek 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" >