home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
S2R10_C.ZIP
/
S2R10C16.SI
< prev
next >
Wrap
Text File
|
1990-03-09
|
116KB
|
2,214 lines
.RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
.PL 62
.LM 1
.RM 78
.MT3
.MB4
.HM1
.FM1
.CW10
.PO10
.SR2
.UJ0
.OJ0
.UL1
.heMedium-Changer Devices 3/9/90
.foSCSI-2 draft proposed American National Standard 16-# Revision 10c
.pn 1
.pm 0
16. Mediuφ-Change≥ Devices
.aw on
.pm 3
.cp 20
.aw off
.pm 0
16.1. Mediuφ-Change≥ Device Model
.aw on
.pm 3
ááMediuφ change≥ device≤ mechanizσ thσ movemen⌠ oµ mediß t∩ anΣ froφ primar∙ ì
device≤ (sucΦ a≤ disδ o≥ tapσ drives⌐ anΣ othe≥ location≤ withiε thσ rangσ oµ ì
thσ mediuφ changer« Thσ mediuφ change≥ commanΣ se⌠ i≤ baseΣ oε ß physica∞ ì
mode∞ oµ thi≤ functionality.
ááThi≤ commanΣ se⌠ support≤ varieΣ physica∞ implementation≤ oµ thσ mediuφ ì
change≥ function« Mos⌠ oµ thesσ variation≤ arσ hiddeε froφ thσ initiato≥ b∙ ì
thσ higΦ leve∞ oµ functioε provideΣ b∙ thσ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ ì
command≤ anΣ b∙ thσ generalizeΣ naturσ oµ thσ elemen⌠ addressinτ scheme« ì
However¼ initiator≤ ma∙ neeΣ t∩ bσ awarσ oµ thσ capabilitie≤ oµ thσ particula≥ ì
mediuφ change≥ device« Thesσ characteristic≤ anΣ capabilitie≤ arσ conveyeΣ viß ì
MOD┼ SENS┼ pages.
.cp 10
.aw off
.pm 0
16.1.1. Mediuφ-Change≥ Elements
.aw on
.pm 3
ááThσ mediuφ-change≥ commanΣ se⌠ use≤ a≤ it≤ addres≤ spacσ thσ se⌠ oµ physica∞ ì
location≤ anΣ mechanism≤ withiε thσ scopσ oµ ß mediuφ change≥ device« Thσ terφ ì
elemen⌠ i≤ useΣ throughou⌠ thi≤ sectioε t∩ refe≥ t∩ onσ membe≥ oµ thσ mediuφ ì
change≥ addres≤ space« EacΦ elemen⌠ i≤ ß discretσ physica∞ entit∙ tha⌠ ma∙ ì
holΣ zer∩ o≥ onσ physica∞ uni⌠ oµ mediß ¡ onσ disδ cartridge¼ onσ spoo∞ oµ ì
tape¼ etc« Elemen⌠ addresse≤ d∩ no⌠ extenΣ acros≤ multiplσ physica∞ unit≤ oµ ì
media« Likewise¼ elemen⌠ addresse≤ arσ independen⌠ oµ an∙ logica∞ partitioninτ ì
tha⌠ thσ primar∙ devicσ ma∙ suppor⌠ withiε ß physica∞ uni⌠ oµ media«
áá┴ mediuφ change≥ i≤ vieweΣ a≤ ß se⌠ oµ addressablσ elements¼ eacΦ oµ whicΦ ì
ma∙ contaiε ß uni⌠ oµ mediß o≥ bσ useΣ t∩ movσ ß uni⌠ oµ media« EacΦ mediuφ ì
change≥ elemen⌠ ha≤ ß uniquσ 1╢ bi⌠ elemen⌠ address« EacΦ elemen⌠ i≤ aε ì
instancσ oµ onσ oµ fou≥ classe≤ o≥ elemen⌠ types«
áá 1« MEDIU═ TRANSPOR╘ ELEMEN╘
áá 2« STORAG┼ ELEMEN╘
áá 3« IMPOR╘ EXPOR╘ ELEMEN╘
áá 4« DAT┴ TRANSFE╥ ELEMEN╘
ááUnit≤ oµ mediß (cartridges¼ cassettes¼ caddies¼ etc.⌐ arσ referreΣ t∩ onl∙ ì
indirectl∙ b∙ thi≤ devicσ model« Unit≤ oµ mediß caε bσ moveΣ t∩ o≥ froφ an∙ ì
oµ thσ element≤ oµ thσ mediuφ change≥ device« Thσ presencσ oµ mediß a⌠ thσ ì
variou≤ element≤ iε ß mediuφ change≥ caε bσ sensed« Iε orde≥ t∩ ensurσ ì
exclusivσ acces≤ t∩ ß uni⌠ oµ media¼ thσ elemen⌠ wherσ thσ uni⌠ oµ mediß i≤ ì
locateΣ (thσ elemen⌠ address⌐ mus⌠ bσ reserved«
ááElement≤ oµ thσ mediuφ transport¼ impor⌠ expor⌠ anΣ (rarely⌐ datß transpor⌠ ì
type≤ ma∙ no⌠ providσ independen⌠ storagσ fo≥ medium« Thσ capabilitie≤ oµ ß ì
particula≥ mediuφ change≥ iε thi≤ respec⌠ caε bσ senseΣ viß thσ devicσ ì
capabilitie≤ pagσ oµ thσ Modσ Sensσ data« Thσ followinτ hypothetica∞ mediuφ ì
change≥ implementatioε illustrate≤ onσ casσ oµ aε elemen⌠ no⌠ providinτ ì
independen⌠ storagσ fo≥ medium« Conside≥ ß mediuφ change≥ whicΦ ha≤ ß ì
carouse∞ stylσ storagσ fo≥ medium« Thσ impor⌠ expor⌠ functioε coulΣ bσ ì
provideΣ b∙ ß por⌠ whicΦ allow≤ operato≥ acces≤ t∩ onσ oµ thσ storagσ ì
elements« Iε sucΦ ß device¼ thσ MOV┼ ELEMEN╘ commanΣ froφ storagσ elemen⌠ t∩ ìèimpor⌠ expor⌠ elemen⌠ woulΣ rotatσ thσ carouse∞ t∩ aligε thσ addresseΣ storagσ ì
elemen⌠ t∩ thσ impor⌠ expor⌠ position« Iε thi≤ casσ thσ impor⌠ expor⌠ elemen⌠ ì
doe≤ no⌠ providσ independen⌠ storagσ bu⌠ rathe≥ acces≤ t∩ onσ oµ thσ storagσ ì
elements«
.cp 5
.aw off
.pm 0
16.1.1.1. Mediuφ Transpor⌠ Elements
.aw on
.pm 3
ááMediuφ transpor⌠ element≤ addres≤ thσ function≤ oµ thσ mediuφ change≥ devicσ ì
tha⌠ perforφ thσ movemen⌠ oµ unit≤ oµ media« Wherσ ß mediuφ transpor⌠ elemen⌠ ì
caε servσ (eveε temporarily⌐ a≤ ß storagσ locatioε fo≥ medium¼ thσ locatioε oµ ì
eacΦ uni⌠ oµ mediß mus⌠ havσ ß separatσ elemen⌠ address.
ááIε large≥ mediuφ change≥ devices¼ thσ mediuφ movemen⌠ function≤ ma∙ bσ ì
performeΣ b∙ multiplσ independen⌠ robotiπ subsystems« EacΦ oµ thesσ ma∙ havσ ß ì
numbe≥ oµ mediuφ transpor⌠ elemen⌠ addresses« Thσ elemen⌠ addresse≤ withiε ì
eacΦ subsysteφ shal∞ bσ contiguous« An∙ oµ thσ elemen⌠ addresse≤ withiε ß ì
subsysteφ ma∙ bσ useΣ interchangeabl∙ iε thσ mediuφ transpor⌠ elemen⌠ addres≤ ì
fielΣ oµ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« Aε initiato≥ ma∙ determinσ ì
thσ capabilitie≤ oµ thσ mediuφ movemen⌠ facilitie≤ oµ ß mediuφ change≥ devicσ ì
viß thσ transpor⌠ geometr∙ MOD┼ SENS┼ page¼ 16.3.3.3.
ááElemen⌠ addres≤ zer∩ i≤ reserveΣ fo≥ usσ iε thσ mediuφ transpor⌠ elemen⌠ ì
addres≤ fielΣ oµ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ command≤ t∩ direc⌠ thσ mediuφ ì
change≥ t∩ usσ ß defaul⌠ o≥ mediuφ change≥ selecteΣ mediuφ transpor⌠ element.
ááIε somσ implementations¼ mediuφ transpor⌠ element≤ ma∙ bσ sourcσ and/o≥ ì
destinatioε addresse≤ iε MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« The∙ ma∙ ì
o≥ ma∙ no⌠ providσ independen⌠ storagσ oµ ß uni⌠ oµ media« Seσ thσ devicσ ì
capabilitie≤ MOD┼ SENS┼ page¼ 16.3.3.
.cp 5
.aw off
.pm 0
16.1.1.2. Storagσ Elements
.aw on
.pm 3
ááStoragσ element≤ arσ location≤ oµ unit≤ oµ mediß whilσ no⌠ iε somσ othe≥ ì
elemen⌠ type« Mediuφ iε storagσ element≤ i≤ availablσ fo≥ acces≤ b∙ mediuφ ì
transpor⌠ elements«
ááStoragσ element≤ ma∙ bσ sourcσ and/o≥ destinatioε addresse≤ iε MOV┼ MEDIU═ ì
anΣ EXCHANG┼ MEDIU═ commands.
.cp 5
.aw off
.pm 0
16.1.1.3. Import Expor⌠ Elements
.aw on
.pm 3
ááImpor⌠ expor⌠ element≤ arσ location≤ oµ unit≤ oµ mediß whicΦ arσ beinτ ì
inserteΣ int∩ o≥ withdrawε froφ thσ mediuφ change≥ device« Mediuφ iε thesσ ì
element≤ i≤ accessiblσ b∙ botΦ mediuφ transpor⌠ elements¼ b∙ thσ operator¼ o≥ ì
b∙ anothe≥ independen⌠ mediuφ change≥ device«
ááImpor⌠ expor⌠ element≤ ma∙ bσ sourcσ and/o≥ destinatioε addresse≤ iε MOV┼ ì
MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« The∙ ma∙ o≥ ma∙ no⌠ providσ independen⌠ ì
storagσ oµ ß uni⌠ oµ media¼ seσ thσ devicσ capabilitie≤ MOD┼ SENS┼ page¼ ì
16.3.3.
.cp 2
ááParticula≥ impor⌠ expor⌠ element≤ ma∙ bσ capablσ oµ eithe≥ impor⌠ actions¼ ì
expor⌠ actions¼ botΦ o≥ neithe≥ (iµ aε elemen⌠ i≤ no⌠ present).
.cp 5è.aw off
.pm 0
16.1.1.4. Data Transfer Element
.aw on
.pm 3
ááDatß transfe≥ element≤ arσ location≤ oµ thσ primar∙ device≤ whicΦ arσ ì
capablσ oµ readinτ o≥ writinτ thσ medium« Datß transfe≥ element≤ ma∙ als∩ bσ ì
vieweΣ a≤ mediuφ change≥ elemen⌠ addresse≤ oµ unit≤ oµ mediß loadeΣ iε o≥ ì
availablσ fo≥ loadinτ iε o≥ remova∞ froφ primar∙ device≤ sucΦ a≤ disδ o≥ tapσ ì
drives« Notσ tha⌠ thσ mediuφ change≥ functioε specifieΣ iε thi≤ sectioε doe≤ ì
no⌠ contro∞ thσ primar∙ device« Tha⌠ i≤ thσ responsibilit∙ oµ thσ system.
ááDatß transfe≥ element≤ ma∙ bσ sourcσ and/o≥ destinatioε addresse≤ iε MOV┼ ì
MEDIU═ anΣ EXCHANG┼ MEDIU═ commands« The∙ ma∙ o≥ ma∙ no⌠ providσ independen⌠ ì
storagσ oµ ß uni⌠ oµ media¼ seσ thσ devicσ capabilitie≤ MOD┼ SENS┼ page¼ ì
16.3.3.
.cp 10
.aw off
.pm 0
16.1.2. SCSI Addressing of Medium Changer Devices
.aw on
.pm 3
ááMediuφ Change≥ device≤ responΣ t∩ ß SCS╔ I─ » LU╬ addres≤ differen⌠ froφ ì
thosσ useΣ b∙ thσ datß transfe≥ elemen⌠ devices« Iµ thσ datß transfe≥ ì
element≤ serveΣ b∙ thσ mediuφ change≥ devicσ arσ SCS╔ devices¼ the∙ ma∙ bσ ì
addresseΣ thougΦ thσ samσ SCS╔ I─ a≤ thσ change≥ devicσ bu⌠ witΦ ß differen⌠ ì
logica∞ uni⌠ numbe≥ o≥ througΦ ß differen⌠ SCS╔ ID« Therσ i≤ n∩ requiremen⌠ ì
tha⌠ communicatioε witΦ thσ datß transfe≥ element≤ bσ donσ witΦ thσ samσ SCS╔ ì
bu≤ a≤ thσ mediuφ change≥ devicσ o≥ b∙ aε SCS╔ interfacσ a⌠ all« Thi≤ commanΣ ì
se⌠ doe≤ no⌠ suppor⌠ addressinτ botΦ thσ change≥ anΣ thσ datß transfe≥ ì
element≤ witΦ thσ samσ SCS╔ I─ » LU╬ becausσ thσ devicσ a⌠ ß particula≥ SCS╔ ì
I─ » LU╬ addres≤ mus⌠ havσ ß singlσ periphera∞ devicσ type«
ááThσ REA─ ELEMEN╘ STATU╙ responsσ pagσ fo≥ datß transfe≥ element≤ provide≤ ì
thσ SCS╔ I─ » LU╬ addres≤ oµ thσ primar∙ device≤ serviceΣ b∙ ß mediuφ change≥ ì
devicσ iµ knowε t∩ thσ mediuφ change≥ device«
.cp 10
.aw off
.pm 0
16.1.3. Data Access Operations Using a Medium Changer Device
.aw on
.pm 3
ááThσ mediuφ change≥ devicσ move≤ unit≤ oµ mediß amonτ thσ severa∞ element≤ ì
accessiblσ t∩ it« I⌠ i≤ ablσ t∩ repor⌠ thσ full/empt∙ statu≤ oµ an∙ oµ thesσ ì
elements« Datß transfe≥ element≤ represen⌠ thσ interfacσ betweeε thσ mediuφ ì
change≥ devicσ anΣ somσ primar∙ devicσ sucΦ a≤ ß removablσ mediß optica∞ disδ ì
drivσ o≥ tapσ drive«
ááIε orde≥ t∩ acces≤ datß oε ß uni⌠ oµ mediß currentl∙ locateΣ iε ß mediuφ ì
change≥ storagσ element¼ ß systeφ wil∞ havσ t∩ issuσ command≤ t∩ botΦ thσ ì
mediuφ change≥ devicσ anΣ t∩ thσ primar∙ device« Thσ command≤ t∩ thσ mediuφ ì
change≥ ma∙ includσ MOV┼ MEDIU═ o≥ EXCHANG┼ MEDIU═ plu≤ REA─ ELEMEN╘ STATU╙ ì
commands« Thσ command≤ t∩ thσ primar∙ devicσ ma∙ includσ TES╘ UNI╘ READY¼ ì
INQUIRY¼ STAR╘ STO╨ anΣ LOA─ UNLOA─ command≤ iε additioε t∩ REA─ anΣ WRIT┼ ì
commands«
.cp 10è.aw off
.pm 0
16.1.4. Elemen⌠ Statu≤ Maintenancσ Requirements
.aw on
.pm 3
ááIµ thσ mediuφ change≥ devicσ choose≤ t∩ implemen⌠ thσ REA─ ELEMEN╘ STATU╙ ì
command¼ thσ mediuφ change≥ devicσ mus⌠ bσ capablσ oµ reportinτ thσ variou≤ ì
datß (i.e« full¼ error¼ etc.⌐ requireΣ b∙ eacΦ pagσ type« Thσ mediuφ change≥ ì
ma∙ maintaiε thi≤ informatioε a⌠ al∞ time≤ o≥ regeneratσ i⌠ iε responsσ t∩ thσ ì
REA─ ELEMEN╘ STATU╙ command« Thσ INITIALIZ┼ ELEMEN╘ STATU╙ commanΣ caε bσ useΣ ì
t∩ forcσ regeneratioε oµ thi≤ information«
.cp 10
.aw off
.pm 0
16.1.5. Volumσ Tags
.aw on
.pm 3
ááThσ ReaΣ Elemen⌠ Statu≤ descripto≥ forma⌠ fo≥ al∞ elemen⌠ type≤ include≤ tw∩ ì
set≤ oµ field≤ tha⌠ contaiε volumσ taτ information« Thesσ optiona∞ field≤ arσ ì
useΣ t∩ repor⌠ mediß identificatioε informatioε tha⌠ thσ mediuφ change≥ ha≤ ì
acquireΣ eithe≥ b∙ readinτ aε externa∞ labe∞ (e.g« ba≥ codσ labels)¼ b∙ ß SEN─ ì
VOLUM┼ TA╟ commanΣ o≥ b∙ othe≥ mean≤ whicΦ ma∙ bσ vendo≥ unique« Thσ samσ ì
volumσ taτ informatioε shal∞ bσ availablσ t∩ al∞ initiator≤ whethe≥ assigneΣ ì
b∙ tha⌠ initiator¼ b∙ somσ othe≥ initiato≥ o≥ b∙ thσ mediß change≥ itself.
ááVolumσ taτ informatioε provide≤ ß mean≤ t∩ confirφ thσ identit∙ oµ ß uni⌠ oµ ì
mediß tha⌠ reside≤ iε ß mediuφ change≥ element« Thi≤ commanΣ se⌠ doe≤ no⌠ ì
definσ an∙ direc⌠ addressinτ oµ unit≤ oµ mediß baseΣ oε thesσ fields« However¼ ì
command≤ arσ defineΣ tha⌠ providσ translatioε betweeε volumσ taτ informatioε ì
anΣ thσ elemen⌠ addres≤ wherσ tha⌠ uni⌠ oµ mediß currentl∙ resides.
ááThσ mediuφ change≥ commanΣ se⌠ definitioε doe≤ no⌠ imposσ thσ requiremen⌠ ì
tha⌠ volumσ taτ informatioε bσ uniquσ ove≥ thσ unit≤ oµ mediß withiε thσ scopσ ì
oµ thσ change≥ device«
ááThσ followinτ command≤ suppor⌠ thσ optiona∞ volumσ taτ functionality:
áá(1⌐ SEN─ VOLUM┼ TA╟ ¡ eithe≥ a≤ ß translatioε reques⌠ o≥ t∩ associatσ ß ì
Volumσ Taτ witΦ thσ uni⌠ oµ mediß currentl∙ residinτ a⌠ aε elemen⌠ address.
áá(2⌐ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ ¡ returε thσ elemen⌠ addres≤ currentl∙ ì
associateΣ witΦ thσ volumσ taτ informatioε transferreΣ witΦ thσ las⌠ SenΣ ì
Volumσ Taτ command.
áá(3⌐ REA─ ELEMEN╘ STATU╙ ¡ optionall∙ report≤ volumσ taτ informatioε fo≥ al∞ ì
elemen⌠ types.
áá(4⌐ MOV┼ MEDIU═ anΣ EXCHANG┼ MEDIU═ command≤ ¡ iµ volumσ tag≤ arσ ì
implemented¼ thesσ command≤ mus⌠ retaiε thσ associatioε betweeε volumσ taτ ì
informatioε anΣ unit≤ oµ mediß a≤ the∙ arσ moveΣ froφ elemen⌠ t∩ element.
.lm 1
.cp 5
.aw off
.pm 0
16.1.5.1. Volumσ Taτ Format
.aw on
.pm 3
ááVolumσ taτ informatioε consist≤ oµ ß volumσ identifie≥ fielΣ oµ 3▓ byte≤ ì
plu≤ ß volumσ sequencσ numbe≥ fielΣ oµ ▓ bytes« Thσ volumσ identifie≥ shal∞ ì
consis⌠ oµ ß lef⌠ justifieΣ sequencσ oµ ASCI╔ characters« UnuseΣ position≤ ì
shal∞ bσ blanδ (20h⌐ filled« Iε orde≥ fo≥ thσ SEN─ VOLUM┼ TA╟ translatσ witΦ ì
templatσ t∩ worδ thσ character≤ '*º and'?º (2AΦ anΣ 3Fh⌐ mus⌠ no⌠ appea≥ iε ì
volumσ identificatioε datß anΣ therσ mus⌠ bσ n∩ blank≤ (20h⌐ withiε thσ ì
significan⌠ par⌠ oµ thσ volumσ identifier« Iµ volumσ taτ informatioε fo≥ ß ì
particula≥ elemen⌠ i≤ undefined¼ thσ volumσ identifie≥ fielΣ shal∞ bσ zero«
.cp 3
ááThσ volumσ sequencσ numbe≥ i≤ ß ▓ bytσ intege≥ field« Iµ thσ volumσ sequencσ ì
numbe≥ i≤ no⌠ useΣ thi≤ fielΣ shal∞ bσ zero« Thσ volumσ taτ content≤ arσ ì
independen⌠ oµ thσ volumσ identificatioε informatioε recordeΣ oε thσ media« è
.cp 6
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Fo≥ compatibilit∙ witΦ thσ volumσ identifie≥ defineΣ b∙ ì
áávolumσ anΣ filσ structurσ standards¼ i⌠ i≤ recommendeΣ tha⌠ thσ character≤ ì
ááiε thσ significan⌠ noε-blanδ portioε oµ thσ volumσ identifie≥ fielΣ bσ ì
áárestricteΣ t∩ thσ set║ '0'..'9'¼ 'A'..'Z'¼ anΣ '_º (30h..39h¼ 41h..5Ah¼ ì
áá5Fh)« Specifiπ system≤ ma∙ havσ differinτ requirement≤ tha⌠ ma∙ takσ ì
ááprecedencσ ove≥ thi≤ recommendation«
.pm 3
.lm 1
.cp 3
ááTablσ 1╢-▒ define≤ thσ field≤ withiε thσ 3╢ bytσ primar∙ anΣ alternatσ ì
volumσ taτ informatioε field≤ founΣ iε REA─ ELEMEN╘ STATU╙ descriptor≤ anΣ iε ì
thσ datß forma⌠ fo≥ thσ SEN─ VOLUM┼ TA╟ command.
.aw off
.pm 0
.cp 22
Table 16-1: Volumσ Taτ Informatioε Format
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
░ | |
¡ ¡ -ⁿ¡ ¡ ¡ Volumσ Identification Field - - -|
31 | |
-----|-----------------------------------------------------------------------|
32 | |
¡ ¡ -ⁿ¡ ¡ ¡ ReserveΣ - - -|
33 ⁿ |
-----|-----------------------------------------------------------------------|
34 | (MSB) |
-----|--- Volumσ Sequencσ Number ---|
35 | (LSB) |
==============================================================================
.aw on
.pm 3
.cp 5
.aw off
.pm 0
16.1.5.2. Primar∙ anΣ Alternatσ Volumσ Taτ Information
.aw on
.pm 3
ááElemen⌠ statu≤ descriptor≤ a≤ reporteΣ b∙ thσ REA─ ELEMEN╘ STATU╙ commanΣ ì
definσ ß primar∙ volumσ taτ anΣ aε alternatσ volumσ tag« Alternatσ volumσ taτ ì
informatioε provide≤ ß mean≤ fo≥ ß systeφ t∩ usσ differen⌠ volumσ ì
identificatioε informatioε fo≥ eacΦ sidσ oµ doublσ sideΣ media« Iε sucΦ ß ì
system¼ thσ primar∙ volumσ taτ informatioε refer≤ t∩ thσ logica∞ mediuφ ì
accessiblσ viß ß MOV┼ MEDIU═ commanΣ withou⌠ thσ inver⌠ bi⌠ set« Thσ alternatσ ì
volumσ taτ informatioε refer≤ t∩ thσ othe≥ sidσ oµ thσ media¼ i.e« thσ sidσ ì
tha⌠ woulΣ bσ accesseΣ viß ß MOV┼ MEDIU═ commanΣ witΦ thσ inver⌠ bi⌠ set.
.cp 40è.aw off
.pm 0
16.2. Command≤ fo≥ Medium Change≥ Devices
.aw on
.pm 3
ááThσ command≤ fo≥ mediuφ change≥ device≤ shal∞ bσ a≤ showε iε Tablσ 1╢-2.
.aw off
.pm 0
.cp 35
Table 16-2: Commands for Medium Change≥ Devices
==============================================================================
Operatioε
Command Name Code Type Sectioε
------------------------------------------------------------------------------
CHANG┼ DEFINITION 40h O 7.2.1
EXCHANGE MEDIUM A6h O 16.2.1
INITIALIZ┼ ELEMEN╘ STATU╙ 07Φ ╧ 16.2.2
INQUIRY 12h M 7.2.5
LO╟ SELEC╘ 4CΦ ╧ 7.2.6
LO╟ SENS┼ 4DΦ ╧ 7.2.7
MODE SELECT(6) 15h O 7.2.8
MODE SELECT(10) 55h O 7.2.9
MODE SENSE(6) 1Ah O 7.2.10
MODE SENSE(10) 5Ah O 7.2.11
MOVE MEDIUM A5h M 16.2.3
POSITIO╬ T╧ ELEMEN╘ 2BΦ ╧ 16.2.4
PREVEN╘ ALLOW MEDIUM REMOVAL 1Eh O 8.2.4
REA─ BUFFER 3Ch O 7.2.12
READ ELEMENT STATUS B8h O 16.2.5
RECEIVE DIAGNOSTIC RESULTS 1Ch O 7.2.13
RELEASE 17h O 16.2.6
REQUES╘ VOLUME ELEMEN╘ ADDRES╙ B5Φ ╧ 16.2.7
REQUEST SENSE 03h M 7.2.14
RESERVE 16h O 16.2.8
REZERO UNIT 01h O 8.2.13
SEND DIAGNOSTIC 1Dh M 7.2.15
SEN─ VOLUM┼ TA╟ B6Φ ╧ 16.2.9
TEST UNIT READY 00h M 7.2.16
WRIT┼ BUFFER 3Bh O 7.2.17
==============================================================================
.aw on
.pm 3
ááKey║ ═ ╜ CommanΣ implementatioε i≤ mandatory.
áá ╧ ╜ CommanΣ implementatioε i≤ optional.
ááOperatioε code≤ C0Φ througΦ FFΦ arσ vendo≥ specific« Al∞ othe≥ operatioε ì
code≤ arσ reserved.
.cp 35è.aw off
.pm 0
16.2.1. EXCHANGE MEDIUM Command
Table 16-3: EXCHANGE MEDIUM Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (A6h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Transport Element Address ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Source Address ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Firs⌠ Destinatioε Addres≤ ---|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | (MSB) |
-----|--- Second Destination Address ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 ⁿ ReserveΣ ⁿ Inv2 | Inv1 |
-----|-----------------------------------------------------------------------|
1▒ ⁿ Control |
==============================================================================
.aw on
.pm 3
ááThσ EXCHANG┼ MEDIU═ commanΣ (Tablσ 1╢-3⌐ provide≤ ß mean≤ t∩ exchangσ thσ ì
mediuφ iε thσ sourcσ elemen⌠ witΦ thσ mediuφ locateΣ a⌠ ß destinatioε element«
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Suppor⌠ oµ thi≤ commanΣ require≤ tha⌠ thσ devicσ havσ ì
ááthσ capabilit∙ oµ handlinτ tw∩ unit≤ oµ mediß a⌠ thσ samσ timσ o≥ tha⌠ i⌠ ì
ááemulatσ thi≤ capability«
.pm 3
.lm 1
ááThσ mediuφ iε thσ sourcσ elemen⌠ i≤ moveΣ t∩ thσ destinatioε ▒ elemen⌠ anΣ ì
thσ mediuφ whicΦ previousl∙ occupieΣ thσ destinatioε ▒ elemen⌠ i≤ moveΣ t∩ thσ ì
destinatioε ▓ element« Thσ destinatioε ▓ elemen⌠ ma∙ o≥ ma∙ no⌠ bσ thσ samσ ì
elemen⌠ a≤ thσ sourcσ element« Iε thσ casσ oµ ß simplσ exchange¼ thσ sourcσ ì
elemen⌠ anΣ thσ destinatioε ▓ elemen⌠ arσ thσ same«
ááIµ thi≤ commanΣ i≤ receiveΣ anΣ thσ sourcσ elemen⌠ i≤ empt∙ o≥ thσ ì
destinatioε ▒ elemen⌠ i≤ empt∙ o≥ thσ destinatioε ▓ elemen⌠ (iµ differen⌠ froφ ì
thσ sourcσ element⌐ i≤ ful∞ o≥ thσ destinatioε ▓ elemen⌠ (iµ thσ samσ a≤ thσ ì
sourcσ element⌐ i≤ empty¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ ì
se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
.cp 6èááThσ transpor⌠ elemen⌠ addres≤ specifie≤ thσ mediuφ transpor⌠ elemen⌠ tha⌠ i≤ ì
t∩ bσ useΣ iε executinτ thi≤ command« Thσ defaul⌠ mediuφ transpor⌠ elemen⌠ ì
addres≤ oµ zer∩ ma∙ bσ useΣ iµ thi≤ functionalit∙ i≤ supporteΣ b∙ thσ mediuφ ì
change≥ device« Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε assigneΣ o≥ ha≤ beeε ì
assigneΣ t∩ aε elemen⌠ othe≥ thaε ß mediuφ transpor⌠ element¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ anΣ thσ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
ááThσ sourcσ address¼ thσ destinatioε ▒ address¼ anΣ thσ destinatioε ▓ addres≤ ì
ma∙ represen⌠ ß storagσ element¼ aε impor⌠ expor⌠ element¼ ß datß transfe≥ ì
element¼ o≥ ß mediuφ transpor⌠ element« Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε ì
assigneΣ t∩ ß specifiπ elemen⌠ oµ thσ mediuφ changer¼ thσ targe⌠ shal∞ returε ì
CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
ááThσ devicσ capabilitie≤ MOD┼ SENS┼ pagσ provide≤ ß matri° witΦ thσ supporteΣ ì
sourcσ elemen⌠ » destinatioε ▒ elemen⌠ combination≤ fo≥ EXCHANG┼ MEDIU═ ì
command≤ witΦ sourcσ elemen⌠ thσ samσ a≤ destinatioε ▓ element« Seσ 16.3.3.
ááAε Inv▒ bi⌠ oµ onσ specifie≤ tha⌠ thσ mediuφ shal∞ bσ inverteΣ prio≥ t∩ ì
depositinτ thσ mediuφ int∩ thσ destinatioε ▒ element«
ááAε Inv▓ bi⌠ oµ onσ specifie≤ tha⌠ thσ mediuφ shal∞ bσ inverteΣ prio≥ t∩ ì
depositinτ thσ mediuφ int∩ thσ destinatioε ▓ element«
ááIµ thσ mediuφ change≥ doe≤ no⌠ suppor⌠ mediuφ rotatioε fo≥ handlinτ doublσ ì
sideΣ media¼ thσ Inv▒ anΣ Inv▓ bit≤ shoulΣ bσ se⌠ t∩ zero« Iµ eithe≥ oµ thesσ ì
bit≤ i≤ nonzero¼ ß targe⌠ whicΦ i≤ no⌠ capablσ oµ mediuφ rotatioε shal∞ returε ì
CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
.pm 0
.aw off
.cp 30è16.2.2. INITIALIZ┼ ELEMEN╘ STATU╙ Command
Table 16-4: INITIALIZ┼ ELEMEN╘ STATU╙ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (07h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number ⁿ ReserveΣ |
-----|-----------------------------------------------------------------------|
2 | Reserved |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 ⁿ Control |
==============================================================================
.pm 3
.aw on
ááThσ INITIALIZ┼ ELEMEN╘ STATU╙ commanΣ (Tablσ 1╢-4⌐ wil∞ causσ thσ Mediuφ ì
Change≥ t∩ checδ al∞ element≤ fo≥ mediuφ anΣ an∙ othe≥ statu≤ relevan⌠ t∩ tha⌠ ì
element« Thσ inten⌠ oµ thi≤ commanΣ i≤ t∩ enablσ thσ initiato≥ t∩ ge⌠ ß quicδ ì
responsσ froφ ß followinτ REA─ ELEMEN╘ STATU╙ command« I⌠ ma∙ bσ usefu∞ t∩ ì
issuσ thi≤ commanΣ afte≥ ß powe≥ failure¼ o≥ iµ mediuφ ha≤ beeε changeΣ b∙ aε ì
operator¼ o≥ iµ configuration≤ havσ beeε changed.
.cp 35è.pm 0
.aw off
16.2.3. MOVE MEDIUM Command
Table 16-5: MOVE MEDIUM Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (A5h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Transport Element Address ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Source Address ---|
5 ⁿ (LSB⌐ |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- Destination Address ---|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | Reserved |
-----|-----------------------------------------------------------------------|
9 | Reserved |
-----|-----------------------------------------------------------------------|
10 | Reserved | Invert |
-----|-----------------------------------------------------------------------|
1▒ ⁿ Control |
==============================================================================
.aw on
.pm 3
ááThσ MOV┼ MEDIU═ commanΣ (Tablσ 1╢-5⌐ request≤ tha⌠ thσ targe⌠ movσ ß uni⌠ oµ ì
mediß froφ ß sourcσ elemen⌠ t∩ ß destinatioε element«
ááThσ sourcσ addres≤ specifie≤ thσ locatioε tha⌠ thσ mediuφ i≤ takeε from¼ anΣ ì
thσ destinatioε addres≤ specifie≤ thσ locatioε tha⌠ thσ mediuφ i≤ moveΣ to«
ááIµ thi≤ commanΣ i≤ receiveΣ anΣ thσ sourcσ elemen⌠ i≤ empt∙ o≥ thσ ì
destinatioε elemen⌠ (iµ differen⌠ froφ thσ sourcσ element⌐ i≤ full¼ thσ targe⌠ ì
shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
ááThσ transpor⌠ elemen⌠ addres≤ specifie≤ thσ mediuφ transpor⌠ elemen⌠ tha⌠ i≤ ì
t∩ bσ useΣ iε executinτ thi≤ command« Thσ defaul⌠ mediuφ transpor⌠ elemen⌠ ì
addres≤ oµ zer∩ ma∙ bσ useΣ iµ thi≤ functionalit∙ i≤ supporteΣ b∙ thσ mediuφ ì
change≥ device« Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε assigneΣ o≥ ha≤ beeε ì
assigneΣ t∩ aε elemen⌠ othe≥ thaε ß mediuφ transpor⌠ element¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ anΣ thσ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
.cp 5èááThσ sourcσ addres≤ anΣ thσ destinatioε addres≤ ma∙ represen⌠ ß storagσ ì
element¼ aε impor⌠ expor⌠ element¼ ß datß transfe≥ element¼ o≥ ß mediuφ ì
transpor⌠ element« Iµ thσ addres≤ specifieΣ ha≤ no⌠ beeε assigneΣ t∩ ß ì
specifiπ elemen⌠ oµ thσ mediuφ changer¼ thσ targe⌠ shal∞ returε CHEC╦ ì
CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
ááThσ devicσ capabilitie≤ MOD┼ SENS┼ pagσ provide≤ ß matri° witΦ thσ supporteΣ ì
sourcσ elemen⌠ or destinatioε elemen⌠ combination≤ fo≥ thσ MOV┼ MEDIU═ command« ì
Seσ 16.3.3.
ááAε inver⌠ bi⌠ oµ onσ specifie≤ tha⌠ thσ mediuφ shal∞ bσ inverteΣ o≥ rotateΣ ì
prio≥ t∩ depositinτ thσ mediuφ int∩ thσ destinatioε element« Iµ thσ mediuφ ì
change≥ doe≤ no⌠ suppor⌠ mediuφ rotatioε fo≥ handlinτ doublσ sideΣ media¼ thσ ì
inver⌠ bi⌠ shoulΣ bσ se⌠ t∩ zero« Iµ thi≤ bi⌠ i≤ nonzero¼ ß targe⌠ whicΦ i≤ ì
no⌠ capablσ oµ mediuφ rotatioε shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ ì
sensσ ke∙ t∩ ILLEGA╠ REQUEST«
.pm 0
.aw off
.cp 35
16.2.4. POSITIO╬ T╧ ELEMENT Command
Table 16-6: POSITIO╬ T╧ ELEMENT Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (2Bh) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number ⁿ ReserveΣ |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Transpor⌠ Element Address ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Destination Elemen⌠ Address ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 | Reserved |
-----|-----------------------------------------------------------------------|
7 | Reserved |
-----|-----------------------------------------------------------------------|
8 | Reserved ⁿ Invert |
-----|-----------------------------------------------------------------------|
╣ ⁿ Control |
==============================================================================
.pm 3
.aw on
.cp 2
ááThσ POSITIO╬ T╧ ELEMEN╘ commanΣ (Tablσ 1╢-6⌐ wil∞ positioε thσ transpor⌠ ì
elemen⌠ specifieΣ iε fron⌠ oµ thσ destinatioε elemen⌠ specified«
.cp 4
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iε thi≤ context¼ "iε fron⌠ ofó i≤ defineΣ t∩ meaε ¡¡ ì
áápositioneΣ s∩ tha⌠ n∩ furthe≥ motioε oµ thσ mediuφ transpor⌠ elemen⌠ i≤ ì
áánecessar∙ t∩ executσ aε appropriatσ MOV┼ MEDIU═ commanΣ betweeε thσ tw∩ ì
ááelements.è.pm 3
.lm 1
.cp 4
ááAε inver⌠ bi⌠ valuσ oµ onσ request≤ tha⌠ thσ transpor⌠ elemen⌠ bσ inverteΣ ì
o≥ rotateΣ beforσ positioninτ iε fron⌠ oµ thσ destinatioε element« ┴ valuσ oµ ì
zer∩ request≤ tha⌠ thσ orientatioε bσ unchangeΣ beforσ positioninτ iε fron⌠ oµ ì
thσ destinatioε element.
.pm 0
.aw off
.cp 35
16.2.5. READ ELEMENT STATUS Command
Table 16-7: READ ELEMENT STATUS Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (B8h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number ⁿ VolTaτ | Element Type Code |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Starting Element Address ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Number of Elements ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 ⁿ Reserved |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
-----|--¡ ---|
8 ⁿ Allocatioε Length |
-----|--¡ ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | Reserved |
-----|-----------------------------------------------------------------------|
11 ⁿ Control |
==============================================================================
.pm 3
.aw on
ááThσ REA─ ELEMEN╘ STATU╙ commanΣ (Tablσ 1╢-7⌐ request≤ thσ targe⌠ repor⌠ thσ ì
statu≤ oµ it≤ interna∞ element≤ t∩ thσ initiator.
áá┴ volumσ taτ (VolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ repor⌠ ì
volumσ taτ informatioε iµ thi≤ featurσ i≤ supported« ┴ valuσ oµ zer∩ indicate≤ ì
tha⌠ volumσ taτ informatioε shal∞ no⌠ bσ reported« Iµ thσ volumσ taτ featurσ ì
i≤ no⌠ supporteΣ thi≤ fielΣ shal∞ bσ treateΣ a≤ reserved.
ááThσ elemen⌠ typσ codσ fielΣ specifie≤ thσ particula≥ elemen⌠ type(s⌐ ì
selecteΣ fo≥ reportinτ b∙ thi≤ command« ┴ valuσ oµ zer∩ specifie≤ tha⌠ statu≤ ì
fo≥ al∞ elemen⌠ type≤ shal∞ bσ reported« Thσ elemen⌠ typσ code≤ arσ defineΣ ì
iε Tablσ 1╢-8.
.cp 13è.pm 0
.aw off
Table 16-8: Element Type Code
==============================================================================
Code Description
----- ---------------------------------------------------
0h Al∞ elemen⌠ type≤ reported¼ (valiΣ iε CD┬ only)
1h Medium Transport Element
2Φ Storagσ Element
3h Impor⌠ Export Element
4h Data Transfer Element
5h-Fh Reserved
==============================================================================
.pm 3
.aw on
ááThσ startinτ elemen⌠ addres≤ specifie≤ thσ minimuφ elemen⌠ addres≤ t∩ ì
report« Onl∙ element≤ witΦ aε elemen⌠ typσ codσ permitteΣ b∙ thσ elemen⌠ typσ ì
codσ specificatioε anΣ aε elemen⌠ addres≤ greate≥ thaε o≥ equa∞ t∩ thσ ì
startinτ elemen⌠ addres≤ shal∞ bσ reported« Elemen⌠ descripto≥ block≤ arσ no⌠ ì
generateΣ fo≥ undefineΣ elemen⌠ addresses.
ááThσ numbe≥ oµ element≤ specifie≤ thσ maximuφ numbe≥ oµ elemen⌠ descriptor≤ ì
t∩ bσ createΣ b∙ thσ targe⌠ fo≥ thi≤ command« Thσ valuσ specifieΣ b∙ thi≤ ì
fielΣ i≤ no⌠ thσ rangσ oµ elemen⌠ addresse≤ t∩ bσ considereΣ fo≥ reportinτ bu⌠ ì
rathe≥ thσ numbe≥ oµ defineΣ element≤ t∩ report« Iµ thσ allocatioε lengtΦ i≤ ì
no⌠ sufficien⌠ t∩ transfe≥ al∞ thσ elemen⌠ descriptors¼ thσ targe⌠ shal∞ ì
transfe≥ al∞ thosσ descriptor≤ tha⌠ caε bσ completel∙ transferreΣ anΣ thi≤ ì
shal∞ no⌠ bσ considereΣ aε error.
.cp 5
.aw off
.pm 0
16.2.5.1. Elemen⌠ Statu≤ Data
.aw on
.pm 3
ááThσ datß returneΣ b∙ thσ REA─ ELEMEN╘ STATU╙ commanΣ shal∞ bσ a≤ showε iε ì
Table≤ 1╢-╣ througΦ 1╢-1┤ anΣ Figurσ 1╢-1« Elemen⌠ statu≤ datß consist≤ oµ aε ì
eigh⌠-bytσ header¼ (Tablσ 1╢-9⌐ followeΣ b∙ onσ o≥ morσ elemen⌠ statu≤ pages.
.aw off
.pm 0
.cp 32è-------------------------------------------------------
ⁿ Elemen⌠ Statu≤ Datß ¿Tablσ 16-9.) |
| ╕ bytσ heade≥ ½ Elemen⌠ Statu≤ Page≤ |
|-----------------------------------------------------ⁿ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ -
ⁿ ----------------------------------------¡------- | Byte≤ counteΣ A
ⁿ | Elemen⌠ Statu≤ Pagσ (Tablσ 16-10.⌐ ⁿ ⁿ iε overal∞ |
ⁿ ⁿ ╕ bytσ heade≥ ½ Elemen⌠ Descriptors ⁿ ⁿ header |
ⁿ |----------------------------------------------ⁿ ⁿ ¡ ¡ |
ⁿ ⁿ ----------------------------------------¡ | ⁿ A |
ⁿ ⁿ ⁿ Elemen⌠ Descripto≥ (Tablσ 16-11¼ ⁿ | ⁿ | Byte≤ |
ⁿ ⁿ ⁿ 16-12¼ 16-1│ o≥ 16-14.⌐ ⁿ | ⁿ | counted |
ⁿ ⁿ ----------------------------------------¡ | | | iε page |
ⁿ ⁿ ----------------------------------------¡ | | | header |
ⁿ ⁿ ⁿ Elemen⌠ Descripto≥ | | | ⁿ |
ⁿ ⁿ ----------------------------------------¡ | ⁿ V |
ⁿ ------------------------------------------------ ⁿ ¡ ¡ |
ⁿ ------------------------------------------------ | |
ⁿ | Elemen⌠ Statu≤ Pagσ | | |
ⁿ |----------------------------------------------| | |
ⁿ ⁿ ----------------------------------------¡ | | |
ⁿ ⁿ ⁿ Elemen⌠ Descripto≥ ⁿ | | |
ⁿ ⁿ ----------------------------------------¡ | | |
ⁿ ⁿ « ⁿ ⁿ |
ⁿ ⁿ « (Morσ Elemen⌠ Descriptors⌐ ⁿ ⁿ |
ⁿ ⁿ « ⁿ ⁿ |
ⁿ ------------------------------------------------ ⁿ |
ⁿ « ⁿ |
ⁿ « (Morσ Elemen⌠ Statu≤ Pages⌐ ⁿ |
ⁿ « ⁿ V
------------------------------------------------------¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ -
Figure 16-1: Illustratioε oµ Elemen⌠ Statu≤ Datß Structure
.aw on
.cp 26è.aw off
.pm 0
Table 16-9: Elemen⌠ Status Data
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Firs⌠ Element Addres≤ Reported ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Number of Element≤ Reported ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | (MSB) |
-----|--¡ ---|
6 ⁿ Bytσ Coun⌠ oµ Repor⌠ Available |
-----|--¡ (al∞ page≤¼ ° ¡ 7 ) ---|
7 | (LSB) |
==============================================================================
8 t∩ | |
¡ ¡ -ⁿ¡ ¡ ¡ Elemen⌠ Statu≤ Page(s⌐ - - -|
x ⁿ |
==============================================================================
.pm 3
.aw on
ááThσ firs⌠ elemen⌠ addres≤ reporteΣ fielΣ indicate≤ thσ elemen⌠ addres≤ oµ ì
thσ elemen⌠ witΦ thσ smalles⌠ elemen⌠ addres≤ founΣ t∩ mee⌠ thσ CD┬ request.
ááThσ numbe≥ oµ element≤ fielΣ indicate≤ thσ numbe≥ oµ element≤ meetinτ thσ ì
reques⌠ iε thσ commanΣ descripto≥ block« Thσ statu≤ fo≥ thesσ element≤ i≤ ì
returneΣ iµ sufficien⌠ allocatioε lengtΦ wa≤ specified.
ááThσ bytσ coun⌠ oµ repor⌠ availablσ fielΣ indicate≤ thσ numbe≥ oµ byte≤ oµ ì
elemen⌠ statu≤ pagσ datß availablσ fo≥ al∞ element≤ meetinτ thσ reques⌠ iε thσ ì
commanΣ descripto≥ block« Thi≤ valuσ shal∞ no⌠ bσ adjusteΣ t∩ matcΦ thσ ì
allocatioε lengtΦ available«
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Thσ REA─ ELEMEN╘ STATU╙ commanΣ caε bσ issueΣ witΦ aε ì
ááallocatioε lengtΦ oµ eigh⌠ byte≤ iε orde≥ t∩ determinσ thσ allocatioε lengtΦ ì
áárequireΣ t∩ transfe≥ al∞ thσ elemen⌠ statu≤ datß specifieΣ b∙ thσ command.
.pm 3
.lm 1
.cp 25è.aw off
.pm 0
16.2.5.2. Elemen⌠ Statu≤ Pagσ
Table 16-10: Elemen⌠ Statu≤ Pagσ
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Element Type Code |
-----|-----------------------------------------------------------------------|
▒ | PVolTag| AVolTag| Reserved |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Elemen⌠ Descriptor LengtΦ ---|
3 | ¿z¼ froφ table≤ 16-1▒ ¡ 1╢-14.⌐ (LSB) |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
5 | (MSB) |
-----|--¡ ---|
6 ⁿ Bytσ Coun⌠ oµ Descripto≥ Data Available |
-----|--¡ (thi≤ page¼ ∙ ¡ 7⌐ ---|
7 | (LSB) |
==============================================================================
8 t∩ | |
¡ ¡ -ⁿ¡ ¡ ¡ Elemen⌠ Descriptor(s⌐ - - -|
y ⁿ |
==============================================================================
.pm 3
.aw on
ááThσ elemen⌠ statu≤ pagσ i≤ defineΣ iε Tablσ 1╢-9« EacΦ elemen⌠ statu≤ pagσ ì
include≤ aε eigh⌠-bytσ heade≥ followeΣ b∙ onσ o≥ morσ elemen⌠ descripto≥ ì
blocks« Thσ pagσ heade≥ (Tablσ 1╢-10⌐ include≤ thσ elemen⌠ typσ code¼ thσ ì
lengtΦ oµ eacΦ descripto≥ blocδ anΣ thσ numbe≥ oµ byte≤ oµ elemen⌠ descripto≥ ì
informatioε whicΦ follo≈ thσ heade≥ fo≥ thi≤ elemen⌠ type«
.cp 4
ááThσ elemen⌠ typσ codσ fielΣ indicate≤ thσ elemen⌠ typσ reporteΣ b∙ thi≤ ì
page.
áá┴ primar∙ volumσ taτ (PVolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ primar∙ volumσ ì
taτ informatioε fielΣ i≤ presen⌠ iε eacΦ oµ thσ followinτ elemen⌠ descripto≥ ì
blocks« ┴ valuσ oµ zer∩ indicate≤ tha⌠ thesσ byte≤ arσ omitteΣ froφ thσ ì
elemen⌠ descriptor≤ tha⌠ follow.
ááAε alternatσ volumσ taτ (AVolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ alternatσ ì
volumσ taτ informatioε fielΣ i≤ presen⌠ iε eacΦ oµ thσ followinτ elemen⌠ ì
descripto≥ blocks« ┴ valuσ oµ zer∩ indicate≤ tha⌠ thesσ byte≤ arσ omitteΣ froφ ì
thσ elemen⌠ descriptor≤ tha⌠ follow.
.cp 4
ááThσ elemen⌠ descripto≥ lengtΦ fielΣ indicate≤ thσ numbe≥ oµ byte≤ iε eacΦ ì
elemen⌠ descriptor«
.cp 4èááThσ bytσ coun⌠ oµ descripto≥ datß availablσ fielΣ indicate≤ thσ numbe≥ oµ ì
byte≤ oµ elemen⌠ descripto≥ datß availablσ fo≥ element≤ oµ thi≤ elemen⌠ typσ ì
meetinτ thσ reques⌠ iε thσ CDB« Thi≤ valuσ shal∞ no⌠ bσ adjusteΣ t∩ matcΦ thσ ì
allocatioε lengtΦ available.
.cp 3
ááEacΦ elemen⌠ descripto≥ include≤ thσ elemen⌠ address¼ statu≤ flag≤ anΣ ma∙ ì
contaiε sensσ codσ informatioε a≤ wel∞ a≤ othe≥ informatioε dependinτ oε thσ ì
elemen⌠ type« (Table≤ 1╢-1▒ ¡ 1╢-14.)
.cp 35
.pm 0
.aw off
16.2.5.3. Medium Transport Element Descriptor
Table 16-11: Mediuφ Transpor⌠ Elemen⌠ Descriptor
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Element Address ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | Reserved | Except |Reserved| Full |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Additional Sense Code |
-----|-----------------------------------------------------------------------|
5 | Additional Sense Code Qualifier |
-----|-----------------------------------------------------------------------|
6 | |
- - -|- - - Reserved - - -|
8 | |
-----|-----------------------------------------------------------------------|
9 | SValid | Invert ⁿ Reserved |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Source Storage Element Address ---|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | |
- - -|- - - Primary Volume Tag Information - - -|
47 | (FielΣ omitted if PVolTag = 0) |
-----|-----------------------------------------------------------------------|
48 | |
- - -|- - - Alternate Volume Tag Information - - -|
83 | (FielΣ omitted if AVolTag = 0) |
-----|-----------------------------------------------------------------------|
84 | |
- - -|- - - Reserved - - -|
87 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
-----|-----------------------------------------------------------------------|
88 | |
- - -|- - - Vendor Unique - - -|
z-1 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
==============================================================================è.pm 3
.aw on
.cp 3
ááThσ elemen⌠ addres≤ fielΣ give≤ thσ addres≤ oµ thσ mediuφ change≥ elemen⌠ ì
whosσ statu≤ i≤ reporteΣ b∙ thi≤ elemen⌠ descripto≥ block.
.cp 3
ááAε exceptioε (Except⌐ bi⌠ oµ onσ indicate≤ thσ elemen⌠ i≤ iε aε abnorma∞ ì
state« Aε exceptioε bi⌠ oµ zer∩ indicate≤ thσ elemen⌠ i≤ iε ß norma∞ state« ì
Iµ thi≤ bi⌠ i≤ one¼ informatioε oε thσ abnorma∞ statσ ma∙ bσ availablσ iε thσ ì
additiona∞ sensσ codσ anΣ additiona∞ sensσ codσ qualifie≥ bytes.
áá┴ ful∞ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ elemen⌠ contain≤ ß uni⌠ oµ media« ì
┴ valuσ oµ zer∩ indicate≤ tha⌠ thσ elemen⌠ doe≤ no⌠ contaiε ß uni⌠ oµ media.
ááThσ additiona∞ sensσ codσ fielΣ ma∙ providσ specifiπ informatioε oε aε ì
abnorma∞ elemen⌠ state« Thσ value≤ iε thi≤ fielΣ arσ a≤ defineΣ fo≥ thσ ì
additiona∞ sensσ codσ oµ thσ REQUES╘ SENS┼ datß (seσ Tablσ ╖-42)«
ááThσ additiona∞ sensσ codσ qualifie≥ fielΣ ma∙ providσ morσ detaileΣ ì
informatioε oε aε abnorma∞ elemen⌠ state« Thσ value≤ iε thi≤ fielΣ arσ a≤ ì
defineΣ fo≥ thσ additiona∞ sensσ codσ qualifie≥ oµ thσ REQUES╘ SENS┼ datß (seσ ì
Tablσ ╖-42).
áá┴ sourcσ valiΣ (SValid⌐ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ sourcσ storagσ ì
elemen⌠ addres≤ fielΣ anΣ thσ inver⌠ bi⌠ informatioε i≤ valid« ┴ valuσ oµ zer∩ ì
indicate≤ tha⌠ thσ value≤ iε thesσ field≤ arσ no⌠ valid«
ááAε inver⌠ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ uni⌠ oµ mediß no≈ iε thi≤ ì
elemen⌠ wa≤ inverteΣ b∙ MOV┼ MEDIU═ o≥ EXCHANG┼ MEDIU═ operation≤ sincσ i⌠ wa≤ ì
las⌠ iε thσ sourcσ storagσ element« ┴ valuσ oµ zer∩ indicate≤ tha⌠ n∩ ì
inversioε occurreΣ durinτ thσ operation.
ááThσ sourcσ storagσ elemen⌠ addres≤ fielΣ provide≤ thσ addres≤ oµ thσ las⌠ ì
storagσ elemen⌠ thi≤ uni⌠ oµ mediß wa≤ moveΣ from« Thi≤ fielΣ i≤ valiΣ onl∙ ì
iµ thσ SValiΣ bi⌠ i≤ one.
ááThσ primar∙ anΣ alternatσ volumσ taτ informatioε field≤ providσ fo≥ ì
identifyinτ thσ uni⌠ oµ mediß residinτ iε thi≤ elemen⌠ (seσ 16.1.5.)« Eithe≥ ì
o≥ botΦ oµ thesσ field≤ ma∙ bσ omitteΣ fo≥ al∞ thσ elemen⌠ descripto≥ block≤ ì
tha⌠ comprisσ aε elemen⌠ statu≤ pagσ a≤ indicateΣ b∙ thσ PVolTaτ anΣ AVolTaτ ì
bit≤ iε thσ elemen⌠ statu≤ pagσ heade≥ (Tablσ 1╢-10)«
.cp 38è.aw off
.pm 0
16.2.5.4. Storagσ Elemen⌠ Descriptor
Table 16-12: Storage Elemen⌠ Descripto≥
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Element Address ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | Reserved | Access | Except |Reserved| Full |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Additional Sense Code |
-----|-----------------------------------------------------------------------|
5 | Additional Sense Code Qualifier |
-----|-----------------------------------------------------------------------|
6 | |
- - -|- - - Reserved - - -|
8 | |
-----|-----------------------------------------------------------------------|
9 | SValid | Invert ⁿ Reserved |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Source Element Address ---|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | |
- - -|- - - Primary Volume Tag Information - - -|
47 | (FielΣ omitted if PVolTag = 0⌐ |
-----|-----------------------------------------------------------------------|
48 | |
- - -|- - - Alternate Volume Tag Information - - -|
83 | (FielΣ omitted if PVolTag = 0⌐ |
-----|-----------------------------------------------------------------------|
84 | |
- - -|- - - Reserved - - -|
87 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
-----|-----------------------------------------------------------------------|
88 | |
- - -|- - - Vendor Unique - - -|
z-1 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
==============================================================================
.pm 3
.aw on
.cp 3
ááAε acces≤ bi⌠ valuσ oµ onσ indicate≤ acces≤ t∩ thσ elemen⌠ b∙ ß mediuφ ì
transpor⌠ elemen⌠ i≤ allowed« Aε acces≤ bi⌠ oµ zer∩ indicate≤ acces≤ t∩ thσ ì
elemen⌠ b∙ thσ mediuφ transpor⌠ elemen⌠ i≤ denied.
.cp 4èááThσ sourcσ storagσ elemen⌠ addres≤ fielΣ provide≤ thσ addres≤ oµ thσ las⌠ ì
storagσ elemen⌠ thi≤ uni⌠ oµ mediß wa≤ moveΣ from« Thi≤ elemen⌠ addres≤ valuσ ì
ma∙ o≥ ma∙ no⌠ bσ thσ samσ a≤ thi≤ element« Thi≤ fielΣ i≤ valiΣ onl∙ iµ thσ ì
SValiΣ bi⌠ i≤ one.
ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.3.
.cp 35
.pm 0
.aw off
16.2.5.5. Import Export Element Descriptor
Table 16-13: Import Expor⌠ Elemen⌠ Descriptor
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Element Address ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | Reserved | InEnab | ExEnab | Access | Except ⁿ ImpExp | Full |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Additional Sense Code |
-----|-----------------------------------------------------------------------|
5 | Additional Sense Code Qualifier |
-----|-----------------------------------------------------------------------|
6 | |
-----|- - - Reserved - - -|
8 | |
-----|-----------------------------------------------------------------------|
9 | SValid | Invert | Reserved |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Source Storage Element Address ---|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | |
- - -|- - - Primary Volume Tag Information - - -|
47 | (FielΣ omitted if PVolTag = 0⌐ |
-----|-----------------------------------------------------------------------|
48 | |
- - -|- - - Alternate Volume Tag Information - - -|
83 | (FielΣ omitted if PVolTag = 0⌐ |
-----|-----------------------------------------------------------------------|
84 | |
- - -|- - - Reserved - - -|
87 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
-----|-----------------------------------------------------------------------|
88 | |
- - -|- - - Vendor Unique - - -|
z-1 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
==============================================================================
.pm 3
.aw on
è
.cp 3
ááAε impor⌠ enablσ (InEnab⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ impor⌠ expor⌠ ì
elemen⌠ support≤ movemen⌠ oµ mediß int∩ thσ scopσ oµ thσ mediuφ change≥ ì
device« Aε InEnaΓ bi⌠ oµ zer∩ indicate≤ tha⌠ thi≤ elemen⌠ doe≤ no⌠ suppor⌠ ì
impor⌠ actions.
ááAε expor⌠ enablσ (ExEnab⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ impor⌠ expor⌠ ì
elemen⌠ support≤ movemen⌠ oµ mediß ou⌠ oµ thσ scopσ oµ thσ mediuφ change≥ ì
device« Aε ExEnaΓ bi⌠ oµ zer∩ indicate≤ tha⌠ thi≤ elemen⌠ doe≤ no⌠ suppor⌠ ì
expor⌠ actions.
ááAε acces≤ bi⌠ oµ onσ indicate≤ tha⌠ acces≤ t∩ thσ impor⌠ expor⌠ elemen⌠ b∙ ß ì
mediuφ transpor⌠ elemen⌠ i≤ allowed« Aε acces≤ bi⌠ oµ zer∩ indicate≤ acces≤ ì
t∩ thσ impor⌠ expor⌠ elemen⌠ b∙ mediuφ transpor⌠ element≤ i≤ denied«
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Aε examplσ oµ wheε acces≤ woulΣ bσ denieΣ i≤ wheε thσ ì
ááoperato≥ ha≤ exclusivσ acces≤ t∩ thσ impor⌠ expor⌠ element.
.lm 1
.pm 3
.cp 5
ááAε impor⌠ expor⌠ (ImpExp⌐ bi⌠ oµ onσ indicate≤ thσ uni⌠ oµ mediß iε thσ ì
impor⌠ expor⌠ elemen⌠ wa≤ placeΣ therσ b∙ aε operator« Aε ImpEx≡ bi⌠ oµ zer∩ ì
indicate≤ thσ uni⌠ oµ mediß iε thσ impor⌠ expor⌠ elemen⌠ wa≤ placeΣ therσ b∙ ì
thσ mediuφ transpor⌠ element.
ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.3.
.cp 50è.pm 0
.aw off
16.2.5.6. Data Transfer Element Descriptor
Table 16-14: Datß Transfe≥ Elemen⌠ Descriptor
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Element Address ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | Reserved | Access | Except |Reserved| Full |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Additional Sense Code |
-----|-----------------------------------------------------------------------|
5 | Additional Sense Code Qualifier |
-----|-----------------------------------------------------------------------|
6 |Not Bus|Reserved|ID Valid|LU Valid|Reserved| Logical Unit Number |
-----|-----------------------------------------------------------------------|
7 | SCSI Bus Address |
-----|-----------------------------------------------------------------------|
8 | Reserved |
-----|-----------------------------------------------------------------------|
9 | SValid | Invert ⁿ Reserved |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Source Storage Element Address ---|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | |
- - -|- - - Primary Volume Tag Information - - -|
47 | (FielΣ omitted if PVolTag = 0⌐ |
-----|-----------------------------------------------------------------------|
48 | |
- - -|- - - Alternate Volume Tag Information - - -|
83 | (FielΣ omitted if PVolTag = 0⌐ |
-----|-----------------------------------------------------------------------|
84 | |
- - -|- - - Reserved - - -|
87 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
-----|-----------------------------------------------------------------------|
88 | |
- - -|- - - Vendor Unique - - -|
z-1 | (FielΣ moveΣ u≡ iµ Volumσ Taτ Informatioε field(s⌐ are omitted.) |
==============================================================================
.aw on
.pm 3
ááAε acces≤ bi⌠ valuσ oµ onσ indicate≤ acces≤ t∩ thσ datß transfe≥ elemen⌠ b∙ ì
thσ mediuφ transpor⌠ elemen⌠ i≤ allowed« ┴ valuσ oµ zer∩ indicate≤ acces≤ t∩ ì
thσ datß transfe≥ elemen⌠ b∙ ß mediuφ transpor⌠ elemen⌠ i≤ denied.
.cp 8è.lm 3
ááIMPLEMENTOR╙ NOTE║ Acces≤ t∩ thσ datß transfe≥ elemen⌠ b∙ mediuφ transpor⌠ ì
ááelement≤ migh⌠ bσ denieΣ iµ ß datß transfe≥ operatioε werσ unde≥ way« Notσ ì
áátha⌠ ß onσ valuσ iε thi≤ bi⌠ ma∙ no⌠ bσ sufficien⌠ t∩ ensurσ ß successfu∞ ì
ááoperation« Thi≤ bi⌠ caε onl∙ reflec⌠ thσ bes⌠ informatioε availablσ t∩ thσ ì
áámediuφ change≥ device¼ whicΦ ma∙ no⌠ accuratel∙ reflec⌠ thσ statσ oµ thσ ì
ááprimar∙ (datß transfer⌐ device«
.lm 1
áá┴ no⌠ thi≤ bu≤ (No⌠ Bus⌐ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ SCS╔ bu≤ ì
addres≤ anΣ logica∞ uni⌠ numbe≥ value≤ arσ no⌠ valiΣ fo≥ thσ SCS╔ bu≤ useΣ t∩ ì
selec⌠ thσ mediuφ change≥ device« ┴ No⌠ Bu≤ bi⌠ valuσ oµ zer∩ indicate≤ tha⌠ ì
thσ SCS╔ addres≤ anΣ logica∞ uni⌠ values¼ iµ valid¼ arσ oε thσ samσ bu≤ a≤ thσ ì
mediuφ change≥ device.
ááAε I─ ValiΣ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ SCS╔ bu≤ addres≤ fielΣ ì
contain≤ valiΣ information« Aε L╒ ValiΣ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ ì
logica∞ uni⌠ numbe≥ fielΣ contain≤ valiΣ information.
ááThσ SCS╔ bu≤ addres≤ field¼ iµ valid¼ provide≤ thσ SCS╔ addres≤ (binar∙ ì
representation⌐ oµ thσ primar∙ devicσ serveΣ b∙ thσ mediuφ change≥ a⌠ thi≤ ì
elemen⌠ address.
ááThσ logica∞ uni⌠ numbe≥ field¼ iµ valid¼ provide≤ thσ logica∞ uni⌠ numbe≥ ì
withiε thσ SCS╔ bu≤ devicσ oµ thσ primar∙ devicσ serveΣ b∙ thσ mediuφ change≥ ì
a⌠ thi≤ elemen⌠ address.
ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.3.
.cp 35è.aw off
.pm 0
16.2.6. REQUES╘ VOLUME ELEMEN╘ ADDRES╙ Command
Table 16-15: REQUES╘ VOLUME ELEMEN╘ ADDRES╙ Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (B5h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | VolTaτ | Element Type Code |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Element Address ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Number of Elements ---|
5 | (LSB) |
-----|-----------------------------------------------------------------------|
6 ⁿ Reserved |
-----|-----------------------------------------------------------------------|
7 | (MSB) |
-----|--¡ ---|
8 ⁿ Allocatioε Length |
-----|--¡ ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | Reserved |
-----|-----------------------------------------------------------------------|
11 ⁿ Control |
==============================================================================
.pm 3
.aw on
ááThσ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ commanΣ (Tablσ 1╢-15⌐ i≤ useΣ t∩ transfe≥ ì
thσ result≤ oµ ß SEN─ VOLUM┼ TA╟ command« Multiplσ REQUES╘ VOLUM┼ ELEMEN╘ ì
ADDRES╙ command≤ ma∙ bσ useΣ t∩ recove≥ thσ result≤ oµ ß singlσ SEN─ VOLUM┼ ì
TA╟ commanΣ witΦ thσ translatσ option.
ááFo≥ eacΦ SEN─ VOLUM┼ TA╟ command¼ thσ targe⌠ shal∞ bσ ablσ t∩ repor⌠ ì
multiplσ element≤ tha⌠ matcΦ ß volumσ taτ templatσ iε elemen⌠ addres≤ order« ì
Oncσ informatioε fo≥ ß giveε elemen⌠ addres≤ ha≤ beeε reported¼ onl∙ highe≥ ì
elemen⌠ addresse≤ wil∞ bσ reporteΣ b∙ subsequen⌠ REQUES╘ VOLUM┼ ELEMEN╘ ì
ADDRES╙ commands«
.cp 6
.pm 0
.lm 3
ááIMPLEMENTOR╙ NOTE║ Iε orde≥ t∩ ensurσ thσ successfu∞ completioε oµ ß SEN─ ì
ááVOLUM┼ TAG¼ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ sequencσ iε ß multΘ-initiato≥ ì
ááenvironmen⌠ i⌠ ma∙ bσ necessar∙ t∩ reservσ thσ mediuφ change≥ device« T∩ d∩ ì
ááthis¼ issuσ ß uni⌠ RESERV┼ commanΣ prio≥ t∩ thσ SEN─ VOLUM┼ TA╟ commanΣ anΣ ì
áádela∙ issuinτ thσ RELEAS┼ unti∞ afte≥ thσ las⌠ REQUES╘ VOLUM┼ ELEMEN╘ ì
ááADDRESS«
.pm 3
.lm 1
.cp 4èáá┴ volumσ taτ (VolTag⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ targe⌠ shal∞ repor⌠ ì
volumσ taτ information« ┴ valuσ oµ zer∩ indicate≤ tha⌠ volumσ taτ informatioε ì
shal∞ no⌠ bσ reported« Thi≤ i≤ provideΣ fo≥ compatibilit∙ witΦ thσ REA─ ì
ELEMEN╘ STATU╙ command.
.cp 5
ááThσ elemen⌠ typσ codσ fielΣ specifie≤ thσ particula≥ elemen⌠ type(s⌐ ì
selecteΣ fo≥ reportinτ b∙ thi≤ command« ┴ valuσ oµ zer∩ specifie≤ tha⌠ statu≤ ì
fo≥ al∞ elemen⌠ type≤ shal∞ bσ reported« Thσ code≤ fo≥ thi≤ fielΣ arσ defineΣ ì
iε Tablσ 1╢-8« Thi≤ act≤ a≤ ß qualificatioε oµ thσ element(s⌐ determineΣ b∙ ì
SEN─ VOLUM┼ TA╟ t∩ matcΦ thσ templatσ specified«
ááThσ elemen⌠ addres≤ fielΣ give≤ ß mediuφ change≥ elemen⌠ addres≤ whosσ ì
interpretatioε depend≤ oε thσ senΣ actioε codσ receiveΣ witΦ thσ las⌠ SEN─ ì
VOLUM┼ TA╟ command« Thi≤ codσ i≤ echoeΣ iε thσ volumσ elemen⌠ addres≤ returε ì
forma⌠ transferreΣ b∙ thi≤ command« Wheε thσ las⌠ senΣ actioε codσ wa≤ ß ì
translate¼ (codσ value≤ 0h..7h)¼ thσ elemen⌠ addres≤ fielΣ give≤ thσ minimuφ ì
elemen⌠ addres≤ t∩ bσ reporteΣ b∙ thi≤ command« Wheε thσ senΣ actioε codσ i≤ ì
othe≥ thaε translate¼ (i.e« assert¼ replace¼ anΣ undefined¼ codσ value≤ ì
8h..Dh)¼ thσ elemen⌠ addres≤ fielΣ give≤ thσ particula≥ elemen⌠ whosσ volumσ ì
taτ informatioε wa≤ modified.
ááThσ numbe≥ oµ element≤ specifie≤ thσ maximuφ numbe≥ oµ element≤ anΣ volumσ ì
tag≤ t∩ bσ reporteΣ b∙ thσ targe⌠ fo≥ thi≤ command« Thσ valuσ specifieΣ b∙ ì
thi≤ fielΣ i≤ no⌠ thσ rangσ oµ elemen⌠ addresse≤ t∩ bσ considereΣ fo≥ ì
reportinτ bu⌠ rathe≥ thσ numbe≥ oµ element≤ t∩ repor⌠ oµ thosσ tha⌠ matcΦ thσ ì
las⌠ senΣ volumσ taτ translatσ template« Iµ thσ allocatioε lengtΦ i≤ no⌠ ì
sufficien⌠ t∩ transfe≥ al∞ thσ elemen⌠ descriptors¼ thσ targe⌠ shal∞ transfe≥ ì
al∞ thosσ descriptor≤ tha⌠ caε bσ completel∙ transferreΣ anΣ thi≤ shal∞ no⌠ bσ ì
considereΣ aε error.
ááThσ datß returneΣ b∙ thi≤ commanΣ consist≤ oµ ß heade≥ a≤ defineΣ b∙ Tablσ ì
1╢-16¼ plu≤ onσ o≥ morσ elemen⌠ typσ specifiπ page≤ iε thσ samσ forma⌠ a≤ ì
defineΣ b∙ thσ REA─ ELEMEN╘ STATU╙ command« (Seσ Table≤ 1╢-1░ ¡ 1╢-14.)
.cp 26è.aw off
.pm 0
Table 16-16: Volumσ Elemen⌠ Addres≤ Heade≥ Format
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | (MSB) |
-----|--- Firs⌠ Element Addres≤ Reported ---|
1 | (LSB) |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Number of Element≤ Reported ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 ⁿ Reserved | SenΣ Actioε Codσ |
-----|-----------------------------------------------------------------------|
5 | (MSB) |
-----|--¡ ---|
6 ⁿ Bytσ Coun⌠ oµ Repor⌠ Available |
-----|--¡ (al∞ pages¼ ° ¡ 7 ) ---|
7 | (LSB) |
==============================================================================
8 t∩ | |
¡ ¡ -ⁿ¡ ¡ ¡ Elemen⌠ Statu≤ Page(s⌐ - - -|
x ⁿ |
==============================================================================
.pm 3
.aw on
ááThσ senΣ actioε codσ fielΣ give≤ thσ functioε performeΣ b∙ thσ las⌠ SEN─ ì
VOLUM┼ TA╟ commanΣ a≤ listeΣ iε Tablσ 1╢-21« Thi≤ commanΣ report≤ thσ result≤ ì
oµ thi≤ senΣ actioε codσ operation.
ááFo≥ field≤ no⌠ defineΣ iε thi≤ section¼ seσ 16.2.5.1.
.cp 25è.pm 0
.aw off
16.2.7. RELEASE Command
Table 16-17: RELEASE Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (17h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | 3rdPty | Third Party Device ID | Element|
-----|-----------------------------------------------------------------------|
2 | Reservation Identification |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved |
-----|-----------------------------------------------------------------------|
╡ ⁿ Control |
==============================================================================
.aw on
.pm 3
ááThσ RELEAS┼ commanΣ (Tablσ 1╢-17⌐ i≤ useΣ t∩ releasσ previousl∙ reserveΣ ì
units¼ or¼ iµ thσ elemen⌠ releasσ optioε i≤ implemented¼ previousl∙ reserveΣ ì
element≤ withiε units« I⌠ i≤ no⌠ aε erro≥ fo≥ aε initiato≥ t∩ attemp⌠ t∩ ì
releasσ ß reservatioε tha⌠ i≤ no⌠ currentl∙ active« Iε thi≤ case¼ thσ targe⌠ ì
shal∞ returε GOO─ statu≤ withou⌠ alterinτ an∙ othe≥ reservation.
.cp 5
.aw off
.pm 0
16.2.7.1. Logica∞ Uni⌠ Release.
.aw on
.pm 3
ááIµ thσ elemen⌠ bi⌠ i≤ zero¼ thi≤ commanΣ shal∞ causσ thσ targe⌠ t∩ terminatσ ì
al∞ noε-thirΣ part∙ uni⌠ anΣ elemen⌠ reservation≤ tha⌠ arσ activσ froφ thσ ì
initiato≥ t∩ thσ specifieΣ logica∞ unit.
áá
.cp 5
.aw off
.pm 0
16.2.7.2. Element Releasσ (Optional).
.aw on
.pm 3
ááIµ thσ elemen⌠ bi⌠ i≤ onσ anΣ thσ elemen⌠ releasσ optioε i≤ no⌠ implemented¼ ì
thσ RELEAS┼ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ ì
sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST« Thi≤ optioε shal∞ bσ implementeΣ ì
iµ thσ elemen⌠ reservatioε optioε (seσ 16.2.8.1⌐ i≤ implemented.
ááIµ thσ elemen⌠ bi⌠ i≤ onσ anΣ thσ elemen⌠ releasσ optioε i≤ implemented¼ ì
thi≤ commanΣ shal∞ causσ an∙ reservatioε froφ thσ requestinτ initiato≥ witΦ ß ì
matchinτ reservatioε identificatioε t∩ bσ terminated« Othe≥ reservation≤ froφ ì
thσ requestinτ initiato≥ shal∞ remaiε iε effect.
.cp 5
.aw off
.pm 0
16.2.7.3. ThirΣ Part∙ Releasσ
.aw on
.pm 3
ááThσ thirΣ-part∙ releasσ optioε oµ thσ RELEAS┼ commanΣ allow≤ aε initiato≥ t∩ ì
releasσ ß uni⌠ o≥ element≤ withiε ß uni⌠ tha⌠ werσ previousl∙ reserveΣ usinτ ì
thirΣ-part∙ reservatioε (seσ 16.2.8.3)« ThirΣ-part∙ releasσ shal∞ bσ ì
implementeΣ iµ thirΣ-part∙ reservσ i≤ implemented«
.cp 6
ááIµ thσ thirΣ-part∙ (3rdPty⌐ bi⌠ i≤ zero¼ thσ thirΣ-part∙ releasσ optioε i≤ ì
no⌠ requested« Iµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ targe⌠ implement≤ thσ thirΣ-ì
part∙ releasσ option¼ thσ targe⌠ shal∞ releasσ thσ specifieΣ uni⌠ o≥ elements¼ ì
bu⌠ onl∙ iµ thσ reservatioε wa≤ madσ usinτ thσ thirΣ-part∙ reservatioε optioε ì
b∙ thσ initiato≥ tha⌠ i≤ requestinτ thσ releasσ fo≥ thσ samσ SCS╔ devicσ a≤ ì
specifieΣ iε thσ thirΣ-part∙ devicσ I─ field.è
ááIµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ targe⌠ doe≤ no⌠ implemen⌠ thσ thirΣ-part∙ ì
releasσ option¼ thσ targe⌠ shal∞ terminatσ thσ commanΣ witΦ CHEC╦ CONDITIO╬ ì
statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
.cp 35
.aw off
.pm 0
16.2.8. RESERVE Command
Table 16-18: RESERVE Command
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (16h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number | 3rdPty | Third Party Device ID | Element|
-----|-----------------------------------------------------------------------|
2 | Reservation Identification |
-----|-----------------------------------------------------------------------|
3 ⁿ (MSB) |
-----|--- Element List LengtΦ ---|
4 | (LSB) |
-----|-----------------------------------------------------------------------|
╡ ⁿ Control |
==============================================================================
.pm 3
.aw on
ááThσ RESERV┼ commanΣ (Tablσ 1╢-18⌐ i≤ useΣ t∩ reservσ unit≤ or¼ iµ thσ ì
elemen⌠ reservatioε optioε i≤ implemented¼ element≤ withiε unit≤ fo≥ thσ usσ ì
oµ thσ initiator« Thσ thirΣ-part∙ reservatioε allow≤ unit≤ o≥ element≤ t∩ bσ ì
reserveΣ fo≥ anothe≥ specifieΣ SCS╔ device« Thσ RESERV┼ anΣ RELEAS┼ command≤ ì
providσ thσ basiπ mechanisφ fo≥ contentioε resolutioε iε multiplσ-initiato≥ ì
systems.
.cp 5
.aw off
.pm 0
16.2.8.1. Logica∞ Uni⌠ Reservation
.aw on
.pm 3
ááIµ thσ elemen⌠ bi⌠ i≤ zero¼ thi≤ commanΣ shal∞ reques⌠ tha⌠ thσ entirσ uni⌠ ì
bσ reserveΣ fo≥ thσ exclusivσ usσ oµ thσ initiato≥ unti∞ thσ reservatioε i≤ ì
supersedeΣ b∙ anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ thσ ì
reservatioε o≥ unti∞ releaseΣ b∙ ß RELEAS┼ commanΣ froφ thσ samσ initiato≥ ì
tha⌠ madσ thσ reservation¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ initiator¼ ì
b∙ ß harΣ RESE╘ condition¼ o≥ b∙ ß powe≥ off/oε cycle« ┴ uni⌠ reservatioε ì
shal∞ no⌠ bσ granteΣ iµ thσ uni⌠ o≥ an∙ elemen⌠ i≤ reserveΣ b∙ anothe≥ ì
initiator« I⌠ shal∞ bσ permissiblσ fo≥ aε initiato≥ t∩ reservσ ß uni⌠ tha⌠ i≤ ì
currentl∙ reserveΣ b∙ tha⌠ initiator« Iµ thσ elemen⌠ bi⌠ i≤ zero¼ thσ ì
reservatioε identificatioε anΣ thσ elemen⌠ lis⌠ lengtΦ shal∞ bσ ignored.
.cp 2
ááIµ thσ unit¼ o≥ an∙ elemen⌠ withiε thσ uni⌠ i≤ reserveΣ fo≥ anothe≥ ì
initiator¼ thσ targe⌠ shal∞ responΣ b∙ returninτ RESERVATIO╬ CONFLIC╘ status.
.cp 4
ááIf¼ afte≥ honorinτ thσ reservation¼ an∙ othe≥ initiato≥ attempt≤ t∩ perforφ ì
an∙ commanΣ oε thσ reserveΣ uni⌠ othe≥ thaε aε INQUIRY¼ REQUES╘ SENSE¼ ALLO╫ ì
MEDIU═ REMOVAL¼ RESERVE¼ o≥ ß RELEAS┼ command¼ thσ commanΣ shal∞ bσ rejecteΣ ì
witΦ RESERVATIO╬ CONFLIC╘ status«
è.cp 5
.aw off
.pm 0
16.2.8.2. Element Reservatioε (Optional)
.aw on
.pm 3
ááThσ reservatioε identificatioε provide≤ ß mean≤ fo≥ aε initiato≥ t∩ identif∙ ì
eacΦ elemen⌠ reservation« Thi≤ allow≤ aε initiato≥ iε ß multiplσ-taskinτ ì
environment¼ t∩ havσ multiplσ reservation≤ outstanding« Thσ reservatioε ì
identificatioε i≤ useΣ iε thσ RELEAS┼ commanΣ t∩ specif∙ whicΦ reservatioε i≤ ì
t∩ bσ released« I⌠ i≤ als∩ useΣ iε supersedinτ RESERV┼ command≤ t∩ specif∙ ì
whicΦ reservatioε i≤ t∩ bσ superseded.
ááIµ thσ elemen⌠ reservatioε optioε i≤ implemented¼ thσ elemen⌠ releasσ optioε ì
(seσ 16.2.7.2⌐ shal∞ als∩ bσ implemented« Thesσ option≤ permi⌠ multiplσ ì
element≤ withiε thσ uni⌠ t∩ bσ reserved¼ eacΦ witΦ ß separatσ reservatioε ì
identification.
ááIµ thσ elemen⌠ bi⌠ i≤ one¼ anΣ thσ elemen⌠ reservatioε optioε i≤ ì
implemented¼ thσ targe⌠ shal∞ proces≤ thσ reservatioε reques⌠ a≤ follows:
áá(1⌐ Thσ elemen⌠ lis⌠ shal∞ bσ checkeΣ fo≥ valiΣ elemen⌠ addresses« Iµ an∙ ì
elemen⌠ addres≤ i≤ invaliΣ fo≥ thi≤ unit¼ thσ commanΣ shal∞ bσ terminateΣ witΦ ì
CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST« Thσ ì
elemen⌠ lis⌠ shal∞ bσ checkeΣ fo≥ invaliΣ elemen⌠ overlap≤ witΦ othe≥ elemen⌠ ì
descriptor≤ iε thσ elemen⌠ lis⌠ anΣ iµ invaliΣ overlap≤ arσ found¼ thσ commanΣ ì
shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ ì
t∩ ILLEGA╠ REQUEST.
áá(2⌐ Iµ thσ requesteΣ reservatioε doe≤ no⌠ conflic⌠ witΦ an∙ activσ o≥ ì
previousl∙ requesteΣ reservation¼ thσ element≤ specifieΣ shal∞ bσ reserveΣ ì
unti∞ supersedeΣ b∙ anothe≥ valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ ì
thσ reservatioε o≥ unti∞ releaseΣ b∙ ß RELEAS┼ commanΣ froφ thσ samσ ì
initiator¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ initiator¼ o≥ b∙ ß harΣ ì
RESE╘ condition« Iµ eithe≥ oµ thσ las⌠ tw∩ condition≤ occur¼ thσ nex⌠ commanΣ ì
froφ eacΦ initiato≥ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ ì
sensσ ke∙ shal∞ bσ se⌠ t∩ UNI╘ ATTENTION.
áá(3⌐ Iµ thσ reservatioε reques⌠ conflict≤ witΦ ß reservatioε alread∙ activσ ì
thσ targe⌠ shal∞ returε RESERVATIO╬ CONFLIC╘ status.
ááIµ thσ elemen⌠ bi⌠ i≤ one¼ anΣ thσ elemen⌠ reservatioε optioε i≤ no⌠ ì
implemented¼ thσ RESERV┼ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ ì
status« Thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
.cp 20è.pm 0
.aw off
Table 16-19: Data Format of Element List Descriptors
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
░ ⁿ |
¡ ¡ -|¡ ¡ ¡ ReserveΣ ¡ ¡ -|
▒ ⁿ |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Number of Elements ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 | (MSB) |
-----|--- Element Address ---|
5 | (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ sizσ oµ thσ elemen⌠ lis⌠ shal∞ bσ defineΣ b∙ thσ elemen⌠ lis⌠ lengtΦ ì
parameter« Thσ elemen⌠ lis⌠ shal∞ consis⌠ oµ zer∩ o≥ morσ descriptor≤ a≤ ì
showε iε Tablσ 1╢-19« EacΦ elemen⌠ lis⌠ descripto≥ define≤ ß serie≤ oµ ì
element≤ beginninτ a⌠ thσ specifieΣ elemen⌠ addres≤ fo≥ thσ specifieΣ numbe≥ ì
oµ elements« Iµ thσ numbe≥ oµ element≤ i≤ zero¼ thσ elemen⌠ lis⌠ shal∞ begiε ì
a⌠ thσ specifieΣ elemen⌠ addres≤ anΣ continuσ througΦ thσ las⌠ elemen⌠ addres≤ ì
oε thσ unit.
ááIµ aε initiato≥ issue≤ ß commanΣ t∩ aε elemen⌠ tha⌠ ha≤ beeε reserveΣ b∙ ß ì
differen⌠ initiator¼ thσ commanΣ shal∞ no⌠ bσ performeΣ anΣ thσ commanΣ shal∞ ì
bσ terminateΣ witΦ ß RESERVATIO╬ CONFLIC╘ status« Iµ ß reservatioε conflic⌠ ì
preclude≤ an∙ par⌠ oµ thσ command¼ nonσ oµ thσ commanΣ shal∞ bσ performed«
.cp 5
.aw off
.pm 0
16.2.8.3. ThirΣ Part∙ Reservatioε
.aw on
.pm 3
ááThσ thirΣ-part∙ reservatioε optioε oµ thσ RESERV┼ commanΣ allow≤ aε ì
initiato≥ t∩ reservσ ß uni⌠ o≥ element≤ withiε ß uni⌠ fo≥ anothe≥ SCS╔ device.
ááIµ thσ thirΣ-part∙ (3rdPty⌐ bi⌠ i≤ zero¼ thσ thirΣ-part∙ reservatioε optioε ì
i≤ no⌠ requested« Iµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ thirΣ-part∙ reservatioε ì
optioε i≤ implemented¼ thσ RESERV┼ commanΣ shal∞ reservσ thσ specifieΣ uni⌠ o≥ ì
element≤ fo≥ thσ SCS╔ devicσ specifieΣ iε thσ thirΣ-part∙ devicσ I─ field« ì
Thσ targe⌠ shal∞ preservσ thσ reservatioε unti∞ i⌠ i≤ supersedeΣ b∙ anothe≥ ì
valiΣ RESERV┼ commanΣ froφ thσ initiato≥ tha⌠ madσ thσ reservatioε o≥ unti∞ i⌠ ì
i≤ releaseΣ b∙ thσ samσ initiator¼ b∙ ß BU╙ DEVIC┼ RESE╘ messagσ froφ an∙ ì
initiator¼ o≥ ß harΣ RESE╘ condition« Thσ targe⌠ shal∞ ignorσ an∙ attemp⌠ t∩ ì
releasσ thσ reservatioε madσ b∙ an∙ othe≥ initiator.
ááIµ thσ 3rdPt∙ bi⌠ i≤ onσ anΣ thσ thirΣ-part∙ reservatioε optioε i≤ no⌠ ì
implemented¼ thσ targe⌠ shal∞ rejec⌠ thσ RESERV┼ commanΣ witΦ CHEC╦ CONDITIO╬ ì
statu≤ anΣ thσ sensσ ke∙ shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST«
.cp 5è.aw off
.pm 0
16.2.8.4. Supersedinτ Reservations
.aw on
.pm 3
ááAε initiato≥ tha⌠ hold≤ ß curren⌠ reservatioε ma∙ modif∙ tha⌠ reservatioε b∙ ì
issuinτ anothe≥ RESERV┼ commanΣ t∩ thσ samσ uni⌠ and¼ iµ thσ elemen⌠ bi⌠ i≤ ì
one¼ usinτ thσ samσ reservatioε identification« Thσ supersedinτ RESERV┼ ì
commanΣ shal∞ releasσ thσ previou≤ reservatioε iε placσ wheε thσ ne≈ ì
reservatioε reques⌠ i≤ granted« Thσ curren⌠ reservatioε shal∞ no⌠ bσ modifieΣ ì
iµ thσ ne≈ reservatioε reques⌠ canno⌠ bσ granted« Iµ thσ supersedinτ ì
reservatioε canno⌠ bσ granteΣ becausσ oµ conflict≤ witΦ ß previou≤ activσ ì
reservatioε (othe≥ thaε thσ reservatioε beinτ superseded)¼ thσ targe⌠ shal∞ ì
returε RESERVATIO╬ CONFLIC╘ status.
.lm 3
ááIMPLEMENTOR╙ NOTE║ Supersedinτ reservation≤ arσ principall∙ intendeΣ t∩ ì
ááallo≈ thσ SCS╔ devicσ I─ t∩ bσ changeΣ oε ß reservatioε usinτ thσ thirΣ-ì
áápart∙ reservatioε option«
.lm 1
.cp 35
.aw off
.pm 0
16.2.9. SEN─ VOLUM┼ TA╟ Command
Table 16-20: SEN─ VOLUM┼ TA╟ Command
=============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | Operation Code (B6h) |
-----|-----------------------------------------------------------------------|
1 | Logical Unit Number ⁿReserveΣ| Elemen⌠ Typσ Codσ |
-----|-----------------------------------------------------------------------|
2 | (MSB) |
-----|--- Element Address ---|
3 | (LSB) |
-----|-----------------------------------------------------------------------|
4 ⁿ Reserved |
-----|-----------------------------------------------------------------------|
5 ⁿ Reserved | SenΣ Actioε Codσ |
-----|-------------------------¡---------------------------------------------|
6 ⁿ |
-----|--¡ ReserveΣ ---|
7 | |
-----|--¡--------------------------------------------------------------------|
8 ⁿ (MSB) |
-----|--¡ Paramete≥ Lis⌠ LengtΦ ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | Reserved |
-----|-----------------------------------------------------------------------|
11 ⁿ Control |
==============================================================================
.pm 3
.aw on
.cp 5
ááThσ SEN─ VOLUM┼ TA╟ commanΣ (Tablσ 1╢-20⌐ transfer≤ ß volumσ taτ templatσ t∩ ì
bσ searcheΣ fo≥ o≥ ne≈ volumσ taτ informatioε fo≥ onσ o≥ morσ mediß change≥ ì
elements« Thσ functioε oµ thσ commanΣ i≤ conveyeΣ b∙ thσ SenΣ Actioε Codσ ì
field« Thσ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ commanΣ i≤ useΣ t∩ transfe≥ thσ ì
result≤ oµ ß translatσ searcΦ operation.è
.cp 6
ááThσ elemen⌠ typσ codσ fielΣ specifie≤ aε elemen⌠ typσ specificatioε a≤ ì
defineΣ b∙ Tablσ 1╢-8« Iµ thσ senΣ actioε codσ indicate≤ ß translatσ ì
operatioε thi≤ fielΣ indicate≤ thσ elemen⌠ type≤ t∩ bσ searched« Iµ thi≤ i≤ ß ì
zero¼ al∞ elemen⌠ type≤ arσ candidate≤ fo≥ ß translatσ operation« Iµ thσ SenΣ ì
actioε codσ doe≤ no⌠ indicatσ ß translate¼ thi≤ fielΣ shal∞ bσ treateΣ a≤ ì
reserved.
ááThσ senΣ actioε codσ fielΣ give≤ thσ functioε t∩ bσ performeΣ b∙ thi≤ ì
commanΣ a≤ listeΣ iε Tablσ 1╢-21«
.cp 13
.pm 0
.aw off
Table 16-21: SenΣ Volumσ Taτ Actioε Codes
==============================================================================
Code Description
----- ----------------------------------------------------------------
0h Translatσ ¡ searcΦ al∞ defineΣ volumσ tags.
1h Translatσ ¡ searcΦ onl∙ primar∙ volumσ tags.
2Φ Translatσ ¡ searcΦ onl∙ alternate volumσ tags.
3Φ Reserved
4h Translatσ ¡ searcΦ al∞ defineΣ tag≤ ¡ ignorσ sequencσ numbers.
5h Translatσ ¡ searcΦ primar∙ tag≤ ¡ ignorσ sequencσ numbers.
6Φ Translatσ ¡ searcΦ alternate tags ¡ ignorσ sequencσ numbers.
7Φ Reserved
8Φ Asser⌠ ¡ a≤ thσ primar∙ volumσ taτ ¡ iµ taτ no≈ undefined.
9Φ Asser⌠ ¡ a≤ thσ alternate volumσ taτ ¡ iµ taτ no≈ undefined.
AΦ Replace ¡ thσ primar∙ volumσ taτ ¡ curren⌠ taτ ignored.
Bh Replacσ ¡ thσ alternate volumσ taτ ¡ curren⌠ taτ ignored«
Ch Undefined ¡ thσ primar∙ volumσ taτ ¡ curren⌠ taτ ignored.
DΦ Undefined ¡ thσ alternate volumσ taτ ¡ curren⌠ taτ ignored«
Eh-1Bh Reserved
1Ch-1Fh Vendo≥ Specific
==============================================================================
.pm 3
.aw on
ááTranslatσ operation≤ reques⌠ tha⌠ thσ targe⌠ searcΦ thσ volumσ taτ ì
informatioε availablσ t∩ i⌠ fo≥ element≤ whosσ volumσ taτ informatioε matche≤ ì
thσ templatσ giveε b∙ thσ commanΣ parameters« Thσ resultinτ informatioε i≤ ì
reporteΣ viß thσ REQUES╘ VOLUM┼ ELEMEN╘ ADDRES╙ command.
ááAsser⌠ operation≤ definσ volumσ taτ informatioε fo≥ ß singlσ element« ┴ ì
CHEC╦ CONDITIO╬ witΦ ILLEGA╠ REQUES╘ i≤ reporteΣ iµ thσ subjec⌠ elemen⌠ ì
alread∙ ha≤ defineΣ volumσ taτ information¼ iε thi≤ casσ thσ origina∞ volumσ ì
taτ informatioε shal∞ remaiε unaltered«
ááReplacσ operation≤ definσ volumσ taτ informatioε fo≥ ß singlσ element« An∙ ì
previousl∙ defineΣ volumσ taτ informatioε i≤ overwritten.
.cp 3
ááUndefineΣ operation≤ causσ previousl∙ defineΣ volumσ taτ informatioε fo≥ thσ ì
specifieΣ elemen⌠ t∩ bσ cleared« I⌠ shal∞ no⌠ bσ considereΣ aε erro≥ t∩ ì
undefineΣ volumσ taτ informatioε tha⌠ wa≤ no⌠ previousl∙ defined.
.cp 5èáá┴ mediuφ change≥ devicσ tha⌠ implement≤ volumσ taτ informatioε ma∙ choosσ t∩ ì
no⌠ implemen⌠ thσ facilitie≤ tha⌠ modif∙ thσ volumσ taτ information« WitΦ ì
sucΦ aε implementatioε ß reques⌠ fo≥ thσ assert¼ replacσ o≥ undefineΣ ì
function≤ woulΣ causσ thσ SEN─ VOLUM┼ TA╟ commanΣ t∩ bσ terminateΣ witΦ CHEC╦ ì
CONDITIO╬ anΣ ß sensσ ke∙ oµ ILLEGA╠ REQUEST.
.cp 8
ááThσ elemen⌠ addres≤ fielΣ give≤ ß mediuφ change≥ elemen⌠ addres≤ whosσ ì
interpretatioε depend≤ oε thσ senΣ actioε codσ receiveΣ witΦ thi≤ command« ì
Wheε thσ senΣ actioε codσ i≤ ß translate¼ (codσ value≤ 0h..7h)¼ thσ Elemen⌠ ì
Addres≤ fielΣ give≤ thσ startinτ elemen⌠ t∩ bσ examineΣ fo≥ satisfactioε oµ ì
thσ searcΦ criteria« Wheε thσ senΣ actioε codσ i≤ othe≥ thaε translate¼ (i.e« ì
assert¼ replace¼ anΣ undefined¼ codσ value≤ 8h..Dh)¼ thσ elemen⌠ addres≤ ì
fielΣ give≤ thσ particula≥ elemen⌠ whosσ volumσ taτ informatioε i≤ t∩ bσ ì
modified.
ááThσ volumσ taτ informatioε useΣ fo≥ translate¼ asser⌠ anΣ replacσ function≤ ì
i≤ defineΣ iε Tablσ 1╢-22« N∩ parameter≤ arσ necessar∙ fo≥ undefineΣ ì
operations.
.aw off
.pm 0
.cp 35
Table 16-22: SenΣ Volumσ Taτ Parameter≤ Format
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | |
¡ ¡ -|¡ ¡ ¡ Volumσ Identification Template Field - - -|
31 | |
-----|-----------------------------------------------------------------------|
32 | |
-----|--¡ ReserveΣ ---|
33 ⁿ |
-----|-----------------------------------------------------------------------|
34 | (MSB) |
¡ ¡ -ⁿ--- Minimuφ Volumσ Sequencσ Number ---|
35 ⁿ (LSB) |
-----|-----------------------------------------------------------------------|
36 | |
-----|¡ ¡ ¡ ReserveΣ - - -|
37 | |
-----|-----------------------------------------------------------------------|
38 | (MSB) |
¡ ¡ -ⁿ--- Maximum Volumσ Sequencσ Number ---|
39 ⁿ (LSB) |
==============================================================================
.aw on
.pm 3
ááThσ volumσ identificatioε templatσ fielΣ specifie≤ ß searcΦ templatσ fo≥ ì
translatσ function≤ anΣ thσ exac⌠ valuσ oµ thσ ne≈ volumσ identificatioε ì
informatioε fo≥ othe≥ SEN─ VOLUM┼ TA╟ commanΣ functions.
ááA≤ ß searcΦ template¼ thi≤ fielΣ ma∙ contaiε thσ wildcarΣ character≤ '*º anΣ ì
'?º (2AΦ anΣ 3Fh)« '*º wil∞ matcΦ an∙ strinτ oµ characters¼ wheε i⌠ appear≤ iε ì
ß templatσ thσ remainde≥ oµ thσ templatσ i≤ no⌠ used« '?º wil∞ matcΦ an∙ ì
singlσ character« è
ááFo≥ ß functioε othe≥ thaε translate¼ thi≤ fielΣ ma∙ no⌠ contaiε thσ '*º o≥ ì
'?º wildcarΣ characters«
ááThσ minimuφ volumσ sequencσ numbe≥ fielΣ specifie≤ thσ ne≈ sequencσ numbe≥ ì
fo≥ thσ asser⌠ anΣ replacσ functions« Fo≥ ß translate¼ thi≤ specifie≤ thσ ì
leas⌠ valuσ tha⌠ wil∞ mee⌠ thσ searcΦ specification«
ááThσ maximuφ volumσ sequencσ numbe≥ fielΣ specifie≤ thσ greates⌠ valuσ tha⌠ ì
wil∞ mee⌠ thσ searcΦ specification« Thi≤ fielΣ i≤ ignoreΣ oε function≤ othe≥ ì
thaε translate.
.cp 20
.aw off
.pm 0
16.3. Parameter≤ fo≥ Medium Changer Devices
.aw on
.pm 3
.cp 10
.aw off
.pm 0
16.3.1. Diagnostic Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
useΣ witΦ mediuφ change≥ devices«
ááThσ diagnostiπ pagσ code≤ fo≥ mediuφ change≥ device≤ arσ defineΣ iε Tablσ ì
1╢-23«
.aw off
.pm 0
.cp 15
Table 16-23: Diagnostiπ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá00h SupporteΣ Diagnostiπ Pagσs 7.3.1.1
01Φ ¡ 3Fh ReserveΣ (fo≥ al∞ devicσ typσ page≤)
40Φ ¡ 7Fh Reserved
80Φ ¡ FFh Vendo≥-specifiπ pages
.lm 1
.pm 0
==============================================================================
.aw on
.pm 3
.lm 1
.cp 5
.aw off
.pm 0
16.3.2. Log Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
mediuφ change≥ devices«
ááThσ loτ pagσ code≤ fo≥ mediuφ change≥ device≤ arσ defineΣ iε Tablσ 1╢-24.
.aw off
.pm 0
.cp 15è Table 16-24: Log Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
.pm 4
.lm 16
.aw on
ááá00h SupporteΣ Loτ Page≤ 7.3.2.5
ááá06h Noε-Mediuφ Erro≥ Pagσ 7.3.2.4
ááá07h Las⌠ ε Erro≥ Event≤ Pagσ 7.3.2.3
ááá01h - 05h, 08Φ ¡ 2Fh¼ 3FΦ ReserveΣ
ááá30h - 3Eh Vendo≥-specifiπ pages
.pm 0
.lm 1
==============================================================================
.aw on
.pm 3
.lm 1
.cp 10
.aw off
.pm 0
16.3.3. Mode Paramete≥s
.aw on
.pm 3
ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
mediuφ change≥ devices«
ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
descripto≥ arσ defineΣ iε 7.3.3.
ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
Tablσ ╖-6▒ anΣ ╖-62)« Thi≤ fielΣ i≤ reserveΣ fo≥ mediuφ change≥ devices.
ááThσ devicσ specifiπ paramete≥ fielΣ i≤ containeΣ iε thσ modσ paramete≥ ì
heade≥ (seσ Tablσ ╖-6▒ anΣ ╖-62)« Thi≤ fielΣ i≤ reserveΣ fo≥ mediuφ change≥ ì
devices.
ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
(seσ Tablσ ╖-63)« Thi≤ fielΣ i≤ reserveΣ fo≥ mediuφ change≥ devices.
.cp 20
ááThσ modσ pagσ code≤ fo≥ mediuφ change≥ device≤ arσ showε iε Tablσ 1╢-25.
.cp 25è.aw off
.pm 0
Table 16-25: Modσ Page Codes
==============================================================================
Page Code Description Section
------------------------------------------------------------------------------
ááá1Fh Devicσ Capabilitie≤ 16.3.3.1
ááá1DΦ Elemen⌠ Addres≤ Assignmen⌠ 16.3.3.2
ááá1Eh Transport Geometry Parameter≤ 16.3.3.3
01h - 1Dh ReserveΣ
ááá00h Vendo≥ Specific (does not require page format)
20h - 3Eh Vendor-specifiπ Pages
ááá3Fh Returε≤ al∞ page≤ (valΘΣ onl∙ for thσ MODE SENSE command)
==============================================================================
.aw on
.pm 3
.lm 1
.cp 36
.aw off
.pm 0
16.3.3.1. Devicσ Capabilitie≤ Page
Table 16-26: Devicσ Capabilitie≤ Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | P╙ |Reserved| Page Code (1Fh) |
-----|-----------------------------------------------------------------------|
1 | Parameter Length (12h) |
-----|-----------------------------------------------------------------------|
2 | Reserved ⁿ S⌠orD╘ ⁿ S⌠orI/┼ⁿ StorS╘ | S⌠orM╘ |
-----|-----------------------------------------------------------------------|
3 | Reserved |
-----|-----------------------------------------------------------------------|
4 | Reserved ⁿ MT->D╘ ⁿ MT->I/┼ⁿ MT-╛S╘ | MT->M╘ |
-----|-----------------------------------------------------------------------|
5 | Reserved ⁿ ST->D╘ ⁿ ST->I/┼ⁿ ST-╛S╘ | ST->M╘ |
-----|-----------------------------------------------------------------------|
6 | Reserved ⁿI/E->D╘ ⁿI/E->I/┼ⁿI/E-╛S╘ |I/E->M╘ |
-----|-----------------------------------------------------------------------|
7 | Reserved ⁿ DT->D╘ ⁿ DT->I/┼ⁿ DT-╛S╘ | DT->M╘ |
-----|-----------------------------------------------------------------------|
╕ t∩ | |
¡ ¡ -|¡ ¡ ¡ ReserveΣ ¡ ¡ -|
1▒ ⁿ |
-----|-----------------------------------------------------------------------|
12 | Reserved ⁿ MT<>D╘ ⁿ MT<>I/┼ⁿ MT<>S╘ | MT<>M╘ |
-----|-----------------------------------------------------------------------|
13 | Reserved ⁿ ST<>D╘ ⁿ ST<>I/┼ⁿ ST<>S╘ | ST<>M╘ |
-----|-----------------------------------------------------------------------|
14 | Reserved ⁿI/E<>D╘ ⁿI/E<>I/┼ⁿI/E<>S╘ |I/E<>M╘ |
-----|-----------------------------------------------------------------------|
15 | Reserved ⁿ DT<>D╘ ⁿ DT<>I/┼ⁿ DT<>S╘ | DT<>M╘ |
==============================================================================
.aw on
.pm 3
.cp 4èááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
ááThσ devicσ capabilitie≤ pagσ (Tablσ 1╢-26⌐ define≤ characteristic≤ oµ thσ ì
elemen⌠ type≤ oε thi≤ mediuφ change≥ implementation« Thi≤ informatioε ma∙ bσ ì
employeΣ b∙ thσ initiato≥ t∩ determinσ function≤ permitteΣ b∙ thσ MOV┼ MEDIU═ ì
anΣ EXCHANG┼ MEDIU═ commands.
.cp 6
ááIε thσ fielΣ name≤ oε thi≤ page¼ thσ followinτ elemen⌠ typσ abbreviation≤ ì
arσ used:
áá M╘ ß mediuφ transpor⌠ element,
áá S╘ ß storagσ element,
áá I/┼ aε impor⌠ expor⌠ element¼ and
áá D╘ ß datß transfe≥ element.
ááIε thσ descriptions¼ X╪ anΣ Y┘ arσ an∙ oµ thσ elemen⌠ typσ abbreviations«
.cp 5
áá┴ StorX╪ bi⌠ valuσ oµ onσ indicateΣ tha⌠ thσ defineΣ element≤ oµ typσ X╪ ma∙ ì
providσ independen⌠ storagσ fo≥ ß uni⌠ oµ media« ┴ valuσ oµ zer∩ indicate≤ ì
tha⌠ element≤ oµ typσ X╪ providσ virtua∞ source≤ o≥ destinations¼ tha⌠ thσ ì
locatioε oµ thσ uni⌠ oµ mediß i≤ provideΣ b∙ aε elemen⌠ oµ somσ othe≥ type« ì
Thσ valuσ oµ StorS╘ i≤ onσ b∙ thσ definitioε oµ tha⌠ type« Seσ 16.1.1.
ááAε X╪->Y┘ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ mediuφ change≥ devicσ support≤ ì
MOV┼ MEDIU═ command≤ wherσ thσ sourcσ i≤ elemen⌠ typσ X╪ anΣ thσ destinatioε ì
i≤ elemen⌠ typσ YY« Aε X╪->Y┘ bi⌠ valuσ oµ zer∩ indicate≤ tha⌠ thesσ MOV┼ ì
MEDIU═ command≤ wil∞ bσ rejecteΣ witΦ ILLEGA╠ REQUEST.
ááAε XX<>Y┘ bi⌠ valuσ oµ onσ indicate≤ tha⌠ thσ mediuφ change≥ devicσ support≤ ì
EXCHANG┼ MEDIU═ command≤ wherσ thσ sourcσ i≤ elemen⌠ typσ XX¼ destinatioε ▒ i≤ ì
elemen⌠ typσ YY¼ anΣ destinatioε ▓ i≤ thσ samσ typσ a≤ thσ sourcσ elemen⌠ ì
type« Thesσ bit≤ indicatσ thσ suppor⌠ fo≥ thσ possiblσ type≤ oµ simplσ ì
exchangσ operations« Aε XX<>Y┘ bi⌠ valuσ oµ zer∩ indicate≤ tha⌠ thesσ ì
EXCHANG┼ MEDIU═ command≤ wil∞ bσ rejecteΣ witΦ ILLEGA╠ REQUEST.
.cp 38è.aw off
.pm 0
16.3.3.2. Elemen⌠ Addres≤ Assignmen⌠ Page
.pm 0
.aw off
Table 16-27: Elemen⌠ Addres≤ Assignmen⌠ Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | P╙ |Reserved| Page Code (1Dh) |
-----|-----------------------------------------------------------------------|
1 | Parameter Length (12h) |
-----|-----------------------------------------------------------------------|
▓ | (MSB) |
-----|--- Medium Transpor⌠ Elemen⌠ Addres≤ ---|
│ | (LSB) |
-----|-----------------------------------------------------------------------|
┤ | (MSB) |
-----|--- Number of Medium Transpor⌠ Elemen⌠s ---|
╡ | (LSB) |
-----|-----------------------------------------------------------------------|
6 | (MSB) |
-----|--- First Storage Element Address ---|
7 | (LSB) |
-----|-----------------------------------------------------------------------|
8 | (MSB) |
-----+--- Numbe≥ oµ Storagσ Element≤ ---|
9 | (LSB) |
-----|-----------------------------------------------------------------------|
10 | (MSB) |
-----|--- Firs⌠ Import Export Elemen⌠ Address ---|
11 | (LSB) |
-----|-----------------------------------------------------------------------|
12 | (MSB) |
-----|--- Numbe≥ oµ Import Export Element≤ ---|
13 | (LSB) |
-----|-----------------------------------------------------------------------|
14 | (MSB) |
-----|--- First Datß Transfe≥ Elemen⌠ Addres≤ ---|
15 | (LSB) |
-----|-----------------------------------------------------------------------|
16 | (MSB) |
-----|--- Numbe≥ oµ Datß Transfe≥ Element≤ ---|
17 | (LSB) |
-----|-----------------------------------------------------------------------|
18 | |
-----|--¡ Reserved ---|
19 | |
==============================================================================
.aw on
.pm 3
.cp 4
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
è.cp 4
ááThσ elemen⌠ addres≤ assignmen⌠ pagσ (Tablσ 1╢-27⌐ i≤ useΣ t∩ assigε ì
addresse≤ t∩ thσ element≤ oµ thσ mediuφ change≥ (MOD┼ SELECT⌐ anΣ t∩ repor⌠ ì
thosσ assignment≤ (MOD┼ SENSE)« Thi≤ pagσ als∩ define≤ thσ numbe≥ oµ eacΦ typσ ì
oµ elemen⌠ present.
ááThσ firs⌠ mediuφ transpor⌠ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ mediuφ ì
transpor⌠ elemen⌠ containeΣ iε thσ mediuφ change≥ (othe≥ thaε thσ defaul⌠ ì
mediuφ transpor⌠ addres≤ oµ zero)« Thσ numbe≥ oµ mediuφ transpor⌠ element≤ ì
fielΣ define≤ thσ tota∞ numbe≥ oµ mediuφ transpor⌠ element≤ containeΣ iε thσ ì
mediuφ changer« Iµ thσ numbe≥ oµ mediuφ transpor⌠ element≤ fielΣ iε ß MOD┼ ì
SELEC╘ commanΣ i≤ greate≥ thaε thσ defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ ì
paramete≥ data¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ ì
sensσ ke∙ t∩ ILLEGA╠ REQUEST.
ááThσ firs⌠ storagσ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ mediuφ storagσ ì
elemen⌠ containeΣ iε thσ mediuφ changer« Thσ numbe≥ oµ storagσ element≤ fielΣ ì
define≤ thσ tota∞ numbe≥ oµ mediuφ storagσ element≤ containeΣ iε thσ mediuφ ì
changer« Iµ thσ numbe≥ oµ mediuφ storagσ element≤ fielΣ iε ß MOD┼ SELEC╘ ì
commanΣ i≤ greate≥ thaε thσ defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ paramete≥ ì
data¼ thσ targe⌠ shal∞ returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ì
ILLEGA╠ REQUEST.
ááThσ firs⌠ impor⌠ expor⌠ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ mediuφ ì
porta∞ tha⌠ i≤ accessiblσ botΦ b∙ thσ mediuφ transpor⌠ device≤ anΣ als∩ b∙ aε ì
operato≥ froφ outsidσ thσ mediuφ changer« Thσ numbe≥ oµ impor⌠ expor⌠ element≤ ì
fielΣ define≤ thσ tota∞ numbe≥ oµ impor⌠ expor⌠ element≤ containeΣ iε thσ ì
mediuφ change≥ anΣ accessiblσ t∩ thσ mediuφ transpor⌠ elements« Iµ thσ numbe≥ ì
oµ impor⌠ expor⌠ element≤ fielΣ iε ß MOD┼ SELEC╘ commanΣ i≤ greate≥ thaε thσ ì
defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ paramete≥ data¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUES╘ .
.lm3
ááIMPLEMENTOR╙ NOTE║ Thσ numbe≥ oµ impor⌠ expor⌠ element≤ ma∙ bσ zero.
.lm1
ááThσ firs⌠ datß transfe≥ elemen⌠ addres≤ fielΣ identifie≤ thσ firs⌠ datß ì
transfe≥ elemen⌠ containeΣ iε thσ mediuφ changer« Thσ datß transfe≥ element≤ ì
ma∙ bσ eithe≥ read/writσ o≥ reaΣ-onl∙ devices« Thσ numbe≥ oµ datß transfe≥ ì
fielΣ define≤ thσ tota∞ numbe≥ oµ datß transfe≥ element≤ containeΣ withiε thσ ì
mediuφ change≥ anΣ accessiblσ t∩ thσ mediuφ transpor⌠ elements« Iµ thσ numbe≥ ì
oµ datß transfe≥ element≤ fielΣ iε ß MOD┼ SELEC╘ commanΣ i≤ greate≥ thaε thσ ì
defaul⌠ valuσ returneΣ iε thσ MOD┼ SENS┼ paramete≥ data¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUES╘ .
ááEacΦ elemen⌠ iε thσ mediuφ change≥ mus⌠ havσ ß uniquσ address« Iµ thσ ì
addres≤ range≤ defineΣ fo≥ an∙ oµ thσ elemen⌠ type≤ overlap¼ thσ targe⌠ shal∞ ì
returε CHEC╦ CONDITIO╬ statu≤ anΣ se⌠ thσ sensσ ke∙ t∩ ILLEGA╠ REQUEST«
.cp 18è.aw off
.pm 0
16.3.3.3. Transpor⌠ Geometr∙ Parameter≤ Page
Table 16-28: Transport Geometry Parameter≤ Page
==============================================================================
Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte | | | | | | | | |
==============================================================================
0 | PS ⁿReserved| Page Code (1Eh) |
-----|-----------------------------------------------------------------------|
1 | Parameter Length |
==============================================================================
ⁿ Transpor⌠ Geometry Descriptor(s⌐ |
==============================================================================
0 | ReserveΣ | Rotate |
-----|-----------------------------------------------------------------------|
1 | Membe≥ Numbe≥ iε Transpor⌠ Elemen⌠ Set |
==============================================================================
.aw on
.pm 3
ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command« ì
Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command« ┴ P╙ bi⌠ oµ onσ indicate≤ ì
tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
specifiπ location.
ááThσ transpor⌠ geometr∙ parameter≤ pagσ (Tablσ 1╢-28⌐ define≤ whethe≥ eacΦ ì
mediuφ transpor⌠ elemen⌠ i≤ ß membe≥ oµ ß se⌠ oµ element≤ tha⌠ sharσ ß commoε ì
robotic≤ subsysteφ anΣ whethe≥ thσ elemen⌠ i≤ capablσ oµ mediß rotation« Onσ ì
transpor⌠ geometr∙ descripto≥ i≤ transferreΣ fo≥ eacΦ mediuφ transpor⌠ ì
element¼ beginninτ witΦ thσ firs⌠ mediuφ transpor⌠ element« (Othe≥ thaε thσ ì
defaul⌠ transpor⌠ elemen⌠ addres≤ oµ zero.⌐
ááThσ paramete≥ lengtΦ specifie≤ thσ numbe≥ oµ byte≤ oµ transpor⌠ geometr∙ ì
descriptor≤ tha⌠ follow« Thσ geometr∙ oµ eacΦ mediuφ transpor⌠ elemen⌠ i≤ ì
defineΣ usinτ ß tw∩-bytσ fielΣ a≤ defineΣ below.
áá┴ rotatσ bi⌠ oµ onσ indicate≤ tha⌠ thσ mediuφ transpor⌠ elemen⌠ support≤ ì
mediß rotatioε fo≥ handlinτ doublσ-sideΣ media« ┴ rotatσ bi⌠ oµ zer∩ ì
indicate≤ tha⌠ thσ mediuφ transpor⌠ elemen⌠ doe≤ no⌠ suppor⌠ mediß rotation.
ááThσ membe≥ numbe≥ iε se⌠ indicate≤ thσ positioε oµ thi≤ elemen⌠ iε ß se⌠ oµ ì
mediuφ transpor⌠ element≤ tha⌠ sharσ ß commoε robotic≤ subsystem« Thσ firs⌠ ì
elemen⌠ iε ß se⌠ ha≤ ß membe≥ numbe≥ oµ zero.
.cp 20è.pm 0
.aw off
16.4. Glossar∙ fo≥ Mediuφ Change≥ Devices
.aw on
.pm 0
datß transfe≥ element.é ┴ componen⌠ oµ ß mediuφ change≥ useΣ t∩ acces≤ thσ datß ì
storeΣ oε ß uni⌠ oµ media« Thσ addres≤ iε mediuφ change≥ elemen⌠ spacσ oµ ß ì
primar∙ device«
element.é Aε addressablσ physica∞ componen⌠ oµ ß mediuφ change≥ devicσ tha⌠ caε ì
servσ a≤ thσ locatioε oµ ß uni⌠ oµ media.
.cp 2
impor⌠ expor⌠ element.é ┴ locatioε withiε ß mediuφ change≥ devicσ tha⌠ caε bσ ì
accesseΣ b∙ botΦ thσ mediuφ transpor⌠ element≤ anΣ b∙ thσ operator.
mediuφ transpor⌠ element.é ┴ componen⌠ oµ ß mediuφ change≥ devicσ tha⌠ i≤ useΣ ì
t∩ movσ unit≤ oµ media«
mediß rotation.é Thσ proces≤ oµ changinτ thσ orientatioε oµ ß uni⌠ oµ media« Iε ì
particula≥ thi≤ refer≤ t∩ invertinτ ß tw∩ sideΣ mediß cartridgσ s∩ tha⌠ ß datß ì
transpor⌠ elemen⌠ whicΦ caε acces≤ onl∙ sidσ a⌠ ß timσ caε acces≤ datß oε thσ ì
othe≥ side«
primar∙ device.é ┴ devicσ fo≥ readinτ o≥ writinτ datß oε medium« Thesσ device≤ ì
woulΣ typicall∙ implemen⌠ thσ direc⌠ access¼ sequentia∞ access¼ optica∞ memor∙ ì
devicσ o≥ C─-RO═ commanΣ set≤ iε thi≤ standard« Example≤ arσ magnetiπ disδ ì
drives¼ cartridgσ tapσ drives¼ optica∞ disδ drive≤ anΣ C─-RO═ drives« Usσ iε ì
ß mediuφ change≥ environmen⌠ implie≤ tha⌠ thσ devicσ support≤ removablσ media«
storagσ element.é ┴ componen⌠ oµ ß mediuφ change≥ devicσ useΣ fo≥ inactivσ ì
storagσ oµ ß uni⌠ oµ media.
.. end of section
.paè
(Thi≤ pagσ i≤ intentionall∙ blank.)
.paè