New g_part class
Marcel Moolenaar
xcllnt at mac.com
Wed Feb 7 21:50:15 UTC 2007
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 at mac.com
More information about the freebsd-geom
mailing list