From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 7 05:10:07 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64D09106566C for ; Mon, 7 Nov 2011 05:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB468FC16 for ; Mon, 7 Nov 2011 05:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pA75A7Li010673 for ; Mon, 7 Nov 2011 05:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pA75A7x2010669; Mon, 7 Nov 2011 05:10:07 GMT (envelope-from gnats) Date: Mon, 7 Nov 2011 05:10:07 GMT Message-Id: <201111070510.pA75A7x2010669@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jeff Lawson Cc: Subject: Re: kern/162342: FreeBSD hides gpt labels after mounting ZFS partitions X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeff Lawson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 05:10:07 -0000 The following reply was made to PR kern/162342; it has been noted by GNATS. From: Jeff Lawson To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/162342: FreeBSD hides gpt labels after mounting ZFS partitions Date: Sun, 6 Nov 2011 22:43:34 -0600 --14dae9340981c92a0604b11db384 Content-Type: text/plain; charset=UTF-8 My /etc/zfs/zpool.cache indeed references only the /dev/gptid/ GUIDs for the drives. In my case, I added the drive to the pool with its GPT label using a /dev/gpt/ specifier. I verified that "zpool status" showed the new drive being resilvered and that it used a gpt label. After the resilver completed, I rebooted, had to use "zpool import", and observed that "zpool status" now used a gptid for both drives. Regardless of whether ZFS is using gptid to access a disk, I don't see why the label should disappear. It should continue to be available as an alias if the user wants to reference it. --14dae9340981c92a0604b11db384 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My /etc/zfs/zpool.cache indeed references only the /dev/gptid/ GUIDs for th= e drives.=C2=A0 In my case, I added the drive to the pool with its GPT labe= l using a /dev/gpt/ specifier.=C2=A0 I verified that "zpool status&quo= t; showed the new drive being resilvered and that it used a gpt label.=C2= =A0 After the resilver completed, I rebooted, had to use "zpool import= ", and observed that "zpool status" now used a gptid for bot= h drives.

Regardless of whether ZFS is using gptid to access a disk, I don't = see why the label should disappear.=C2=A0 It should continue to be availabl= e as an alias if the user wants to reference it.
--14dae9340981c92a0604b11db384--