Project

General

Profile

Actions

Bug #8897

closed

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

Added by Yuri Pankov over 5 years ago. Updated about 5 years 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:
Gerrit CR:
External Bug:

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

Actions #1

Updated by Yuri Pankov over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Yuri Pankov over 5 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
Actions #3

Updated by Electric Monk about 5 years 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>

Actions

Also available in: Atom PDF