Date: Fri, 2 Dec 2016 00:53:40 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: zpool get all: Assertion failed / Abort (core dumped) Message-ID: <5840B804.2080500@quip.cz>
next in thread | raw e-mail | index | archive | help
There is some minor problem with "zpool get all" command if one of two pools is unvailable: # 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 (core dumped) # zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT ssdtank1 - - - - - - - UNAVAIL - tank0 1.80T 1.08G 1.80T - 0% 0% 1.00x ONLINE - I understand that it cannot work properly but I think it should not core dumped. Pool details: # zpool status pool: ssdtank1 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 ssdtank1 UNAVAIL 0 0 0 mirror-0 UNAVAIL 0 0 0 17880119912861428605 UNAVAIL 0 0 0 was /dev/gpt/ssd0tank1 17492271345202510424 UNAVAIL 0 0 0 was /dev/gpt/ssd1tank1 pool: tank0 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank0 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/disk0tank0 ONLINE 0 0 0 gpt/disk1tank0 ONLINE 0 0 0 errors: No known data errors # uname -srmi FreeBSD 10.3-RELEASE-p12 amd64 GENERIC Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5840B804.2080500>