bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GPT: evms vs. parted


From: Andrew Schulman
Subject: GPT: evms vs. parted
Date: Tue, 05 Sep 2006 04:59:27 -0400

It seems that evms and parted disagree about what a GPT disk label should
look like.  Each program calls the other's GPT label "corrupt".  (Fighting
words!)

When I use evms to add the GPT segment manager to a disk, then exit evms,
start parted, and type 'print', parted says:

Error: Both the primary and backup GPT tables are corrupt.  Try making a
fresh table, and using Parted's rescue feature to recover partitions.

OTOH if I create a GPT disk label in parted, then when I start evms it
says:

GptSegMgr: Primary GPT Header is missing or corrupt.  Marking sdb_metadata1
dirty to correct the problem.

(And unfortunately, evms is then unable to save the revised metadata,
saying:

Engine: EVMS cannot backup metadata while changes are pending.

Engine: The changes were saved successfully, but the backup of the metadata
failed with error code 1: Operation not permitted

so I have to either quit without saving, or remove the GPT segment manager.
But that's a separate problem.)

Not having dug into the details of GPT disk labels, I can't say which
program is wrong, but clearly at least one of them is.  Is this a known
issue?  Anyone have any idea what the source of the discrepancy is?

Thanks,
Andrew.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]