FC-TAPE SCSI Commands Survey

Dale LaFollette dale_lafollette at stortek.com
Tue Jul 21 15:11:11 PDT 1998


* From the T10 (formerly SCSI) Reflector (t10 at symbios.com), posted by:
* Dale LaFollette <dale_lafollette at stortek.com>
*
Hello,

If you have SCSI Stream Device (tape) and/or Medium Changer
(attached or independent) command initiator code or designs
please read on, else have a nice day.

The FC-TAPE working group needs your input for SCSI commands
to be "REQUIRED" in the profile. The profile needs to be a subset
of the SPC, SSC and SMC SCSI-3 commands such that a profile compliant
generic driver can be created. So please check your existing drivers
and determine the commands that you absolutely require.

Target vendors, please do not fill in this survey, as we just want
initiator requirements at this time.

To complete this survey just reply directly to me,
dale_lafollette at stortek.com, and put a "Y" in column 1 of the line
that has your required command and fill in the used command field
values. Please respond by the end of Sunday August 2nd. I will then
compile the results and post to the reflectors on the 3rd. This will
definetly be an agenda item at our ad-hoc meeting in Portsmouth.

If I have missed any commands or parameters please note them in
your response.

Thank you in advance for your input.
Dale LaFollette, FC-TAPE Faciliator

=====
                   SCSI-3 Stream Device Commands

 CHANGE DEFINITION 40h SPC
   Save
   Definition Param:
     00h
     03h
     04h
     3Fh

 COMPARE 39h SPC
   Pad

 COPY 18H SPC
   Pad

 COPY AND VERIFY 3Ah SPC
   BytChk
   Pad

 ERASE 19h SSC
   Immed
   Long
   Short

 FORMAT MEDIUM 04h SSC
   Verify
   Immed
   Format:
     0h default
     1h partition
     2h default then partition
     8h-Fh vendor specific

 INQUIRY 12h SPC
   CmdDt
   Standard
   EVPD
     Page codes:
       00h supported pages
       01h-7Fh ASCII information pages
       80h Unit s/n
       81h Implemented operating definitions
       82h ASCII implemented operating definitions
       83h Device ID

 LOAD UNLOAD 1Bh SSC
   Immed
   EOT
   Reten
   Load

 LOCATE 2Bh SSC
   BT
   CP/Partition
   Immed

 LOG SELECT 4Ch SPC
   PCR
   SP
   PC:
     00b current threshold
     01b current cumulative
     10b default threshold
     11b default cumulative

 LOG SENSE 4Dh SPC
   PPC
   SP
   PC:
     00b current threshold
     01b current cumulative
     10b default threshold
     11b default cumulative

 MODE SELECT(6) 15h SPC
   PF
   SP

 MODE SELECT(10) 55h SPC
   PF
   SP

 MODE SENSE(6) 1Ah SPC
   DBD
   PC:
     00b current values
     01b changeable values
     10b default values
     11b saved values
   Page Codes:
     00h vendor specific
     01h-1Fh device specific
     20h-3Eh vendor specific page format
     3Fh all pages

 MODE SENSE(10) 5Ah SPC
   DBD
   PC:
     00b current values
     01b changeable values
     10b default values
     11b saved values
   Page Codes:
     00h vendor specific
     01h-1Fh device specific
     20h-3Eh vendor specific page format
     3Fh all pages

 MOVE MEDIUM ATTACHED A7h SMC
   INV

 PERSISTENT RESERVE IN 5Eh SPC
   Service Action:
     00h read keys
     01h read reservations

 PERSISTENT RESERVE OUT 5Fh SPC
   Service Action:
     00h register
     01h reserve
     02h release
     03h clear
     04h preempt
     05h preempt & clear
   Scope
   Type

 PREVENT ALLOW MEDIA REMOVAL 1Eh SPC
   Prevent:
     00b allow both transport & changer
     01b prevent transport
     10b prevent changer
     11b prevent both transport & changer

 READ 08h SSC
   SILI
   Fixed

 READ BLOCK LIMITS 05h SSC

 READ BUFFER 3Ch SPC
   Mode:
     000b header & data
     001b vendor specific
     010b data
     011b descriptor
   Buffer ID

 READ ELEMENT STATUS ATTACHED B4h SMC
   VOLTAG
   Element Type Code:
     0h all elements
     1h medium transport
     2h storage
     3h import/export
     4h data transfer
   CURDATA
   DVCID

 READ POSITION 34h SSC
   TCLP
   LONG
   BT

 READ REVERSE 0Fh SSC
   BYTORD
   SILI
   Fixed

 RECEIVE DIAGNOSTIC RESULTS 1Ch SPC
   PCV
   Page Code =   

 RECOVER BUFFERED DATA 14h SSC
   SILI
   Fixed

 RELEASE(6) 17h SPC
   Extent
   Reservation Identification

 RELEASE(10) 57h SPC
   3rdPty
   LongID
   Extent
   Reservation Identification
   Third Party Device ID

 REPORT DENSITY SUPPORT 44h SSC
   Media

 REQUEST SENSE 03h SPC

 RESERVE(6) 16h SPC
   Extent
   Reservation Identification

 RESERVE(10) 56h SPC
   3rdPty
   LongID
   Extent
   Reservation Identification
   Third Party Device ID

 REWIND 01h SSC
   Immed

 SEND DIAGNOSTIC 1Dh SPC
   PF
   Selftest
   DevOfl
   UnitOfl

 SET CAPACITY 1Fh SSC
   Immed

 SPACE 11h SSC
   Code:
     000b blocks
     001b filemarks
     010b sequential filemarks
     011b end-of-data
     100b setmarks
     101b sequential setmarks
   Count:
     Positive (fwd)
     Negative (bkw)

 TEST UNIT READY 00h SPC

 VERIFY 13h SSC
   Immed
   BYTCMP
   Fixed

 WRITE 0Ah SSC
   Fixed

 WRITE BUFFER 3Bh SPC
   Mode:
     000b combined header and data
     001b vendor-specific
     010b write data
     100b download mc
     101b download mc and save
     110b download mc with offsets
     111b download mc with offsets and save

 WRITE FILEMARKS 10h SSC
   WSMK
   IMMED
   Count = 0
   Count = NZ
 
