Hooray to Linux, thank you RAID

This afternoon the power to my Linux server was accidentally cut, and when the machine came back up, I noticed some messages about hard disk errors.

The good news was I have RAID-1 mirroring, the bad news was I wasn't sure how to tell it to fix the corruption on the affected disk.

I did some Google searching and found a suggesting to cat /proc/mdstat to see what my RAID config was. I did that and to my surprise it told me that it was 83% finished resync'ing my RAID volume!

So, to my surprise, it's a self-healing system and it was almost done fixing itself by the time I figured out how to even get basic information about it.

Thanks Linux!

Written on September 2, 2007