Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raid Failure??
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
kurtg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 103
Location: Florida USA

PostPosted: Tue Jun 19, 2007 4:24 pm    Post subject: Raid Failure?? Reply with quote

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
View user's profile Send private message
warrawarra
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2007
Posts: 84

PostPosted: Tue Jun 19, 2007 8:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
warrawarra
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2007
Posts: 84

PostPosted: Tue Jun 19, 2007 8:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
kurtg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 103
Location: Florida USA

PostPosted: Wed Jun 20, 2007 12:23 am    Post subject: Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Wed Jun 20, 2007 1:50 am    Post subject: Reply with quote

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
View user's profile Send private message
kurtg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 103
Location: Florida USA

PostPosted: Wed Jun 20, 2007 12:08 pm    Post subject: Reply with quote

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