My server's acting a bit weird. It's a Virtualmin install on a minimal CentOS 6.2 system (the only thing I needed to set before the VM install was the hostname). Installed about 10 days ago.
Last night md2_raid1 was taking up about 15% of cpu and the loads were higher than normal for about 40 minutes or so. I checked both drives (Raid 1) via the smart monitor in Webmin and no errors were reported. In the end I just rebooted the server and it seemed fine after that.
Then about an hour ago I went on one of my sites and it was not resolving, looking at top stats it wasn't showing any php-cgi connections to any of my sites. So I restarted bind, but still nothing. So I rebooted the server and it's all working again now.
Any ideas how to troubleshoot what's going on? Or how I can check that raid is set-up correctly?
Here's the output from var/log/messages - the problem seems to have occurred at around 20:13
Pastie 1: http://pastie.org/4063664 Pastie 2: http://pastie.org/4063677
Thanks in advance for any help.

Howdy, It's possible that
Howdy,
It's possible that the RAID somehow got out of sync, and that it was simply being corrected.
What does this command show:
cat /proc/mdstatAlso, what about this command:
dmesg | tail -30cat
cat /proc/mdstat
Personalities : [raid1] md1 : active raid1 sdb2[1] sda2[0] 524276 blocks super 1.0 [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 2096116 blocks super 1.0 [2/2] [UU] md2 : active raid1 sdb3[1] sda3[0] 729952120 blocks super 1.0 [2/2] [UU](Although when I did that the night it had problems md0 had lots of numbers after the UU (not sure now if it was UU or U_))
dmesg | tail -30
Since then I have done a yum update, and noticed the kernal was updated:
Maybe that'll fix it? :/ (It's been fine since, *touch wood!*)
Yeah, what you're describing
Yeah, what you're describing makes it sound like the RAID somehow got out of sync.
I've seen that happen before in cases where nothing was wrong with the disk. So what is the problem then? I'm not quite sure!
But hopefully, that won't be a frequent occurrence :-) Especially with that kernel update.
-Eric
Thanks Eric - I hope it's the
Thanks Eric - I hope it's the last of it too :)
It's happening again :/Is it
It's happening again :/
Is it common for it to resync so often? Could there be a problem I need to look into?
Here's the results from cat /proc/mdstat:
Personalities : [raid1] md1 : active raid1 sdb2[1] sda2[0] 524276 blocks super 1.0 [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 2096116 blocks super 1.0 [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk md2 : active raid1 sdb3[1] sda3[0] 729952120 blocks super 1.0 [2/2] [UU] [======>..............] check = 32.6% (238493184/729952120) finish=133.7min speed=61232K/secIs it possible the datacenter set it up incorrectly? Any ideas how to check that it's all set-up ok?
Thanks in advance.
Edit: Just to add I left it overnight and it went through the resync and is fine today. Are resyncs regular occurrences? I don't remember it happening on my last server. :/
yes, checks usually happen
yes, checks usually happen once a week on centos 6. you can probably disable the cron job, but this doesn't mean I recommended this ;-)
Thanks, if this is normal
Thanks, if this is normal then I shall leave it be :)