Beruflich Dokumente
Kultur Dokumente
SCSI Terms
Initiator:
SCSI Terms
SCSI Device: A Host Adapter or Intelligent Peripheral which
can be attached to a SCSI bus.
SCSI Address: The hex representation (0-7 or 0-F) of the unique
address assigned to a SCSI device.
Connect:
Disconnect:
Reconnect:
SCSI Configuration
Single Initiator, Single Target
LUN0
Initiator
SCSI Bus
Target
LUN1
LUN2
SCSI Configuration
Single Initiator, Multiple Targets
Target 0
Initiator 7
SCSI Bus
T
SCSI Bus Terminator
Target 1
Target n
SCSI Configuration
Multiple Initiators, Multiple Targets
Initiator 7
Target 0
SCSI Bus
Initiator 6
T
Target 1
Target n
0V
+SIG
TRUE = +SIG > -SIG
REQuest
T
ACKnowledge I
ATtentionN
SELect
BuSY
ReSeT
I
I/T
I/T
I
MeSsaGe
Cmd/Data
In/Out
T
T
T
SEL
x
MSG C/D
x
x
1
1
1
1
x
x
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
I/O
x
Definition
Bus Free (Idle)
x
x
0
1
Selection
Reselection
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Data Out
Data In
Command
Status
(Reserved)
(Reserved)
Message Out
Message In
I -> T
I <- T
I -> T
I <- T
I -> T
I <- T
Arbitration
Selection
Reselection
Msg Out
Msg In
any phase
Data/Msg phases
RESET
Command
Status
Msg In
Bus Free
SCSI-2, Async
SCSI-2, Sync
100 ns
50 ns
SCSI-3+, Fast 40
SCSI-3+, Fast 80
25 ns
12 ns
Identify
(1)
Disconnect LUNTAR
Privilege
(0)
4
Reserved
Reserved
LUN
LUN
SCSI-2
SCSI-3
Error Recovery
- Initiator Detected Error [0x05]
- Message Parity Error [0x09]
- Message Reject [0x07]
- NOP [0x08]
Data Checkpointing
- Save Data Pointers [0x02]
- Restore Pointers [0x03]
- Modify Data Pointers [0x01, 0x05, 0x00, {arg[4]}]
SCSI Pointers
All pointers stored within the Initiator
Two sets of pointers (active and saved) for Command, Data, Status
for each Logical Unit
Save Data Pointers
Active -> Saved
Restore Data Pointers
Saved -> Active
Modify Data Pointers
Active += arg[4]
Valid
SCSI Commands
Divided into categories based on device type:
- All Device Types
- Direct Access Devices (disks)
- Sequential Access Devices (tapes)
- Processor Devices (Sauna SPs)
Standardized command set and structure
Some commands mandatory, others optional
Group Code
Group Code
0
1
2
3-4
5
6-7
Command Code
Command Description
6 Byte Commands
10 Byte Commands
10 Byte Commands
Reserved
12 Byte commands
Vendor Specific
Operation Code
[LUN]
LBA (MSB)
LBA
LBA (LSB)
Transfer/Parameter/Allocation Length
Control Byte
0
1
2-5
6-9
10
11
Operation Code
[LUN]
Reserved
LBA
Reserved
Transfer/Parameter/Allocation Length
Reserved
Control Byte
6
Vendor
Unique
Reserved
Fla Link
g
Flag
Indicates Target should return Linked CCw/Flag Msg
Link
Used to continue I/O process across multiple commands
Bus Free
Bus Free
Arbitration/80 (7)
Select w/ATN/81 (7,0)
Message Out w/ATN /C0 (Identify)
Message Out w/ATN /20 (Simple Tag)
Message Out/00 (Tag ID)
Command/08 (Read) 00 34 22 01 00
Message In/04 (Disconnect)
Arbitration/01 (0)
Reselection/81 (7,0)
Message In/80 (Identify)
Message In/20 (Simple Tag)
Message In/00 (Tag ID)
Data In/00 01 02 03 04 05 06 07...
Status/00 (Good)
Message In/00 (Command Complete)
SCSI-3
Common Access Method (CAM-3)
Block
Commands
(SBC)
Stream
Commands
(SSC)
Graphic
Commands
(SGC)
Medium
Changer
Commands
(SMC)
Controller
Commands
(SCC)
Multi-Media
Commands
(MMC)
Fast-20
Parallel I/F
(Fast-20)
Interlocked
Protocol
(SIP)
Fiber Channel
Protocol
(FCP)
Serial Bus
Protocol
(SBP)
SSA SCSI-3
Protocol
(SSA-S3P)
Parallel
Interface
(SPI, SPI-2)
Fibre
Channel
(FC-PH)
High Perf.
Serial Bus
(P1394)
SSA-TL1/2
SSA-PH1/2
Generic
Packetized
Protocol
(GPP)
Almost any
Packet Interface