Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Raid Failure??

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
kurtg
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Tue Sep 13, 2005 2:12 pm
Location: Florida USA

Raid Failure??

  • Quote

Post by kurtg » Tue Jun 19, 2007 4:24 pm

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:
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?
Top
warrawarra
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Wed May 30, 2007 7:24 am

  • Quote

Post by warrawarra » Tue Jun 19, 2007 8:21 pm

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/h ... art1_chap6

chroot how-to in link above.

Hope this helps.
Top
warrawarra
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Wed May 30, 2007 7:24 am

  • Quote

Post by warrawarra » Tue Jun 19, 2007 8:24 pm

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 .
Top
kurtg
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Tue Sep 13, 2005 2:12 pm
Location: Florida USA

  • Quote

Post by kurtg » Wed Jun 20, 2007 12:23 am

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.
Top
mudrii
l33t
l33t
Posts: 789
Joined: Thu Jun 26, 2003 12:27 am
Location: Singapore
Contact:
Contact mudrii
Website

  • Quote

Post by mudrii » Wed Jun 20, 2007 1:50 am

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
Top
kurtg
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Tue Sep 13, 2005 2:12 pm
Location: Florida USA

  • Quote

Post by kurtg » Wed Jun 20, 2007 12:08 pm

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.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy