Linux Recover From A Lost Software RAID device (Rebuild RAID 5 Software Array)

by on June 13, 2006 · 0 comments· LAST UPDATED June 20, 2008

in , ,

Q. How can I recover from a lost software RAID device in CentOS version 4 / Debian version 3 / Red Hat Enterprise Linux 3 or 4 server system under RAID 5 software configuration?

A. Type the following command to reassembling array using automatic detection methods:

Linux command to recover the software RAID array

Login as root user and type the command:
# mdadm -Ac partitions /dev/mdX -m dev
# mdadm -Ac partitions /dev/md0 -m dev

Replace /dev/mdX with actual device name. Above command should recover the RAID device./dev/md0.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , , , , , , , , , ,

Previous Faq:

Next Faq: