[Bug 221408] "zpool online -e zroot mirror-2" - zpool tool crashes, core dumped

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 11 08:45:28 UTC 2017


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

            Bug ID: 221408
           Summary: "zpool online -e zroot mirror-2" - zpool tool crashes,
                    core dumped
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: b.yordanov2 at gmail.com

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 at 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)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list