Hello,

   I have a 2 disk RAID1 array, /dev/sda2 and /dev/sdb2.  sda has failed, at 
least won't run reliably for very long.  sdb2 has taken over and is acting as 
the data source for the array.

   I had tried to re-use the drive after a reformat.  What I did was a straight 
forward:

   raidhotadd /dev/md0 /dev/sda2

What happened was sda2 was added as a spare disk, mirror 2.  The disks resynced 
and I rebooted, but the array kept using sda2 as mirror 2.  The config file in 
/etc/raidtab says that /dev/sda2 is supposed to be mirror 0.

   The drive has failed again, and I have replaced it.  The array is currently 
running on /dev/sdb2 in degraded mode.  What I need to know is how to get sda2 
back into the array as mirror 0 as it should be.

   Something of a raid recovery howto would be a good thing.

   Michael McLagan
   Linux Online!

Reply via email to