LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2003, 10:38 AM   #1
galaxyms
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
How to rebuild raid1 on RedHat 9.0


I am using Redhat 9.0 with:

2 SCSI disk as system disk /dev/md0 (Raid1)
2 IDE as data disk /dev/md1 (Raid-1) [/dev/hda1 /dev/hdc1]
2 IDE as data disk /dev/md2 (Raid-1) [/dev/hdb1 /dev/hdd1]

There were bad contact on some IDE cable before, which causes /dev/hdc1 and /dev/hdb1 offline for a while.

There are useful data on /dev/hda1 and /dev/hdd1. The machine is still running fine.

From /proc/mdstat, it shows:
Personalities: [raid1]
read_ahead 1024 sectors
md2: active raid1 hdd1[1]
117218176 blocks [2/1] [_U]

md1: active raid hda1[0]
117218176 blocks [2/1] [U_]

md0: active raid1 sdb2[1] sda[0]
3882944 blocks [2/2] [UU]

1. Can anybody tell me how to read the status output above? What are those [?/?] [UU] mean?

2. How can I rebuild the array (re-active /dev/hdc1 /dev/hdb1) and keep the data from the good disks?

3. From some forum, they talk about a utility call ckraid, but I cannot find it in Redhat 9? Do I need this utility?

4. I find mdadm from some ftp site. Can I use this utility to rebuild the array without destory the data? How?

Thanks in advance.

Mike
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover/Rebuild SW Raid1? FoxNotch Linux - General 1 07-11-2004 11:04 AM
RedHat 9 (2.4.20-8) kernel rebuild without loadable module support RedHatDude Red Hat 1 09-09-2003 10:20 PM
Soft RAID1 (mirror) rebuild GAVollink Linux - Hardware 4 04-25-2003 09:18 AM
rebuild command in Redhat 8.0? htn03 Linux - Software 2 04-24-2003 05:54 PM
Software Raid1 has failed in Redhat 7.2 nabil Linux - Software 1 06-23-2002 11:50 AM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration