LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   >raid5 : not enough operational devices for md0 (2/3 failed) (https://www.linuxquestions.org/questions/linux-newbie-8/raid5-not-enough-operational-devices-for-md0-2-3-failed-432683/)

targi 04-07-2006 09:18 AM

>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!

farslayer 04-07-2006 12:01 PM

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..

targi 04-07-2006 07:27 PM

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.

farslayer 04-08-2006 12:03 AM

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


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