Virtual TapeServer 6.03.42 Installation Guide
Enabling Enterprise Integration and Migration | 93
4. To confirm that the physical tape device(s) was created and communicating in the
operating system, go to the Linux text console and enter the following command:
sg_map –x
Here is an example of the output from this command:
/dev/sg0 1 0 5 0 1 /dev/st0
/dev/sg1 12 0 0 0 12
/dev/sg2 12 0 1 0 1 /dev/st1
/dev/sg3 12 0 1 1 1 /dev/st2
/dev/sg4 14 0 0 0 8
/dev/sg5 14 0 0 1 1 /dev/st3
/dev/sg6 14 0 0 2 1 /dev/st4
/dev/sg7 14 0 0 3 1 /dev/st5
/dev/sg8 14 0 0 4 1 /dev/st6
/dev/sg9 16 0 0 0 5 /dev/scd0
/dev/sg10 16 0 0 1 5 /dev/scd1
/dev/sg11 16 0 0 2 5 /dev/scd2
/dev/sg12 16 0 0 3 5 /dev/scd3
/dev/sg13 16 0 0 4 5 /dev/scd4
/dev/sg14 16 0 0 5 5 /dev/scd5
/dev/sg15 16 0 0 6 5 /dev/scd6
/dev/sg16 16 0 0 7 5 /dev/scd7
Then, find the st0 entry (tape drive) attached and then enter this command:
sg_inq /dev/sgn
where sgn is the number that matches the /dev/stn device. For the output listed above,
you would enter sg_inq /dev/sg0. Here is an example of the output from this command:
standard INQUIRY:
PQual=0 Device_type=1 RMB=1 [ANSI_version=4] version=0x04
[AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=2
SCCS=0 ACC=0 ALUA=0 3PC=0 Protect=0
BQue=0 EncServ=0 MultiP=0 MChngr=0 [ACKREQQ=0] Addr16=1
[RelAdr=0] WBus16=1 Sync=1 Linked=0 [TranDis=0] CmdQue=0
Clocking=0x3 QAS=0 IUS=0
length=74 (0x4a) Peripheral device type: tape
Vendor identification: CERTANCE
Product identification: ULTRIUM 3
Product revision level: 1770
Product serial number: JD006D2
Repeat for each tape drive that was added.