Koozali.org: home of the SME Server

rebuilding software raid

Offline kruhm

  • *
  • 680
  • +0/-0
rebuilding software raid
« on: July 03, 2005, 07:26:40 PM »
i'm having trouble rebuilding my raid. I followed dmay's instructions but everytime the raid rebuild reaches a certain point, the server fails. I can ping the server but can't ssh login to it. I have to reset the box.

it seems to fail around the same time. i've tried it twice with one drive and once with a brand new drive. same problem.

SME v6, server-only, software raid 1
Last output of cat/proc/mdstat
Quote

Current configuration is:

Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hda3[0] hdc3[1]
      264960 blocks [2/2] [UU]
     
md1 : active raid1 hda2[2] hdc2[1]
      194988864 blocks [2/1] [_U]
      [============>........]  recovery = 62.0% (121011352/194988864) finish=1070.7min speed=1149K/sec
md0 : active raid1 hda1[0] hdc1[1]
      104320 blocks [2/2] [UU]
     
unused devices: <none>


any direction would be appreciated.

Offline irian

  • *
  • 184
  • +0/-0
rebuilding software raid
« Reply #1 on: July 05, 2005, 01:10:01 PM »
could it be that the source drive from which you are building
the mirror has bad blocks/sectors or something?

MdV

Offline kruhm

  • *
  • 680
  • +0/-0
rebuilding software raid
« Reply #2 on: July 05, 2005, 01:46:20 PM »
i was starting to look in that direction as well. looking through the logs on an earlier attempt, i noticed:
Quote

kernel: hdc: status timeout: status=0xd0 { Busy }
kernel:
kernel: hdc: no DRQ after issuing WRITE
kernel: ide1: reset: success

i'm not an expert at the software raids but i read this could be a kernel error having trouble recognizing SCSI host adapter emulation for IDE devices. Or a bad cable.

however, when i rebooted it automatically began rebuilding the array. i decided to let it go through and 36 hours later everything seemed like it ended OK.

Offline irian

  • *
  • 184
  • +0/-0
rebuilding software raid
« Reply #3 on: July 06, 2005, 02:49:43 PM »
I have had the same experience.
After a reboot and rebuild all is running fine again.

MdV