Verify You Are Controlling The Correct Library; To Verify The Device File For The Robotics Of The Library; To Verify The Tape Device File For The Tape Drive; Reviewing The Media In A Library - HP StorageWorks D2D Configuration Manual

Hp storageworks linux and unix configuration guide for d2d backup systems (ej001-90978, july 2010)
Hide thumbs Also See for StorageWorks D2D:
Table of Contents

Advertisement

Verify you are controlling the correct library

The robotics of the library will be assigned a SCSI device file. To discover the device file assigned,
use the following command:
# ls /dev/scsi/changer
The response will the name of the device file. e.g. c3t1d0.Therefore, the library can be controlled
using the device file /dev/scsi/changer/c3t1d0.

To verify the device file for the robotics of the library

To verify the correct device file has been determined, the following command should be used:
# mtx –f /dev/scsi/changer/c3t1d0 inquiry
The output for an MSL 2024 library should be:
Product Type: Medium Changer
Vendor ID: 'HP
Product ID: 'MSL G3 Series
Revision: 'pc81'
Attached Changer: No

To verify the tape device file for the tape drive

The tape drive(s) of the library will be assigned SCSI tape device files. To discover the SCSI tape
device files assigned, use the following command:
ls /dev/rmt/*cb
The output will be a list of device files for each configured tape drive. e.g. /dev/rmt/2cb.
In this example the SCSI tape device file that has been assigned is 2cb. To verify the tape device file
for the tape drive, the MT command should be used:
# mt -f /dev/rmt/2cb status
The output should be:
HP Ultrium LTO 3 tape drive:
sense key(0x6)= Unit Attention
file no= 0
This indicates that the tape drive files are valid but no media is loaded into the drive.

Reviewing the media in a library

To verify the contents of the media slots within a library, the following command should be used:
# mtx –f /dev/scsi/changer/c3t1d0 status
The output for a MSL 2024 library with 1 tape drive and 24 cartridges configured would look similar
to this:
Storage Changer /dev/scsi/changer/c3t1d0:1 Drives, 24 Slots
( 1 Import/Export )
Data Transfer Element 0:Empty
Storage Element 1:Full :VolumeTag=72255101
Storage Element 2:Full :VolumeTag=72255102
'
'
block no= 0
residual= 0
retries= 0
D2D Backup System
49

Advertisement

Table of Contents
loading

Table of Contents