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

I am getting the infamous aacraid: Host adapter abort request error with my new Adaptec RAID Controller under high I/O. I have read several forums, even Adaptecs, that setting the /sys/block/sdX/device/timeout value to 45 will fix this. However I am running Ubuntu Server 12.04 which already has this value at 45 by default. I also tried the next suggestion which was to update my mobo's bios to the latest, which I did.

I am not sure if anyone else has run into this " aacraid: Host adapter abort request" error before even after taking these steps.

This is what I see in my syslog:

kernel: [ 5493.523282] aacraid: Host adapter abort request (4,0,0,0)
Jan  6 20:29:15 server kernel: [ 5493.523309] aacraid: Host adapter abort request (4,0,0,0)
Jan  6 20:29:15 server kernel: [ 5493.523375] aacraid: Host adapter reset request. SCSI hang ?

Heres my uname -a

Linux server 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Thanks All,

Jim

share|improve this question
add comment

1 Answer

In case you didn't resolve this yet, I recently wrestled with the same issue which quickly escalated to array hanging every 5 minutes for couple minutes as the IO increased. Ubuntu by default uses CFQ scheduler which isn't optimal for hardware RAID. Switch the scheduler to noop with:

echo noop > /sys/block/<blockdevice>/queue/scheduler

Personally I'm stuck with old kernel but I've been told also upgrading to latest aacraid driver should fix the issue - can't verify that though. But even so, switch to noop. Since sysfs isn't permanent so you might want to set the scheduler in /etc/rc.local or use the elevator= boot parameter.

I'd pay attention to other kernel parameters as well as settings on Ubuntu are reasonable defaults for most common hardware but most of the time servers do need special attention regardless of distro you're on.

share|improve this answer
add comment

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.