You are not logged in.

#1 2011-01-02 14:53:14

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Drive Failure on Software RAID

My Linux server has two identical 750 GB SATA drives & I received notification that the server has experienced a drive failure on /dev/sda. Each identical drive has three partitions on it:

/dev/sda:

  1. sda1 = swap

  2. sda2 = /boot

  3. sda3 = /

/dev/sdb:

  1. sdb1 = swap

  2. sdb2 = /boot

  3. sdb3 = /

Then I have three /dev/md0-1-2 (Software RAID) partitions:

  • /dev/md0 = swap

  • /dev/md1 = /boot

  • /dev/md2 = /

Now you can see my failure listed below:

root ~ # cat /proc/mdstat 
Personalities : [raid1] 
      
md2 : active raid1 sdb3[1]
      731977536 blocks [2/1] [_U]
      
md1 : active raid1 sdb2[1]
      96320 blocks [2/1] [_U]
      
md0 : active raid1 sda1[0] sdb1[1]
      497856 blocks [2/2] [UU]
      
unused devices: <none>

So from above it appears that /dev/sda has failed and now is replaced by a new identical spare drive. My question is how do I force the new drive /dev/sda to synchronize and repair the RAID?


./

Offline

Board footer

Powered by FluxBB