LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 15
Red face 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,
 
Old 04-12-2005, 08:22 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.
 
  


Reply


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


All times are GMT -5. The time now is 11:28 PM.

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