[Stgt-devel] PATCH 0 of 6 - Initial start of VTL
Mark Harvey
markh794
Fri May 11 05:11:49 CEST 2007
Six patches against current git.
commit 2ff8cb4bf6682469e2f75c47a7f155b9690cf9a1
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date: Wed May 2 18:41:55 2007 +0900
Patch 1 introduces some documentation with an example script to set up.
Patch 2 contains some core code realignment of current tgt code base.
Patch 3 Adds initial SSC module (Tape Drive)
Patch 4 Adds initial SMC module (Medium Changer)
Patch 5 Adds support for mode and log pages - Although log page is not
really implemented yet.
Patch 6 Adds support for SMC READ ELEMENT STATUS page.
Note: All patches need to be applied in order...
Current operational state:
The 'mtx' utility can perform an 'inventory' or the medium changer..
# lsscsi -g
[0:0:0:0] disk ATA HITACHI_DK23EB-4 00K0 /dev/sda /dev/sg0
[0:0:1:0] cd/dvd HL-DT-ST RW/DVD GCC-4240N D110 /dev/scd0 /dev/sg1
[5:0:0:0] mediumx STK L700 0010 - /dev/sg2
# mtx -f /dev/sg2 status
Storage Changer /dev/sg2:3 Drives, 38 Slots ( 5 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Storage Element 1:Full :VolumeTag=ABC123
Storage Element 2:Empty:VolumeTag=
Storage Element 3:Full :VolumeTag=ULT001L3
Storage Element 4:Empty:VolumeTag=
Storage Element 5:Empty:VolumeTag=
Storage Element 6:Empty:VolumeTag=
Storage Element 7:Empty:VolumeTag=
Storage Element 8:Empty:VolumeTag=
Storage Element 9:Empty:VolumeTag=
Storage Element 10:Empty:VolumeTag=
Storage Element 11:Empty:VolumeTag=
Storage Element 12:Empty:VolumeTag=
Storage Element 13:Empty:VolumeTag=
Storage Element 14:Empty:VolumeTag=
Storage Element 15:Empty:VolumeTag=
Storage Element 16:Empty:VolumeTag=
Storage Element 17:Empty:VolumeTag=
Storage Element 18:Empty:VolumeTag=
Storage Element 19:Empty:VolumeTag=
Storage Element 20:Empty:VolumeTag=
Storage Element 21:Empty:VolumeTag=
Storage Element 22:Empty:VolumeTag=
Storage Element 23:Empty:VolumeTag=
Storage Element 24:Empty:VolumeTag=
Storage Element 25:Empty:VolumeTag=
Storage Element 26:Empty:VolumeTag=
Storage Element 27:Empty:VolumeTag=
Storage Element 28:Empty:VolumeTag=
Storage Element 29:Empty:VolumeTag=
Storage Element 30:Empty:VolumeTag=
Storage Element 31:Empty:VolumeTag=
Storage Element 32:Empty:VolumeTag=
Storage Element 33:Empty:VolumeTag=
Storage Element 34 IMPORT/EXPORT:Empty:VolumeTag=
Storage Element 35 IMPORT/EXPORT:Empty:VolumeTag=
Storage Element 36 IMPORT/EXPORT:Empty:VolumeTag=
Storage Element 37 IMPORT/EXPORT:Empty:VolumeTag=
Storage Element 38 IMPORT/EXPORT:Empty:VolumeTag=
More information about the stgt
mailing list