This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

CAM status: Command timeout

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tomf84
NewUser
NewUser
Posts: 3
Joined: 15 Jun 2013 11:44
Status: Offline

CAM status: Command timeout

Post by tomf84 »

Weird one this.

I have an existing ZFS array, RAIDZ1, about 80% full.

Gigabyte GA-D510UD board
4GB RAM

Drives:
Hitachi HDS721010CLA332 1TB (s/n ends JSPH)
Hitachi HDS721010CLA332 1TB (s/n ends MJSC)
Samsung HD103UJ 1TB
Seagate ST2000DM001 2TB (1TB unused)

Under NAS4Free, when reading files or doing a scrub, the following inevitably happens:
- drives become unresponsive (e.g. "ls" of a directory on the pool blocks)
- drive activity stops completely
- the Hitachi drive with s/n ending MJSC has its activity light frozen on, and iostat -x 5 says it has a queue length of > 0 (all other drives are zero)
- I get the following logged:

Code: Select all

kernel: (ada2:ata3:0:0:0): WRITE_DMA. ACB: ca 00 7a 02 40 40 00 00 00 00 02 00
kernel: (ada2:ata3:0:0:0): CAM status: Command timeout
kernel: (ada2:ata3:0:0:0): Retrying command
(the hex string changes)
- about 2 minutes later everything springs back to life - pending commands complete

Invariably the same thing happens again every few minutes during drive activity.

I got the same under FreeNAS 8, which is one of the main drivers to me coming back to NAS4Free.

Under Ubuntu with the zfsonlinux bits installed, it works perfectly. I.e, for the exact same usage pattern, under Ubuntu I CANNOT provoke these symptoms but under NAS4Free and FreeNAS 8 I cannot escape these symptoms!

Here's what's weird.
I have swapped out the SATA controller, same problem.
Also swapped out the SATA cables, same problem.
Also swapped out the power supply, same problem.

Even weirder, I have dd'd the freezing disk to a brand new identical drive, same thing.

Even more weird, if I move the drive to a different SATA port, the problem FOLLOWS THE DRIVE.
Even though it's a different brand new drive.

Completely perplexed.

Any suggestions massively appreciated.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: CAM status: Command timeout

Post by raulfg3 »

please confirm if your disk have a direct connection to your SATA board or have a intermediate box like this (or simmilar): http://www.alternate.es/ICY_BOX/ICY_BOX ... ct/994617/?

If yes try to connect directly to Board using good SATA cable with metalic retention clip.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

tomf84
NewUser
NewUser
Posts: 3
Joined: 15 Jun 2013 11:44
Status: Offline

Re: CAM status: Command timeout

Post by tomf84 »

As part of troubleshooting I bought four new good quality SATA cables with clips.

While there is a backplane / chassis in play, it's just a pass-through, and the problem replicates when the drives are directly connected too. (Also works perfectly under Ubuntu in both cases.)

The chassis is this one:
http://linitx.com/product/cfi-a7879-min ... bays/12789

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: CAM status: Command timeout

Post by raulfg3 »

I only share my experience, I have simmilar problems, and chasis/backplane was my problem, once I pass-throught disk, I solve the problem and annonig CAM status: Command timeout

sorry if you test same and still have problems.

If the problem follow the HD drive, perhaps it's a drive problem.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

tomf84
NewUser
NewUser
Posts: 3
Joined: 15 Jun 2013 11:44
Status: Offline

Re: CAM status: Command timeout

Post by tomf84 »

That's what weird.

The problem follows the drive, but also remains *when I swap out the drive* having imaged it from the first.

Two brand new drives. Actually also a third one too, which I thought was faulty but was actually just exhibiting this issue.

Doing a scrub and trying a traditional replace shortly.

Post Reply

Return to “Hard disk & controller”