Re: zpool get all: Assertion failed / Abort (core dumped)

2016-12-01 Thread Miroslav Lachman

Steven Hartland wrote on 2016/12/02 02:06:

Are you sure your kernel and world are in sync?


Yes, built from sources on our build server and then distributed by NFS 
to all machines:


# freebsd-version -u
10.3-RELEASE-p12

# freebsd-version -k
10.3-RELEASE-p12



On 01/12/2016 23:53, Miroslav Lachman wrote:

There is some minor problem with "zpool get all" command if one of two
pools is unavailable:

# zpool get all
Assertion failed: (nvlist_lookup_nvlist(config, "feature_stats",
) == 0), file
/usr/src/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzfs/common/libzfs_config.c,
line 250.
Abort (core dumped)


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: zpool get all: Assertion failed / Abort (core dumped)

2016-12-01 Thread Steven Hartland

Are you sure your kernel and world are in sync?

On 01/12/2016 23:53, Miroslav Lachman wrote:
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", 
) == 0), file 
/usr/src/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzfs/common/libzfs_config.c, 
line 250.

Abort (core dumped)


# zpool list
NAMESIZE  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-0UNAVAIL  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:

NAMESTATE 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
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"