Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue <<  140 of 594 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 3655
Last update: 11-09-04
Issue:
How do I rebuild a RAID array after a disk fails?
Resolution:
A RAID array is an array of multiple hard drives which provide data security through redundancy and can also provide increased I/O performance in certain usage scenarios.

When one disk in a mirrored RAID array fails it is necessary to replace that disk with another one. The machine generally must be powered down in order to perform hardware maintenance, although some machines support hot swapping of SCSI drives.

Once the new drive has been added to the system physically, you should issue the command:
# raidhotadd /dev/mdX /dev/[s|h]dX
Where X is the letter of your SCSI (s) or IDE (h) drive. For exmaple, /dev/sdb or /dev/hdc. This will begin the rebuilding process. The current status and estimated time remaining in the rebuild can be found by issuing the command:
# cat /proc/mdstat
For more information on RAID arrays and their administration, consult the Linux Documentation Project's Software-RAID-HOW-TO at http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue <<   140  of  594  >>