Re: md array numbering is messed up

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

 



Neil Brown wrote:
> On Sunday October 29, peb-misc@xxxxxxxxxx wrote:
>> Hi,
>>
>> I have 2 arrays whose numbers get inverted, creating havoc, when booting
>> under different kernels.
>>
>> I have md0 (raid1) made up of ide drives and md1 (raid5) made up of five
>> sata drives, when booting with my current ubuntu 2.6.12-9 kernel. When I
>> try to boot a more recent kernel (2.6.15-26 or 2.6.15-27) the
>> order is inversed and my sata raid5 array shows up as md0.
>>
>> My arrays are part of evms volumes that just stop working if the
>> numbering is inverted.
>>
>> any clues ?
> 
> Your arrays are being started the wrong way.
> Do you have an mdadm.conf that lists the arrays?  Can you show us what
> it looked like?
> If not, do you know how the arrays are started in ubuntu?

My guess is that it's using mdrun shell script - the same as on Debian.
It's a long story, the thing is quite ugly and messy and does messy things
too, but they says it's compatibility stuff and continue shipping it.

For the OP, the solution is to *create* mdadm.conf file - in that case
mdrun should hopefully NOT run.

/mjt
-
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