HP D2D HP StorageWorks Linux and UNIX configuration guide for D2D Backup Syste - Page 22
Controlling an HP StorageWorks D2D Backup System using Linux
![]() |
View all HP D2D manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 22 highlights
Controlling an HP StorageWorks D2D Backup System using Linux The HP StorageWorks D2D Backup System appears to the Linux operating system as a 1x8 G2 autoloader and Ultrium tape drive. The robotics within the autoloader can be controlled from the console using a command called MTX. If the MTX utility is not installed, it can be added using the package manager. The complete MTX manual can also be accessed from any Linux console using the command man mtx. The following examples illustrate how to complete common tasks with the HP StorageWorks D2D Backup System. • Verify you are controlling the correct library • Review the media • Load a cartridge into the tape drive • Unload a cartridge from the tape drive • Move a cartridge to the mail slot • Move a cartridge from the mail slot Verify you are controlling the correct library The robotics of the library will be assigned a generic SCSI device file. To discover the device file assigned, use the following command: localhost:~ $ dmesg | grep -A2 -e "1x8 G2 AUTOLDR" -e "MSL G3 Series" For an MSL 2024 library the output will be similar to this: Vendor: HP Model: MSL G3 Series Rev: pc81 Type: Medium Changer ANSI SCSI revision: 03 1:0:0:0: Attached scsi generic sg2 type 8 In this example the device file that has been assigned is sg2. Therefore, the library can be controlled using the device file /dev/sg2. 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: localhost:~ $ mtx -f /dev/sg2 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 also be assigned a generic SCSI device file(s), along with SCSI tape device file(s). To discover the SCSI tape device file(s) assigned, use the following command: localhost:~ $ dmesg | grep -A 4 "Ultrium" 22 Linux (x86, x64 and IA64)
![](/manual_guide/products/hewlettpackard-d2d-hp-storageworks-linux-unix-configuration-guide-d2d-backup-systems-ej00190978-2010-f7ce179/22.png)