]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/unbound/libunbound/python/doc/examples/example7-2.py
MFV r328231: 8897 zpool online -e fails assertion when run on non-leaf vdevs
authorAlexander Motin <mav@FreeBSD.org>
Sun, 21 Jan 2018 23:53:56 +0000 (23:53 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sun, 21 Jan 2018 23:53:56 +0000 (23:53 +0000)
commit9b347baa3ac4b8472dd0d3bc7e825cbd82405619
tree771427c33c831848e15b4c62714a772f1a42b89d
parent226cd471b4f70b704481c2537f1e6185ba1bcf8d
parentadbaf378293ad9762b2d9ad2725e11ae8144ea58
MFV r328231: 8897 zpool online -e fails assertion when run on non-leaf vdevs

illumos/illumos-gate@9a551dd645b478816cb11251b19f5034d885bf01

https://www.illumos.org/issues/8897:
# zpool online -e test mirror-1
Assertion failed: nvlist_lookup_string(tgt, "path", &pathname) == 0, file ../common/libzfs_pool.c, line 2558, function zpool_vdev_online
Abort (core dumped)

Not a big deal per se, but should be handled gracefully, same way as 'offline' and 'online' without '-e'.

Also reported as: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221408

Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Yuri Pankov <yuri.pankov@nexenta.com>
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c