From owner-freebsd-fs@FreeBSD.ORG Fri Jul 20 09:30:06 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48A9106564A for ; Fri, 20 Jul 2012 09:30:06 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF7D8FC14 for ; Fri, 20 Jul 2012 09:30:06 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so3340418wgb.31 for ; Fri, 20 Jul 2012 02:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=VPJb9B2EvbMwGBrt9e5KRFxanZpAECSQh2oRj22Bcr4=; b=Eh2isqgQmLotvrfiJ+3vUSHpe3T1BtY/Bjlq15I5hwCuAkbfBauxEOaAihxfqRXewR T/l2V1r/zdmTvGH655d99zGIn6593ahRj4pgawijqyZLf8hp4fdgjxyMw52G9Vo+5nmL lfjlzeVLAQGpHnOH/zkYfzOYkuFXezVz8Y/MN2YZbD5idqU8K03WBKkDwuhRcRnSWfwz gfluuvVJklnd3UKuofO4g44gNP44z9eu1gENZ1JIL6B3LFpT23loPAyRIWbJSH9T7l53 /bQCgLI6sUCzGCRfECLtrUr5kLgR4SJ2cX9lQlQgtFtBLgsk3cmNnfICm7xORpeXu6vi QjWA== Received: by 10.216.192.85 with SMTP id h63mr3211957wen.7.1342776604454; Fri, 20 Jul 2012 02:30:04 -0700 (PDT) Received: from [192.168.50.111] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id v5sm3297349eel.6.2012.07.20.02.30.02 (version=SSLv3 cipher=OTHER); Fri, 20 Jul 2012 02:30:03 -0700 (PDT) Message-ID: <5009251B.5010404@gmail.com> Date: Fri, 20 Jul 2012 11:30:03 +0200 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: zpool get all core dumps when no pool is active X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 09:30:06 -0000 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