Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an Ubuntu server set up with two SATA drives in a RAID 1 configuration with MDADM. The machine is used to record raw video, which involves a lot of writing to the disk. Sometimes during video recording the computer will crash, will the following errors in kern.log:

Mar 15 10:39:41 video kernel: [414501.629864] ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x400100 action 0x6
Mar 15 10:39:41 video kernel: [414501.629870] ata2.00: BMDMA stat 0x26
Mar 15 10:39:41 video kernel: [414501.629875] ata2.00: SError: { UnrecovData Handshk }
Mar 15 10:39:41 video kernel: [414501.629880] ata2.00: failed command: WRITE DMA EXT
Mar 15 10:39:41 video kernel: [414501.629889] ata2.00: cmd 35/00:00:28:6d:f6/00:04:06:00:00/e0 tag 0 dma 524288 out
Mar 15 10:39:41 video kernel: [414501.629891]          res 51/84:b1:77:6e:f6/84:02:06:00:00/e0 Emask 0x30 (host bus error)
Mar 15 10:39:41 video kernel: [414501.629896] ata2.00: status: { DRDY ERR }
Mar 15 10:39:41 video kernel: [414501.629899] ata2.00: error: { ICRC ABRT }
Mar 15 10:39:41 video kernel: [414501.629910] ata2.00: hard resetting link
Mar 15 10:39:41 video kernel: [414501.973009] ata2.01: hard resetting link
Mar 15 10:39:41 video kernel: [414502.482642] ata2.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Mar 15 10:39:41 video kernel: [414502.482658] ata2.01: SATA link down (SStatus 0 SControl 300)
Mar 15 10:39:41 video kernel: [414502.546160] ata2.00: configured for UDMA/133
Mar 15 10:39:41 video kernel: [414502.546203] ata2: EH complete

Is this the result of faulty drives? Is software RAID just not performant enough for data rates ~15 MB/s, even with a quad-core i7?

Thanks for your help.

Edit: cat /proc/mdstat returns this:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : active raid1 sdb1[1] sda1[0]
    976760768 blocks [2/2] [UU]

unused devices: <none>
share|improve this question
    
What's the output of cat /proc/mdstat? –  Shane Madden Mar 18 '11 at 3:00
    
I don't have it available right now, but it shows everything is normal. –  Micah Mar 18 '11 at 3:08

2 Answers 2

I have been using Raid1 on linux with write's way over 15M/S. Those log messages are indicative of either a hardware issue with the drive, a bad Sata cable, or a bad connection on the motherboard. Does SMART reporting show any errors with the drive. I would check that and the SATA cable. Easy cheap solutions if it is a hard drive issue.

share|improve this answer

This is likely a problem with power or the connection to the drive. See this unRAID wiki page.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.