How to rebuild a damaged raid 1 array?
hi,
i'm running redhat linux and i'm using a software raid level 1 with 2 harddisks (ide disks) mirrroring each other. now i think one of my harddisks fails because i run this command "lsraid" and it showed the below message: root# lsraid -a /dev/md0 /dev/md0 online /dev/hda0 good (unknown) missing ------------------------ so i want to know how can i reconstruct my raid 1 array? i mean if one of my harddisk really fails then i will replace with a new one but what are the steps that i should do to rebuild my raid 1? i'm really new to this one. Thanks, |
Do a cat /proc/mdstat and it will print off all of your raid devices.
To rebuild one, depending on if its being used/busy or not, you can do a: /sbin/raidhotadd man raidhotadd for more details. |
All times are GMT -5. The time now is 12:36 PM. |