LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do you know when one disk in RAID fails? (https://www.linuxquestions.org/questions/linux-software-2/how-do-you-know-when-one-disk-in-raid-fails-335700/)

SubCreations 06-21-2005 06:26 AM

How do you know when one disk in RAID fails?
 
Hi All,

I just installed FC4 with software RAID using two identical SATA drives.

I don't have any SPARE drives. How would I know if there were a problem with one of the drives?

Thanks

trickykid 06-21-2005 08:13 AM

cat /proc/mdstat <- tells you the status of these. setup some kind of monitoring program to tell you when one has failed or the such, or check every so often.

SubCreations 06-21-2005 11:39 AM

Thanks! That was helpful! Some additional questions...

The message I got was that it needed to re-sync and that it was 8.5 % done and would take another 150 minutes or so.

I initially lost control and had to shut down uncleanly. Is this the cause of the disks being out of sync? And will that always happen and take so long to fix if there is an unclean shutdown?

It seems that the system takes care of this automatically, but when it notices the system has been shut down uncleanly, I am prompted to press a key to do the fsck. Otherwise it just boots, possibly with errors.

I'm trying to configure a server to send away to a co-located vault and I wonder if anyone can point me to a place that discusses such things as always doing a fsck upon reboot or how to handel remote problems that might occur when something goes wrong during maintenance.

Thanks so much.


All times are GMT -5. The time now is 11:40 AM.