LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2007, 01:15 PM   #1
compjock
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Help w/ Raid5 failure!


I am running Redhat Fedora Core (2.4.22-1.2199.nptl) on a computer that is set up with a raid 5. I have a boot drive (hda) and 3 drives in the raid (hdb, hdc, hdd) hdb has failed. The raid will not run in degraded mode. When you start the system it doesn't recognize the raid.

Contents of the raidtab file:

raiddev /dev/md0
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock-1
parity algorithym left-symmetric
chunk size 32
device /dev/hdb1
raid-disk 0
device /dev/hdc1
raid-disk 1
device /dev/hdd1
raid-disk 2

I have raidtools and do not have mdadm. I couldn't find mdadm for this core mdadm looks like the way to go, but I need the old school way of bringing the array back up and setting hdb into fault mode. My clients need to be able to use the server until I get a replacement drive to install.
 
Old 01-24-2007, 04:28 PM   #2
compjock
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
UPDATE here's what I did to get the array back and under repair: (remember, I'm on Fedora Core 2 and didn't have mdadm. I also couldn't find mdadm to run on this core version. These instructions are using raidtools.)

1) Installed the new drive (hdb) - drive was the same size but diff manufacturers. (crossing fingers there won't be any problems -- so far so good.

2) Created the partition hdb1 on the new drive.

3) I tried running raidstart /dev/md0, but it wouldn't run... UNTIL i edited the /etc/raidtab file and moved the hdb entries for device and raid-disk to the bottom of the file. Here's the updated raidtab file:

raiddev /dev/md0
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock-1
parity algorithym left-symmetric
chunk size 32
device /dev/hdc1
raid-disk 1
device /dev/hdd1
raid-disk 2
device /dev/hdb1
raid-disk 0


4) run raidstart /dev/md0

5) run raidhotadd /dev/md0 /dev/hdb1

The raid is rebuilding and everything appears ok.
 
Old 01-24-2007, 04:36 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Close call! Thanks for posting the resolution as others in the future may benefit from this. TAG!
 
  


Reply

Tags
raid5


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
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
Raid5 subho Linux - Newbie 1 03-24-2006 04:33 PM
multiple disk failure in RAID5 and dd gorets Linux - Hardware 1 07-22-2005 01:51 PM
multiple disk failure in RAID5 and dd gorets Linux - Software 1 07-21-2005 09:25 AM
Raid5 IwantLINUX Linux - Newbie 2 03-17-2005 03:33 PM


All times are GMT -5. The time now is 02:24 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