Okay, I've been working on getting a RAID1 (mirror) setup running on an empeg, and I've got everything running, except I have one major problem that I was hoping to get some feedback on.
It turns out that the RAID arrays themselves don't like being simply turned off. It doesn't affect the data on the drive or anything; it all still runs fine. However, it has to rebuild the parity on the arrays when they're not shut down properly. Unfortuntely, this rebuild takes about 90 minutes to complete on just a pair of 10MB drives. And if a drive dies before the parity is recomputed, it's dead (supposedly -- I haven't actually tested that statement).
I've tried placing a call to the array stop function in the kernel's poweroff procedure, but it doesn't seem to work, despite the fact that it definitely returns (probably because the filesystems are still mounted, but I haven't checked that yet, either).
So, does anyone have any bright ideas?
_________________________
Bitt Faulk