AHCI driver and static device names

CyberLeo Kitsana cyberleo at cyberleo.net
Thu Dec 15 01:16:42 UTC 2011

On 12/14/2011 03:20 PM, Rob wrote:
> Can glabels, gpt, and zfs all work together?  I have a system where I
> have disks with 4 gpt partitions. Partitions 2 and 3 are part of gmirror
> arrays, and partition 4 is part of a zfs pool.  glabel says it writes to
> the end of the partition, which I believe zfs also writes to doesn't it?

Yup. However, all nestable geoms protect their metadata (when it exists)
by providing a device that is smaller, so any nested consumer never even
sees the provider's metadata. The end of the glabel device to which zfs
writes its metadata in your implied example is actually several sectors
prior to the end of the device or partition to which glabel writes its

Explicit glabels are not strictly necessary with the GPT partitioning
scheme, since the glabel module can peek into the GPT data structure,
extract label names from there, and automatically create appropriate
/dev/gpt/ entries for those labels.

Fuzzy love,
Technical Administrator
CyberLeo.Net Webhosting
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/

More information about the freebsd-questions mailing list