I have software raid on 4 SCSI drives, and I was wondering if it is possible for the mirrors to rebuild automatically in case of power failure instead of me having to go use raidhotadd?
What is your RAID config like, 2xRAID-1/1xRAID-5/1xRAID5+Hotspare? RAIDs don't handle power failure, only disk failures. fsck should automatically sortout your dirty filesystems after a power failure.
Why do you need to run raidhotadd after every power failure?
--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
Only a RAID 1 setup, but whenever the server shutdowns inproperly for whatever reason, if I look at mdstat it shows one "U" instead of 2, if I do raidhotadd it does a rebuild, but I dread the day I forget to do that...
btaber,
Why don't you write a script that runs on boot to check and see if mdstat returns one or two "U"s? Then it could re-add it for you if you have one missing!
This is the beauty of Unix and Linux. If you don't have a tool for a job, you have the tools to make one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.