Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-11-2005, 08:45 PM   #1
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
Red face How to rebuild a damaged raid 1 array?


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.

Old 04-12-2005, 08:22 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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:


man raidhotadd for more details.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid Array wwnexc Linux - Hardware 1 09-25-2005 05:47 PM
rebuild kernel 2.6 boot fail on soft RAID fs Ducko Fedora 4 10-05-2004 08:40 PM
Rebuild Software RAID 1 thadco Linux - Newbie 1 06-03-2004 04:06 AM
How to verify Raid 0 array? fclifton Linux - Newbie 2 05-03-2004 03:32 PM
Help!! Mounting a raid array Cannedsoup Linux - Hardware 1 07-07-2003 06:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration