I need to see commands which send to my scsi device. I enabled scsi debug in kernel and got CDB. It looks like this: 2a 00 00 a0 09 90 00 00 08 00.

I'm searching for command line utility to decode them in human-readable format. So far I found one java-script library to do this. Is there such utility for command line?


2 Answers 2


While over a year has passed hopefully this information will help others like me. I dont have a command line utility but I do have specifications which can help.

If your posted CDB is correct then 0x2a is the Write (10) command which means the length of the command is 10 bytes according to Seagate and this is what you have posted.



I found that sg_sense utility can decode CDB as well, using --cdb parameter. (Package sg3-utils).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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