Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2007 13:32:13 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: New g_part class
Message-ID:  <5A84E040-670F-456F-BA3B-338FC815B0A6@mac.com>
In-Reply-To: <eqdfjm$5c3$1@sea.gmane.org>
References:  <45C98F32.20308@enderzone.com> <99017.1170839681@critter.freebsd.dk> <eqdfjm$5c3$1@sea.gmane.org>

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

On Feb 7, 2007, at 1:16 PM, Ivan Voras wrote:

> Ok, the need for sysctl kern.geom.debugflags=16 arises because the  
> live
> system to be used as master has mounted partitions, and those  
> partitions
> span the whole disk, thus conflict with gmirror which wants to use the
> last sector. Since using the last sector for metadata is The Official
> Way, how about making such conflicts easy to avoid, like for example
> building additional logic in g_part to create partitions one sector
> smaller than the container?

This cannot generally be done. The GPT partition scheme puts a backup
of the header sector in the very last sector on disk, as per the specs.

-- 
Marcel Moolenaar
xcllnt@mac.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A84E040-670F-456F-BA3B-338FC815B0A6>