Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost two hard drives in RAID 5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
SumDog
n00b
n00b


Joined: 16 Dec 2005
Posts: 22
Location: Chicago, USA

PostPosted: Sun Jan 20, 2008 12:15 am    Post subject: Lost two hard drives in RAID 5 Reply with quote

I've lost one hard drive before, and occasionally I'll have to run a JFS fix for file system corruption. Hehe...I've been meaning too backup my music to my parents house for a while now. My old backup is over a year out of date. Well, guess I learned the hard way.

In any case, I lost two drives. I started getting I/O errors over NFS and then I saw this

Code:

donatello ~ # cat /proc/mdstat
Personalities : [raid5] [raid4]
md0 : active raid5 sdg1[5] sde1[3] sdd1[2] sdb1[6](F) sda1[1]
      1562842880 blocks level 5, 256k chunk, algorithm 2 [6/4] [_UUU_U]
     
unused devices: <none>


Killed everything, shut down the server. I'm using regular old PCI SATA cards and the drives/cards get kinda flaky sometimes. Everything came back up, but the damage had all ready been done. Two drives were marked as bad. You can see the following bellow:

Is there anything I can do short of paying $500 ~ $1000 to a data recovery firm? All I want to do is see what I can recover off the drive.


Code:

 mdadm --examine /dev/sda1 /dev/sdb1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1
/dev/sda1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ab3864f9:3d679173:7c0379ca:7ca97bc5
  Creation Time : Mon May  1 16:49:24 2006
     Raid Level : raid5
  Used Dev Size : 312568576 (298.09 GiB 320.07 GB)
     Array Size : 1562842880 (1490.44 GiB 1600.35 GB)
   Raid Devices : 6
  Total Devices : 5
Preferred Minor : 0

    Update Time : Sat Jan 19 18:51:12 2008
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 2
  Spare Devices : 0
       Checksum : 29ac968d - correct
         Events : 0.5437107

         Layout : left-symmetric
     Chunk Size : 256K

      Number   Major   Minor   RaidDevice State
this     1       8        1        1      active sync   /dev/sda1

   0     0       0        0        0      removed
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       49        2      active sync   /dev/sdd1
   3     3       8       65        3      active sync   /dev/sde1
   4     4       0        0        4      faulty removed
   5     5       8       97        5      active sync   /dev/sdg1
/dev/sdb1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ab3864f9:3d679173:7c0379ca:7ca97bc5
  Creation Time : Mon May  1 16:49:24 2006
     Raid Level : raid5
  Used Dev Size : 312568576 (298.09 GiB 320.07 GB)
     Array Size : 1562842880 (1490.44 GiB 1600.35 GB)
   Raid Devices : 6
  Total Devices : 5
Preferred Minor : 0

    Update Time : Sat Jan 19 14:01:16 2008
          State : active
 Active Devices : 5
Working Devices : 5
 Failed Devices : 1
  Spare Devices : 0
       Checksum : 29595b8f - correct
         Events : 0.5437021

         Layout : left-symmetric
     Chunk Size : 256K

      Number   Major   Minor   RaidDevice State
this     0       8       17        0      active sync   /dev/sdb1

   0     0       8       17        0      active sync   /dev/sdb1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       49        2      active sync   /dev/sdd1
   3     3       8       65        3      active sync   /dev/sde1
   4     4       0        0        4      faulty removed
   5     5       8       97        5      active sync   /dev/sdg1
/dev/sdd1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ab3864f9:3d679173:7c0379ca:7ca97bc5
  Creation Time : Mon May  1 16:49:24 2006
     Raid Level : raid5
  Used Dev Size : 312568576 (298.09 GiB 320.07 GB)
     Array Size : 1562842880 (1490.44 GiB 1600.35 GB)
   Raid Devices : 6
  Total Devices : 5
Preferred Minor : 0

    Update Time : Sat Jan 19 18:51:12 2008
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 2
  Spare Devices : 0
       Checksum : 29ac96bf - correct
         Events : 0.5437107

         Layout : left-symmetric
     Chunk Size : 256K

      Number   Major   Minor   RaidDevice State
