Answer the question
In order to leave comments, you need to log in
How to replace a hard drive in software RAID 5?
Good afternoon, comrades.
There was a problem:
Software RAID 5 was assembled on hp xw4600 on 4 x 250 GB hard drives. One hard drive failed. Now the system is degraded. Winchester I want to replace. There is a 500 GB replacement. It is clear that only 250 of them will be used. Well, it's not scary.
Tell me how to replace it correctly so that the system does not fly. Installed Centos6. RAID was going to functionality hp xw4600.
If you connect a new screw through madm, will everything work out or do you need to use the hp utility?
[[email protected] ~]# mdadm -Q --detail /dev/md0
/dev/md0:
Version : imsm
Raid Level : container
Total Devices : 3
Working Devices : 3
UUID : ad8819fc:eee231fb:489cbf9d:643472c6
Member Arrays : /dev/md/Volume0
Number Major Minor RaidDevice
0 8 0 - /dev/sda
1 8 16 - /dev/sdb
2 8 48 - /dev/sdd
Answer the question
In order to leave comments, you need to log in
Make a backup of your data. Necessarily. RAID5 can die during a rebuild.
Make a dead disk fail
Make a dead disk remove
Replace the drive if the interface allows. Otherwise, shut down and change the disk.
Make a new disk add
Do not forget to look in /proc/mdstat on the way
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question