======
                 SCSI-3 Medium Changer Commands

Independent Medium Changers:

 CHANGE DEFINITION 40h SPC
   Save
   Definition Param:
     00h
     03h
     04h
     3Fh

 EXCHANGE MEDIUM A6h SMC
   INV1
   INV2

 INITIALIZE ELEMENT STATUS 07h SMC

 INQUIRY 12h SPC
   CmdDt
   Standard
   EVPD
     Page codes:
       00h supported pages
       01h-7Fh ASCII information pages
       80h Unit s/n
       81h Implemented operating definitions
       82h ASCII implemented operating definitions
       83h Device ID

 LOG SELECT 4Ch SPC
   PCR
   SP
   PC:
     00b current threshold
     01b current cumulative
     10b default threshold
     11b default cumulative

 MODE SELECT(6) 15h SPC
   PF
   SP

 MODE SELECT(10) 55h SPC
   PF
   SP

 MODE SENSE(6) 1Ah SPC
   DBD
   PC:
     00b current values
     01b changeable values
     10b default values
     11b saved values
   Page Codes:
     00h vendor specific
     01h-1Fh device specific
     20h-3Eh vendor specific page format
     3Fh all pages

 MODE SENSE(10) 5Ah SPC
   DBD
   PC:
     00b current values
     01b changeable values
     10b default values
     11b saved values
   Page Codes:
     00h vendor specific
     01h-1Fh device specific
     20h-3Eh vendor specific page format
     3Fh all pages

 MOVE MEDIUM A5h SMC
   INV

 PERSISTENT RESERVE IN 5Eh SPC
   Service Action:
     00h read keys
     01h read reservations

 PERSISTENT RESERVE OUT 5Fh SPC
   Service Action:
     00h register
     01h reserve
     02h release
     03h clear
     04h preempt
     05h preempt & clear
   Scope
   Type

 POSITION TO ELEMENT 2Bh SMC
   Invert

 PREVENT ALLOW MEDIUM REMOVAL 1Eh SPC
   Prevent:
     00b allow both transport & changer
     01b prevent transport
     10b prevent changer
     11b prevent both transport & changer

 READ BUFFER 3Ch SPC
   Mode:
     000b header & data
     001b vendor specific
     010b data
     011b descriptor
   Buffer ID

 READ ELEMENT STATUS B8h SMC
   VOLTAG
   Element Type Code:
     0h all elements
     1h medium transport
     2h storage
     3h import/export
     4h data transfer
   CURDATA
   DVCID

 RECEIVE DIAGNOSTIC RESULTS 1Ch SPC
   PCV
   Page Code =  

 RELEASE ELEMENT(6) 17h SMC
   Element
   Reservation ID

 RELEASE ELEMENT(10) 57h SMC
   3rdpty
   LONGID
   Element
   Reservation ID
   Third Party Device ID

 REQUEST VOLUME ELEMENT ADDRESS B5h SMC
   VOLTAG
   Element Type Code:
     0h all elements
     1h medium transport
     2h storage
     3h import/export
     4h data transfer

 REQUEST SENSE 03h SPC

 RESERVE ELEMENT(6) 16h SMC
   Element
   Reservation ID

 RESERVE ELEMENT(10) 56h SMC
   3rdpty
   LONGID
   Element
   Reservation ID

 SEND DIAGNOSTIC 1Dh SPC
   PF
   Selftest
   DevOfl
   UnitOfl

 SEND VOLUME TAG B6h SMC
   Element Type Code:
     0h all elements
     1h medium transport
     2h storage
     3h import/export
     4h data transfer
   Send Action Code =

 TEST UNIT READY 00h SPC

 WRITE BUFFER 3Bh SPC
   Mode:
     000b combined header and data
     001b vendor-specific
     010b write data
     100b download mc
     101b download mc and save
     110b download mc with offsets
     111b download mc with offsets and save


Attached Medium Changers:

 MOVE MEDIUM ATTACHED A7h SMC

 MOVE MEDIUM ATTACHED A5h SMC

 READ ELEMENT STATUS ATTACHED B4h SMC
   VOLTAG
   Element Type Code:
     0h all elements
     1h medium transport
     2h storage
     3h import/export
     4h data transfer
   CURDATA
   DVCID

 READ ELEMENT STATUS ATTACHED B8h SMC
   VOLTAG
   Element Type Code:
     0h all elements
     1h medium transport
     2h storage
     3h import/export
     4h data transfer
   CURDATA
   DVCID
=====
*
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at symbios.com





More information about the T10 mailing list