Project

General

Profile

Bug #8897

zpool online -e fails assertion when run on non-leaf vdevs

Added by Yuri Pankov almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2017-12-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

# 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

History

#1

Updated by Yuri Pankov almost 2 years ago

  • Description updated (diff)
#2

Updated by Yuri Pankov almost 2 years ago

  • Subject changed from zpool online -e fails assertion when run on non-disk vdevs to zpool online -e fails assertion when run on non-leaf vdevs
#3

Updated by Electric Monk over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

git commit 9a551dd645b478816cb11251b19f5034d885bf01

commit  9a551dd645b478816cb11251b19f5034d885bf01
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2017-12-21T16:39:59.000Z

    8897 zpool online -e fails assertion when run on non-leaf vdevs
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF