Re: Why is my raid 1 boot/root not working with autodetect?

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

 



On Fri, 19 Jun 2009, Fredrik Pettersson wrote:
On Fri, 19 Jun 2009, Neil Brown wrote:
 However I recommend and you only use autodetect for the boot device,
 and allow mdadm to assemble all the rest.
 So change the partition type of sdc2 and sdb2 to something else
 e.g. 0xDA.
 Then auto-detect will ignore them, mdadm will find and assemble them,
 and all with be happy.

 NeilBrown


Now this sounds promising. So what you say is that if I just go with autodetect for the boot device (in my case md0, sdb1 + sdc1), then later in the boot process when mdadm is started it will create the other raid devices even though they are not set as 0xFD? I will test that, thanks for the advice.

That worked great, and achieved what I was looking for which was to reduce the kernel boot parameters (one less place to remember to keep up to date when adding new partitions and raid devices).

Thanks again,

/Fredrik Pettersson
--
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