Koozali.org: home of the SME Server

Raid recovery

Laurent DINCLAUX

Raid recovery
« on: October 31, 2003, 01:58:22 AM »
Here what I have:

Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hda3[0] hdc3[1]
      264960 blocks [2/2] [UU]
   
md1 : active raid1 hdc2[1]
      80043776 blocks [2/1] [_U]
     
md0 : active raid1 hda1[0] hdc1[1]
      104320 blocks [2/2] [UU]
     

unused devices:


Last known good configuration was:

Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hda3[0] hdc3[1]
      264960 blocks [2/2] [UU]
     
md1 : active raid1 hda2[0] hdc2[1]
      80043776 blocks [2/2] [UU]
     
md0 : active raid1 hda1[0] hdc1[1]
      104320 blocks [2/2] [UU]


So /sbin/raidhotadd /dev/md1 /dev/hda2 should rebuild the raid array, isn't it ? or do I have to swap the disks ??

Dan Brown

Re: Raid recovery
« Reply #1 on: October 31, 2003, 02:58:09 AM »
That raidhotadd command should do the trick.

Laurent DINCLAUX

Re: Raid recovery
« Reply #2 on: October 31, 2003, 03:19:42 AM »
Thanks I backup my data and I'll give it a try.