LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-07-2006, 09:18 AM   #1
targi
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
>raid5 : not enough operational devices for md0 (2/3 failed)


Please help me!
I installed CentOS4.2, MySQL, and PHP with RAID 5 ( SCSI 73G X3 ) Web site and FTP were running well until yesterday, but I can not login with admin user name and password in PHP user screen. Then, I thought PHP or MySQL were something wrong so that restart the server.

After that, that kind of error message came out and can't do anything. Keyboard also blinking with green lights. I changed the keyboard but nothing change.
I checked the BIOS ( Intel Mother Board with Xeon CPUs), I saw the three hard drives in there and keyboard is working as normal.
Please help me what should I do for this.

Uncompressing Linux...Ok, booting the kernel.
PCI : Unable to handle 64-bit address space for
PCI : Unable to handle 64-bit address space for
PCI : Unable to handle 64-bit address space for
PCI : Unable to handle 64-bit address space for
audit(1144414949.955:0): initialized
Red Hat nash version 4.2.1.3 starting
raid5 : raid level 5 set md1 active with 2 out of 3 devices, algorithm 2
reid5 : not enough operational devices for md0 (2/3 failed)
raid5 : failed to run raid set md0
md : pers->run() failed...
raid5 : not enough operational devices for md0 (2/3 failed)
raid5 : failed to run raid set md0
md : pers->run() failed...
EXT3-fs : unable to read superblock
mount : error 22 mounting ext3
mount : error 2 mounting none
switchroot : mount failed : 22
umount /initrd/dev failed : 2
Kernel panic - not syncing : Attempted to kill init!
 
Old 04-07-2006, 12:01 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
It looks like those messages are telling you that 2 of the 3 Hard drives in your RAID array have failed... RAID 5 can operate with 1 failed device but not 2..

Is there a RAID managment interface you can get into at the BIOS level or at start time to check the heralth of the array ?

Are the drives setup in a software RAID or connected to a hardware RAID controller ?

Otherwise it's time to figure out which 2 drives failed replace them or if it's not an actual disk failure but just a RAID failure you will need to remove / re-add them to the array, and rebuild.

Might be time to check the backups..
 
Old 04-07-2006, 07:27 PM   #3
targi
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
It is a software RAID 5

Did with the software raid 5.
The messages are "two harddrives were something wrong at the same time or Raid Software was broken?"
Is that possible to chang the same size one drive to there will help something? I have one same size, same brand hard drive together with me.
Please advices!

I am sorry I really don't know about Linux and Raid.
I have my friend did for that Raid 5 and he is a professional of Linux, but I could not contact to him at this moment.
 
Old 04-08-2006, 12:03 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I really don't think you can recover data on a RAID 5 array after 2 drives have failed at the same time. aspecially not in a 3 drive array. someone correct me if I'm wrong but I do not think that will happen.

I would suggest doing som ereading on RAID recovery you may find something that will help you to reconstruct the array without too much data loss.. best of luck, and if you manage to get it back up and running please let us know how..

RAID Recovery

http://www.linux.com/howtos/Software...-HOWTO-4.shtml

http://software.cfht.hawaii.edu/linu..._recovery.html

http://library.n0i.net/linux-unix/faq/linux-raid/

make use of the mdadm tools to work on the array .. http://man-wiki.net/index.php/8:mdadm
 
  


Reply



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
RAID5 using mdadm, how to mount /dev/md0? ggduff Linux - Software 4 11-14-2007 01:59 AM
Debian startx Fatal Error : Failed to initialize core devices TextBrowserAddict Debian 2 08-21-2005 10:42 PM
Problem getting md0 mounted!!! denniz Debian 29 03-23-2005 01:35 AM
Failed to initialize core devices kko88 Linux - Hardware 2 06-11-2003 06:07 PM
X won't start: "Fatal server error: failed to initialize core devices" ! Debianewb Linux - Newbie 14 08-27-2002 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 AM.

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
Open Source Consulting | Domain Registration