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

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

 



On 05/03/2012 07:50, Stefan Priebe - Profihost AG wrote:
Am 02.03.2012 16:32, schrieb Lars Täuber:
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.

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux