From owner-freebsd-bugs@freebsd.org Fri Aug 11 08:45:28 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B741D93313 for ; Fri, 11 Aug 2017 08:45:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09BF76774B for ; Fri, 11 Aug 2017 08:45:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7B8jRVc042798 for ; Fri, 11 Aug 2017 08:45:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221408] "zpool online -e zroot mirror-2" - zpool tool crashes, core dumped Date: Fri, 11 Aug 2017 08:45:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: b.yordanov2@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 08:45:28 -0000 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.=