[RFC][patch] Add to GEOM_PART ability to detect GPT with corrupted PMBR
Andrey V. Elsukov
ae at FreeBSD.org
Tue Dec 1 03:21:07 UTC 2015
Hi All,
Currently GEOM_PART doesn't try to detect GPT in case when it doesn't
find PMBR's signature. Thus the backup GPT header and table are useless
until PMBR will not be restored first.
The proposed patch changes this behavior. When we probing GPT and didn't
find the PMBR's signature, we will read the backup GPT header and table.
And if it is valid, GPT will be detected.
The same changes also added to loader(8). If you will be able to load
the loader from some media, it can detect damaged GPT and it is possible
to choose partition from damaged disk for loading.
https://reviews.freebsd.org/D4282
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20151201/5200d6be/attachment.bin>
More information about the freebsd-geom
mailing list