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

Re: GPT Table broken on a Raid1

From: John Robinson <hidden>
Date: 2012-09-22 15:31:46

On 21/09/2012 23:43, Chris Murphy wrote:
On Sep 21, 2012, at 1:35 PM, Chris Murphy wrote:
quoted
If you're making the RAID with that, it defaults to metadata version 1.2. But to be sure
mdadm -E /dev/mdX
Scratch that. I was confused. Try these instead:

mdadm -–detail-platform
mdadm –D /dev/md/imsm
mdadm –E /dev/sdX
I don't think there's anything wrong here.

The kernel sees the whole discs, sda and sdb, and complains that the GPT 
partition table looks wrong becase the second copy isn't at the end of 
the discs. That's correct, at the end of the raw discs is the IMSM 
metadata. Once you've assembled the IMSM array with mdadm, the partition 
table inside /dev/md/Volume0 is correct.

You'd see the same thing with a native md device with metadata 0.90 or 
1.0 made from whole discs and with a GPT partition table inside.

Don't try to change the partition tables on /dev/sda and sdb or you will 
damage the IMSM metadata.

Cheers,

John.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help