Hi, I was trying to expand my pool the other day and messed with the arguments of "zpool online -e". I ended up crashing the zpool command line tool by trying to expand on "mirror-2" instead of the underlying ada1p2. Further details and crash data below. Attached is the core dump. # uname -a FreeBSD backups.hostname.com 11.0-RELEASE-p12 FreeBSD 11.0-RELEASE-p12 #0: Wed Aug 9 10:03:39 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # zpool status pool: zroot state: ONLINE scan: scrub repaired 0 in 4h50m with 0 errors on Sat Aug 5 06:05:09 2017 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0p2 ONLINE 0 0 0 ada3p2 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 ada4p2 ONLINE 0 0 0 ada5p2 ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 ada1p2 ONLINE 0 0 0 ada2p2 ONLINE 0 0 0 errors: No known data errors # zpool online -e zroot mirror-2 Assertion failed: (nvlist_lookup_string(tgt, "path", &pathname) == 0), file /usr/src/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c, line 2410. Abort trap (core dumped)
Created attachment 185277 [details] zpool.core dump
Reported upstream: https://www.illumos.org/issues/8897
should be fixed in base r328232
Adding mav@ to CC list as he did merge the fix from upstream.