Koozali.org: home of the SME Server

raid1d issues

lilkev

raid1d issues
« on: December 19, 2005, 11:40:46 PM »
Hi All

Bizarre question for you all. I have a system at my clients, SME 6.5 with software RAID running. System had an Unexpected powerdown yesterday and now CPU has been running at 95%+ for 2 days. From what I can see the raid1d is the culprit and I imagine that it is going through and comparing everything between the two drives (2 x 400Gb). The problem is that the server is grinding along at a snails pace and the customer is screaming at me to make it go fast again.

Yes, I know, the stupid twits should not have unplugged it from the UPS, Yes I know it is not really my problem, but I need a way to either stop the RAID comparison/Re-build or Delay it to late at night.  Any Ideas?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: raid1d issues
« Reply #1 on: December 20, 2005, 05:33:29 AM »
lilkev

cat /proc/mdstat
...

lilkev

raid1d issues
« Reply #2 on: December 20, 2005, 05:39:06 AM »
Thanks Ray, that confirms what I suspected, that the RAID is Re-syncing......Is there something I can do about it? Can I make it drop to the Background? renice it to a lower priority? As you can see from the output below, it is going to take 2139mins (35 hours) and my customer will lynch me before then.

Any Further Suggestions.

Below is the output from /proc/mdstat

Kev

Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 hda3[0] hdb3[1]
      389399424 blocks [2/2] [UU]
      [========>............]  resync = 40.2% (156710952/389399424) finish=2139.6min speed=1809K/sec
md2 : active raid1 hda2[0] hdb2[1]
      1052160 blocks [2/2] [UU]

md0 : active raid1 hda1[0] hdb1[1]
      256896 blocks [2/2] [UU]

unused devices: <none>

stefan

raid1d issues
« Reply #3 on: December 20, 2005, 05:46:56 PM »
Hi Kev

One thing in your /proc/mdstat is very strange: The sync-speed with only 1809K/sec. is extremely slow! A look on my servers shows   normally approx. 48000K/sec. Are all settings for the hd's in the bios ok? DMA, PIO and so on?...

I had this failure also after an unattended shutdown (power lost) where the bios parameters for the hd's had changed. After right settings, all (also speed) was ok.

Regards
Stefan

Offline kruhm

  • *
  • 680
  • +0/-0
raid1d issues
« Reply #4 on: December 26, 2005, 03:36:07 PM »
most likely your hd's are not performing at peak:

http://forums.contribs.org/index.php?topic=28038.0