Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2011 04:20:10 GMT
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/162342: FreeBSD hides gpt labels after mounting ZFS partitions
Message-ID:  <201111070420.pA74KAav060353@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR kern/162342; it has been noted by GNATS.

From: Garrett Wollman <wollman@hergotha.csail.mit.edu>
To: jeff@bovine.net
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/162342: FreeBSD hides gpt labels after mounting ZFS partitions
Date: Sun, 6 Nov 2011 23:17:04 -0500 (EST)

 jeff@bovine.net submitted the following bug report:
 
 >If you use "gpart" to create a GPT disk with partitions that have gpt
 >labels defined, then those labels are normally visible in /dev/gpt/
 >
 >However, once any of those partitions are used by a ZFS pool that is
 >imported, the label disappears from /dev/gpt/
 
 Not in my experience.  They only disappear if ZFS is opening the
 underlying partition devices rather than the label devices -- i.e., in
 the usual case, you did a "zpool create foo /dev/ada0p2 /dev/ada1p2"
 rather than "zpool create foo /dev/gpt/data0 /dev/gpt/data1".  I
 suppose that if you created the filesystem on another device and let
 "zfs import" find it by groveling around through all the GEOM
 providers on the system, this might happen.
 
 What does "strings /boot/zfs/zpool.cache | fgrep /dev" say?
 
 -GAWollman
 



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