I have a CentOS server with RAID5. Every time RAID5 re-syncs my server stop working. The hosting company stopped the httpd service so that RAID5 can re-sync itself, a process which can take as long as 3-4 hours.
The problem reoccurs frequently, so the Hosting company swaped my server hardware and I migrated to new hardware. I still have this problem (on the new server).
Is this something normal in RAID5? How can we solve this issue permanently? If every time RAID5 wants to re-sync my server overloads and my website will not be accessible, then RAID5 sucks.
I would really appreciate if you can suggest a solution for this disaster.
Here is /proc/mdstat report:
root@host [~]# watch 'cat /proc/mdstat' Every 2.0s: cat /proc/mdstat Mon May 9 01:25:30 2011 Personalities : [raid1] md0 : active raid1 xvda1 xvdb1 104320 blocks [2/2] [UU] md1 : active raid1 xvda2 xvdb2 2096384 blocks [2/2] [UU] md2 : active raid1 xvda5 xvdb5 484086528 blocks [2/2] [UU] [=====>...............] resync = 29.5% (142978880/484086528) finish=77.7m in speed=73108K/sec unused devices: <none>