Thread (37 messages) flat view 37 messages, 6 authors, 2012-09-27

Re: GPT Table broken on a Raid1

From: John Robinson <hidden>
Date: 2012-09-24 09:37:31

On 23/09/2012 19:53, Chris Murphy wrote:
[...]
Upon creating a GPT on /dev/md/vol0, identical structures at identical byte offsets are created on /dev/sd[bc] and /dev/md/vol0.

The primary GPT header says the alternate header is at 0xffdfff.
The alternate GPT header is at 0xffdfff., or sector 16769023, right where it should be.

Regardless of whether the kernel sees the disk as Intel RAID or a bare disk, it finds the alternate GPT header, and doesn't complain about anything.
Yes, it does. It finds the alternate header just fine, according to the 
offset in the primary header, but warns that it's not at the end of the 
disc, which is where it expected to find it:

Sep 17 09:54:27 techz kernel: [    1.204681] GPT:Primary header thinks Alt.
header is not at the end of the disk.
Sep 17 09:54:27 techz kernel: [    1.204685] GPT:625137663 != 625142447
Sep 17 09:54:27 techz kernel: [    1.204687] GPT:Alternate GPT header 
not at
the end of the disk.
Sep 17 09:54:27 techz kernel: [    1.204689] GPT:625137663 != 625142447

I know that's not what I said earlier, so my apologies for that, but it 
remains true that this is not a problem and there are no more GPT 
headers anywhere else on the disc than those written inside the IMSM volume.

Cheers,

John.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help