From owner-freebsd-fs@FreeBSD.ORG Fri Jul 20 10:31:29 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9779F106566B for ; Fri, 20 Jul 2012 10:31:29 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4FA518FC08 for ; Fri, 20 Jul 2012 10:31:29 +0000 (UTC) Received: by yhfs35 with SMTP id s35so4484756yhf.13 for ; Fri, 20 Jul 2012 03:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1iX0f0BL/Ahv5dzBNi3wmMHLfH3H9AN6VH3RbQh16AQ=; b=mihbDO8SqWx01ttJyT7BQp188/RlrdXyU4R22RZgfMkSYOZvlAjn3tlqbOdNoGj76I A3pE6vqu3SZEzCM5jrv0OB8jywsBiAx2AYX2dATVs2RKBnWRpQOKFR5rpXSXwHo5gqjS GqIVPcBbQdQaDplVINfWBb9y9c1ppBnQvxhAFo6PgdUdyMyuzblnjUB88NLS/2V2qeou xsB0Mr1B5hm7YACmTqM0IW235ljx0hbRow0TbWYaH65UzSxDTV8WKZ20wbVFzIQ7QqWE s+weHCIBFMbS69OoiEWmvU46crV238IpMw+QRSoCfu80HALJVF5wjw4nZ3PqO7D0yV/B b7FQ== MIME-Version: 1.0 Received: by 10.60.8.8 with SMTP id n8mr6487022oea.38.1342780287811; Fri, 20 Jul 2012 03:31:27 -0700 (PDT) Received: by 10.76.71.42 with HTTP; Fri, 20 Jul 2012 03:31:27 -0700 (PDT) In-Reply-To: <5009251B.5010404@gmail.com> References: <5009251B.5010404@gmail.com> Date: Fri, 20 Jul 2012 18:31:27 +0800 Message-ID: From: Marcelo Araujo To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: zpool get all core dumps when no pool is active X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: araujo@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 10:31:29 -0000 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 > 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 > 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 > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org > " > -- Marcelo Araujo araujo@FreeBSD.org