Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 08:45:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221408] "zpool online -e zroot mirror-2" - zpool tool crashes, core dumped
Message-ID:  <bug-221408-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221408

            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@FreeBSD.org
          Reporter: b.yordanov2@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 tryin=
g 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=20=20=20=20
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) =3D=3D 0), =
file
/usr/src/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzfs/commo=
n/libzfs_pool.c,
line 2410.
Abort trap (core dumped)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221408-8>