On Tuesday May 23, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I have some recovery problems with RAID1.
> (raidtools 0.90)
> I use Red Hat Linux 6.1 and I have two partitions mirrored (hda8 and hdc8).
> If I loose the second part of the mirror I don't have any problems.
> I can recreate the RAID1 with raidhotadd /dev/md0 /dev/hdc8.
> But if I loose the first mirror Red Hat Linux fails to boot because
> of an invalid RAID configuration.
> Does anybody know that problem and has maybe a solution ?
> 
> Thanks
> Thomas

You are probably not using the "CONFIG_AUTODETECT_RAID" feature
whereby you mark the raid partitions with a special parition type
(0xfd) and then the raid arrays are automagically configured at boot
time. 

Instead, you (or your boot scripts) are  relying on "raidstart"
to start the array.

Unfortunately, raidstart cannot be trusted, it has a number of failure
modes.  In particular:

  - The device listed first in raidtab must be available.
  - All device must be available under their original name (i.e. if you
    have added a scsi disc and all your device names have changed,
    raidstart will not work).

I am hoping to get improved raidstart functionality into 2.4 (patches
for kernel-side fixes are with Ingo) but for now you should make sure
that you have compiled your kernel with CONFIG_AUTODETECT_RAID, and
you should set the partition types of your raid partitions to 0xFD.

NeilBrown

Reply via email to