HP D2D HP StorageWorks Linux and UNIX configuration guide for D2D Backup Syste - Page 49
Verify you are controlling the correct library
![]() |
View all HP D2D manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 49 highlights
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 block no= 0 residual= 0 retries= 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 D2D Backup System 49
![](/manual_guide/products/hewlettpackard-d2d-hp-storageworks-linux-unix-configuration-guide-d2d-backup-systems-ej00190978-2010-f7ce179/49.png)