Re: grub2/grub-pc install not possible on mdadm

From
John Robinson <hidden>
Date
2012-03-05 09:38:34
Reply to
Stefan Priebe - Profihost AG, 2012-03-05
On 05/03/2012 07:50, Stefan Priebe - Profihost AG wrote:
Am 02.03.2012 16:32, schrieb Lars Täuber:
quoted
Hi Stefan,

the metadata versions 1.0 and 1.1 and 1.2 are the same but for the position of
the metadata on disk. Simply use metadata version 1.0 and everything works as
with 0.9.

Grub does to read partition tables inside raid devices.
Sure it does, but that's not the point.
quoted
Because a raid1 with metadata 1.0 or 0.9 looks like a plain disk to grub it
can read a partition table like there was no raid array.
For the fourth time, no.

Because a RAID1 with metadata 0.9 or 1.0 looks like a plain disc to the BIOS, it can read a partition table like there was no RAID array, and therefore the BIOS can load GRUB.
Ah OK thanks. using Metadata 1.0 works fine.
It will work OK, but just be very, very careful never to run a GPT partition tool directly on /dev/sda or /dev/sdb, because it will write the backup of the GPT partition table at the end of the disc, potentially destroying the metadata for the array.

You would still be safer having partition tables on the drives, and building your array(s) from those partition(s), the opposite way round from how you are doing it just now.

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
Thread (22 messages) 22 messages, 4 authors, last reply 2012-03-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help