Testing the complete setup
Now it is possible to verify the complete installation by issuing commands from the mtlib command-line interface. The simplest test is the communication between the IBM® device driver atldd and the TSLM 3494 Emulation:
$ mtlib -l /dev/lmcp2 -A
Library Address Information:
library name...........polo
host identification....arthur
primary address........9.68.92.226
primary status.........Online
alternate address......Not configured
The primary status Online indicates that the communication is working.
With the communication working, the tape drives and cartridges assigned to the TSLM 3494 Emulation are also visible from mtlib:
$ mtlib -l /dev/lmcp2 -D -E
Type Mod Serial # Devnum Cuid Device VTS Library
003592 J1A 78-08195 00081950 1 0
003592 J1A 78-19352 00193520 2 0
$ mtlib -l /dev/lmcp2 -qI
A00062 012C 00 20 00
J1M439 012C 00 20 00
JCA800 012C 00 20 00
The final test is a cartridge mount using the TSLM 3494 Emulation. With the complete setup up, and running, this works like a cartridge mount in an IBM 3494 Tape Library:
$ mtlib -l /dev/lmcp2 -m -x00081950 -VA00062
$ mtlib -l /dev/lmcp2 -qD -x00081950
Device Data:
mounted volser.............A00062
mounted category...........012C
device category............0000
device state...............Device installed in Library.
Device available to Library.
Volume is loaded.
ACL is installed.
Auto Fill is enabled.
device class...............3592-J1A
extended device status.....00
$ mtlib -l /dev/lmcp2 -d -x00081950 -VA00062
$ mtlib -l /dev/lmcp2 -qD -x00081950
Device Data:
mounted volser.............none.
device category............0000
device state...............Device installed in Library.
Device available to Library.
ACL is installed.
Auto Fill is enabled.
device class...............3592-J1A
extended device status.....00