Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2021 08:50:52 -0500
From:      Abner Gershon <6731955@gmail.com>
To:        pjd@freebsd.org, freebsd-geom@freebsd.org
Subject:   Making gmirror metadata cooperate with gpt metadata
Message-ID:  <CADC2UYd%2B1hvOORErpHYvFMSGPeOqEd-M=oXiviqV6mRt2DZJMw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Disclaimer, I am not a programmer but have tinkered with shell and perl
scripts. Having said that, I think many would appreciate the option of
using gmirror with disks larger than 2T.

The reason this is currently impossible is due to GPT and gmirror both
trying to store metadata in the last disk sector.

MBR does not allow for partitioning of disk greater 2T.

Workaround to gmirror partitions rather than whole disk is less than ideal.

Lines 254-293 of geom_mirror.c =C2=AB mirror =C2=AB geom =C2=AB lib - src -=
 FreeBSD source
tree
<https://cgit.freebsd.org/src/tree/lib/geom/mirror/geom_mirror.c?h=3Dreleng=
/13.0>
relate
to clearing and storing metadata on last sector of disk.

What would be the ramifications of altering gmirror to store metadata on
the 2nd to last sector?

Am I looking at the correct region to alter this code?

-Abner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADC2UYd%2B1hvOORErpHYvFMSGPeOqEd-M=oXiviqV6mRt2DZJMw>