Date: Fri, 20 Jul 2012 18:31:27 +0800 From: Marcelo Araujo <araujobsdport@gmail.com> To: Johan Hendriks <joh.hendriks@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: zpool get all core dumps when no pool is active Message-ID: <CAOfEmZikjfn3JToqYyi3Q288V3JNB8XaL-gfx8itoR%2Ba-qxjyg@mail.gmail.com> In-Reply-To: <5009251B.5010404@gmail.com> References: <5009251B.5010404@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Johan, I think it is the normal behavior on CURRENT, due by default there is the INVARIANTS support that will perform run-time assertion checks and tests to verify the integrity of kernel. I made the same test in one machine here using 9.1-BETA1 without INVARIANTS and it does not happen with me. INVARIANTS: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-options.html May you check if you have this option in your KERNEL? Or in case you are using the GENERIC, you must have it there. Best Regards, - Araujo 2012/7/20 Johan Hendriks <joh.hendriks@gmail.com> > Hello all. > > On my test machine with FreeBSD Current from 14-07-2012 i lost my zpool > due to a disconnected power supply. > I noticed when i do a zpool get all on a pool that is not active, zpool > core dumps. > I do not know if it should do this, but an error message that there are no > active pools would make it nicer. > > hast2 ~ # zpool status > pool: testpool > state: UNAVAIL > status: One or more devices could not be opened. There are insufficient > replicas for the pool to continue functioning. > action: Attach the missing device and online it using 'zpool online'. > see: http://illumos.org/msg/ZFS-**8000-3C<http://illumos.org/msg/ZFS-8000-3C> > scan: none requested > config: > > NAME STATE READ WRITE CKSUM > testpool UNAVAIL 0 0 0 > mirror-0 UNAVAIL 0 0 0 > 10238773687773245204 UNAVAIL 0 0 0 was > /dev/gpt/disk0 > 7739197258598802985 UNAVAIL 0 0 0 was > /dev/gpt/disk1 > hast2 ~ # zpool get all > Assertion failed: (nvlist_lookup_nvlist(config, "feature_stats", > &features) == 0), file /usr/src/cddl/lib/libzfs/../..** > /../cddl/contrib/opensolaris/**lib/libzfs/common/libzfs_**config.c, line > 250. > Abort trap: 6 (core dumped) > > It leaves a core file > -rw------- 1 root wheel 8990720 Jul 20 12:20 zpool.core > > Also a zpool get all testpool coredumps. > > regards > Johan Hendriks > Neuteboom Automatisering > ______________________________**_________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-fs<http://lists.freebsd.org/mailman/listinfo/freebsd-fs> > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org<freebsd-fs-unsubscribe@freebsd.org> > " > -- Marcelo Araujo araujo@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfEmZikjfn3JToqYyi3Q288V3JNB8XaL-gfx8itoR%2Ba-qxjyg>