View previous topic :: View next topic |
Author |
Message |
kurtg Tux's lil' helper
Joined: 13 Sep 2005 Posts: 103 Location: Florida USA
|
Posted: Tue Jun 19, 2007 4:24 pm Post subject: Raid Failure?? |
|
|
My system crashed, and then when I rebooted it took an interminably long time. So, I've been trying to recover it with the live cd. I believe I was using raid tools earlier, but now I'm using mdadm. I set up the devices and I'm getting these errors:
Quote: | Apr 14 06:10:40 livecd SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
Apr 14 06:10:40 livecd sda: Write Protect is off
Apr 14 06:10:40 livecd sda: Mode Sense: 00 3a 00 00
Apr 14 06:10:40 livecd SCSI device sda: drive cache: write back
Apr 14 06:10:45 livecd ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Apr 14 06:10:45 livecd ata1.00: (BMDMA stat 0x20)
Apr 14 06:10:45 livecd ata1.00: tag 0 cmd 0x25 Emask 0x9 stat 0x51 err 0x40 (media error)
Apr 14 06:10:45 livecd ata1: EH complete
Apr 14 06:10:49 livecd ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Apr 14 06:10:49 livecd ata1.00: (BMDMA stat 0x20)
Apr 14 06:10:49 livecd ata1.00: tag 0 cmd 0x25 Emask 0x9 stat 0x51 err 0x40 (media error)
Apr 14 06:10:49 livecd ata1: EH complete
Apr 14 06:10:53 livecd ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Apr 14 06:10:53 livecd ata1.00: (BMDMA stat 0x20)
Apr 14 06:10:53 livecd ata1.00: tag 0 cmd 0x25 Emask 0x9 stat 0x51 err 0x40 (media error)
Apr 14 06:10:53 livecd ata1: EH complete
Apr 14 06:10:57 livecd ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Apr 14 06:10:57 livecd ata1.00: (BMDMA stat 0x20)
Apr 14 06:10:57 livecd ata1.00: tag 0 cmd 0x25 Emask 0x9 stat 0x51 err 0x40 (media error)
Apr 14 06:10:57 livecd ata1: EH complete
|
It looks like it's resyncing and will take 11+ hours to finish? Can that be right?
Is my /dev/sda drive whacked? |
|
Back to top |
|
|
warrawarra Tux's lil' helper
Joined: 30 May 2007 Posts: 84
|
Posted: Tue Jun 19, 2007 8:21 pm Post subject: |
|
|
Not too good with raid here but if one of the drives is okay then format and just copy / clone it and it should be faster than resync.
UBCD google for it and use it to check the actual drive for fitness ? / is it dying or not.
Not sure where you can get a controller test program to verify if the raid controller is dying or not.
Might be a good idea to use a external hd / usb hd to backup your working hd to incase it is the controller or 1 of the actual hd's.
? Can you chroot into the install system from the live cd and then use the installed / merged programs to fix it ? Might have to load a few modules.
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6
chroot how-to in link above.
Hope this helps. |
|
Back to top |
|
|
warrawarra Tux's lil' helper
Joined: 30 May 2007 Posts: 84
|
Posted: Tue Jun 19, 2007 8:24 pm Post subject: |
|
|
I see you have both sata and ata hd on the raid ?
Not sure if this is a good idea as far as I know it has to be 100% same model make speed size etc . |
|
Back to top |
|
|
kurtg Tux's lil' helper
Joined: 13 Sep 2005 Posts: 103 Location: Florida USA
|
Posted: Wed Jun 20, 2007 12:23 am Post subject: |
|
|
warrawarra wrote: | I see you have both sata and ata hd on the raid ? |
No, they are both SATA drives. I think that's just a log message that says 'ata.1'. I'm not sure why. |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Wed Jun 20, 2007 1:50 am Post subject: |
|
|
I had Linux Soft RAID 1 on 2x500Gb HDD full of data and re-sync took around 2 hoers
As in post above try to reformat partition on failed hdd and use dd if=/dev/sda1 of=/dev/sdb1 for example. _________________ www.gentoo.ro |
|
Back to top |
|
|
kurtg Tux's lil' helper
Joined: 13 Sep 2005 Posts: 103 Location: Florida USA
|
Posted: Wed Jun 20, 2007 12:08 pm Post subject: |
|
|
What about the media write errors? It looks to me that the drive has simply gone bad. I have two new drives on order (upgrade to 250Gb), so I'll set them up when they come. |
|
Back to top |
|
|
|