LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Failed/Failing software (mdadm) raid (https://www.linuxquestions.org/questions/linux-server-73/failed-failing-software-mdadm-raid-4175490453/)

whodah 01-07-2014 02:10 PM

Failed/Failing software (mdadm) raid
 
Hi all,

I've got a software (mdadm) raid 5 linux box w/ a failed/failing raid. I can still see files with directory listings, but cannot get any data off of them.

output of cat /proc/mdstat, example of a directory listing from a folder on the raid, and an example of an attempted file copy from the raid to a non-raid disk below.

Am I outta luck?
:(

Thanks!

Code:

[root@hurley MSSQL]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdc1[6](F) sdg1[5] sdf1[4] sde1[3] sdd1[2]
      7325679680 blocks level 5, 64k chunk, algorithm 2 [6/4] [__UUUU]

unused devices: <none>
[root@hurley MSSQL]# ls -al
total 6077000
drwxr-xr-x  2 nobody nobody      4096 Jun 13  2012 .
drwxrwxrwx 22 root  root        4096 May 13  2013 ..
-rwxr--r--  1 nobody nobody 1554120704 Jun  4  2012 asdbdat.dat
-rwxr--r--  1 nobody nobody 2051276800 Jun  4  2012 asdblog.dat
-rwxr--r--  1 nobody nobody    1048576 Jun 13  2012 northwnd.ldf
-rwxr--r--  1 nobody nobody 2610298880 Jun 13  2012 northwnd.mdf
[root@hurley MSSQL]# cp northwnd.ldf ~
cp: reading `northwnd.ldf': Input/output error
cp: failed to extend `/root/northwnd.ldf': Input/output error
[root@hurley MSSQL]#


btmiller 01-07-2014 11:03 PM

Looks like you lost 2 disks out of a RAID5. RAID5 can only support one lost drive. Unless you can resurrect one of the dead disks, I'm guessing you're out of luck. Hopefully you've got back-ups...

whodah 01-07-2014 11:39 PM

Any hints on how to attempt to resurrect one/both/either of the drives? The BIOS still sees them both, as does fdisk -l

Thanks!


All times are GMT -5. The time now is 02:48 PM.