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
_______________________________________________
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"

Reply via email to