this     2       8       49        2      active sync   /dev/sdd1

   0     0       0        0        0      removed
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       49        2      active sync   /dev/sdd1
   3     3       8       65        3      active sync   /dev/sde1
   4     4       0        0        4      faulty removed
   5     5       8       97        5      active sync   /dev/sdg1
/dev/sde1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ab3864f9:3d679173:7c0379ca:7ca97bc5
  Creation Time : Mon May  1 16:49:24 2006
     Raid Level : raid5
  Used Dev Size : 312568576 (298.09 GiB 320.07 GB)
     Array Size : 1562842880 (1490.44 GiB 1600.35 GB)
   Raid Devices : 6
  Total Devices : 5
Preferred Minor : 0

    Update Time : Sat Jan 19 18:51:12 2008
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 2
  Spare Devices : 0
       Checksum : 29ac96d1 - correct
         Events : 0.5437107

         Layout : left-symmetric
     Chunk Size : 256K

      Number   Major   Minor   RaidDevice State
this     3       8       65        3      active sync   /dev/sde1

   0     0       0        0        0      removed
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       49        2      active sync   /dev/sdd1
   3     3       8       65        3      active sync   /dev/sde1
   4     4       0        0        4      faulty removed
   5     5       8       97        5      active sync   /dev/sdg1
/dev/sdf1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ab3864f9:3d679173:7c0379ca:7ca97bc5
  Creation Time : Mon May  1 16:49:24 2006
     Raid Level : raid5
  Used Dev Size : 312568576 (298.09 GiB 320.07 GB)
     Array Size : 1562842880 (1490.44 GiB 1600.35 GB)
   Raid Devices : 6
  Total Devices : 6
Preferred Minor : 0

    Update Time : Tue Dec 18 09:31:25 2007
          State : clean
 Active Devices : 6
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 296bbc08 - correct
         Events : 0.4711098

         Layout : left-symmetric
     Chunk Size : 256K

      Number   Major   Minor   RaidDevice State
this     4       8       81        4      active sync   /dev/sdf1

   0     0       8       17        0      active sync   /dev/sdb1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       49        2      active sync   /dev/sdd1
   3     3       8       65        3      active sync   /dev/sde1
   4     4       8       81        4      active sync   /dev/sdf1
   5     5       8       97        5      active sync   /dev/sdg1
/dev/sdg1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : ab3864f9:3d679173:7c0379ca:7ca97bc5
  Creation Time : Mon May  1 16:49:24 2006
     Raid Level : raid5
  Used Dev Size : 312568576 (298.09 GiB 320.07 GB)
     Array Size : 1562842880 (1490.44 GiB 1600.35 GB)
   Raid Devices : 6
  Total Devices : 5
Preferred Minor : 0

    Update Time : Sat Jan 19 18:51:12 2008
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 2
  Spare Devices : 0
       Checksum : 29ac96f5 - correct
         Events : 0.5437107

         Layout : left-symmetric
     Chunk Size : 256K

      Number   Major   Minor   RaidDevice State
this     5       8       97        5      active sync   /dev/sdg1

   0     0       0        0        0      removed
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       49        2      active sync   /dev/sdd1
   3     3       8       65        3      active sync   /dev/sde1
   4     4       0        0        4      faulty removed
   5     5       8       97        5      active sync   /dev/sdg1
Back to top
View user's profile Send private message
SkyLine
n00b
n00b


Joined: 11 Oct 2006
Posts: 36

PostPosted: Fri Jan 25, 2008 10:46 pm    Post subject: Reply with quote

Some Suggestion before data recovery.
Check Sata Cables. And Power Cables.
Replace sata card
And Check POWER SUPPLY is enough.... (Not joke)
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 540
Location: Cambridge, UK

PostPosted: Mon Jan 28, 2008 8:53 am    Post subject: Reply with quote

I'm not sure as you've run the examine command on sda twice rather than all 6 drives, but it looks to me like one drive has been removed, but is still clean.

If this is the case, then just re add that drive to the array and see if it starts.

cheers
Ferg
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum