The present invention provides a method for transmitting a non-SCSI command via a SCSI command. A CDB for the SCSI command is provided. The CDB includes bytes byte—0, byte—1, byte—2, . . . , byte_n, in which byte—0 includes an opcode for the SCSI command. An opcode for the non-SCSI command is loaded into byte—1. When the non-SCSI command is not greater than a fixed number of bytes, the non-SCSI command is loaded into at least one byte of the CDB, which includes byte—2. Data associated with the non-SCSI command is transmitted via a data phase associated with the SCSI command.
展开▼