From owner-freebsd-bugs@freebsd.org Tue Jul 31 18:38:35 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC62A10611FE for ; Tue, 31 Jul 2018 18:38:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 79F057637E for ; Tue, 31 Jul 2018 18:38:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3B43610611FD; Tue, 31 Jul 2018 18:38:34 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 003EB10611FC for ; Tue, 31 Jul 2018 18:38:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94BBE7637D for ; Tue, 31 Jul 2018 18:38:33 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E2ABA11F6D for ; Tue, 31 Jul 2018 18:38:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6VIcWOf029050 for ; Tue, 31 Jul 2018 18:38:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6VIcWxp029048 for bugs@FreeBSD.org; Tue, 31 Jul 2018 18:38:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230246] GPT label mishandling Date: Tue, 31 Jul 2018 18:38:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mason@blisses.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2018 18:38:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230246 Bug ID: 230246 Summary: GPT label mishandling Product: Base System Version: 11.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mason@blisses.org Observed: root@:~ # gmirror label -v efi gpt/freebsd-efi0 gpt/freebsd-efi1 Metadata value stored on gpt/freebsd-efi0. Metadata value stored on gpt/freebsd-efi1. Done. root@:~ # ls /dev/gpt ls: /dev/gpt: No such file or directory root@:~ # gmirror destroy efi root@:~ # ls /dev/gpt freebsd-boot0 freebsd-efi1 freebsd-swap0 gentoo-efi1 freebsd-boot1 freebsd-root0 freebsd-swap1 gentoo-root0 freebsd-efi0 freebsd-root1 gentoo-efi0 gentoo-root1 root@:~ # gmirror label -v efi gpt/freebsd-efi0 gpt/freebsd-efi1 Metadata value stored on gpt/freebsd-efi0. Metadata value stored on gpt/freebsd-efi1. Done. root@:~ # ls /dev/gpt ls: /dev/gpt: No such file or directory root@:~ # with kern.geom.mirror.debug=3D1: GEOM_MIRROR: Device mirror/efi launched (2/2). GEOM_MIRROR: Device efi: provider destroyed. GEOM_MIRROR: Device efi destroyed. GEOM_MIRROR: Device mirror/efi launched (2/2). GEOM_MIRROR: Device efi: provider destroyed. GEOM_MIRROR: Device efi destroyed. GEOM_MIRROR: Device mirror/efi launched (2/2). GEOM_MIRROR: Device efi: provider destroyed. GEOM_MIRROR: Device efi destroyed. GEOM_MIRROR: Device mirror/efi launched (2/2). GEOM_MIRROR: Device efi: provider destroyed. GEOM_MIRROR: Device efi destroyed. GEOM_MIRROR: Device mirror/efi launched (2/2). GEOM_MIRROR: Device efi: provider destroyed. GEOM_MIRROR: Device efi destroyed. GEOM_MIRROR[1]: Creating device efi (id=3D426299166). GEOM_MIRROR[1]: Device efi created (2 components, id=3D426299166). GEOM_MIRROR[1]: root_mount_hold 0xfffff80008aa8540 GEOM_MIRROR[1]: Adding disk diskid/DISK-CVDA5066005L1207GNp1 to efi. GEOM_MIRROR[1]: Disk diskid/DISK-CVDA5066005L1207GNp1 state changed from NO= NE to NEW (device efi). GEOM_MIRROR[1]: Device efi: provider diskid/DISK-CVDA5066005L1207GNp1 detec= ted. GEOM_MIRROR[1]: Adding disk diskid/DISK-PNY20162178980100273p1 to efi. GEOM_MIRROR[1]: Disk diskid/DISK-PNY20162178980100273p1 state changed from = NONE to NEW (device efi). GEOM_MIRROR[1]: Device efi: provider diskid/DISK-PNY20162178980100273p1 detected. GEOM_MIRROR[1]: Device efi state changed from STARTING to RUNNING. GEOM_MIRROR[1]: Disk diskid/DISK-PNY20162178980100273p1 state changed from = NEW to ACTIVE (device efi). GEOM_MIRROR[1]: Device efi: provider diskid/DISK-PNY20162178980100273p1 activated. GEOM_MIRROR[1]: Disk diskid/DISK-CVDA5066005L1207GNp1 state changed from NE= W to ACTIVE (device efi). GEOM_MIRROR[1]: Device efi: provider diskid/DISK-CVDA5066005L1207GNp1 activated. GEOM_MIRROR[0]: Device mirror/efi launched (2/2). GEOM_MIRROR[1]: root_mount_rel[2570] 0xfffff80008aa8540 markj on efnet suggested adding the partitions without referencing gpt labe= ls, and on doing that I could make the mirror without losing /dev/gpt. --=20 You are receiving this mail because: You are the assignee for the bug.=