HP D2D HP StorageWorks Linux and UNIX configuration guide for D2D Backup Syste - Page 24
Loading a cartridge into a library tape drive, Moving a cartridge to the library Mail Slot
![]() |
View all HP D2D manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 24 highlights
Loading a cartridge into a library tape drive To load a cartridge into the tape drive, the mtx load command should be used. For example, to move a cartridge from slot 2 to the first tape drive the command would be: localhost:~ $ mtx -f /dev/sg2 load 2 0 Unloading a cartridge from a library tape drive To unload a cartridge and place it in a storage slot, the mtx unload command should be used. For example, to unload a cartridge from the first tape drive and place it in to storage slot 2, the command would be: localhost:~ $ mtx -f /dev/sg2 unload 2 0 Moving a cartridge to the library Mail Slot To move a cartridge to the mail slot for exporting to an attached tape drive, the mtx transfer command should be used. For example, to move the cartridge in slot 1 to the mail slot 25, the following command should be used: localhost:~ $ mtx -f /dev/sg2 transfer 1 25 Moving a cartridge from the library Mail Slot To move a cartridge from the mail slot following an import from an attached tape drive, the mtx transfer command should be: localhost:~ $ mtx -f /dev/sg2 transfer 25 1 Backup and restore files using TAR in Linux This section describes how to perform a simple backup and recovery of files to an HP StorageWorks D2D Backup System using the console applications; MTX and TAR. In the examples, the autoloader robotics is controlled using generic SCSI device file sg2 and the autoloader tape drive uses tape device file st0. The file to be backed up and restored is the Linux kernel. 24 Linux (x86, x64 and IA64)
![](/manual_guide/products/hewlettpackard-d2d-hp-storageworks-linux-unix-configuration-guide-d2d-backup-systems-ej00190978-2010-f7ce179/24.png)