Hm,

I guess there were similar problems and questions some time ago, which I
followed a little bit and I was told that you have to "fdisk" the disks
as "fd" to use them in a raid again.
The value "fd" has to be typed in as the partition-type of the disks.
Hope, I am right (but I think, it remember it in the right way).

Greetings, Dietmar

Michael McLagan wrote:
> 
> 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!

-- 
A guess may be one solution but not the only one ;-)

Dietmar Stein, Systemadministrator UNIX/Linux
[EMAIL PROTECTED], [EMAIL PROTECTED]

Reply via email to