HP D2D HP StorageWorks Linux and UNIX configuration guide for D2D Backup Syste - Page 39

Loading a cartridge into a library tape drive, Unloading a cartridge from a library tape drive, Moving a cartridge to the library Mail Slot, Moving a cartridge from the library Mail Slot, Backup and restore files using TAR in HP-UX

Page 39 highlights

ST_slot_12:Full 72255110C ST_slot_13:Full 72255110D ST_slot_14:Full 72255110E ST_slot_15:Full 72255110F ST_slot_16:Full 722551110 ST_slot_17:Full 722551111 ST_slot_18:Full 722551112 ST_slot_19:Full 722551113 ST_slot_20:Full 722551114 ST_slot_21:Full 722551115 ST_slot_22:Full 722551116 ST_slot_23:Full 722551117 ST_slot_24:Full 722551118 IE_slot_25:Empty The DT_slot 1 represent Ultrium tape drives within the library. The ST_slots 1 to 24 represent the 24 configured slots within the library. The IE_slot_1 represents the import/export slot of the library, also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface. Loading a cartridge into a library tape drive To load a cartridge into the tape drive, the mc -s -d command should be used. For example, to move a cartridge from slot 2 to the drive the command would be: # mc -p /dev/rac/c9t0d0 -s S2 -d D1 Unloading a cartridge from a library tape drive To unload a cartridge from the first tape drive and return it to storage slot 2, the command should be: # mc -p /dev/rac/c9t0d0 -s D1 -d S2 Moving a cartridge to the library Mail Slot To move a cartridge from storage slot 3 to the mail slot for exporting to an attached tape drive, the command will be: # mc -p /dev/rac/c9t0d0 -s S3 -d I1 Moving a cartridge from the library Mail Slot To move a cartridge from the Import/Export slot to Storage slot 4, following an import from an attached tape drive, the command will be: # mc -p /dev/rac/c9t0d0 -s I1 -d S4 Backup and restore files using TAR in HP-UX This section describes how to perform a simple backup and recovery of files to an HP StorageWorks D2D Backup System using the console applications; MC and TAR. In the examples, the library robotics is controlled using generic SCSI device file /dev/rac/c9t0d0 and the autoloader tape drive uses tape device file /dev/rmt/1mnb. The file to be backed up and restored is the HP-UX kernel. D2D Backup System 39

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

ST_slot_12:Full 72255110C
ST_slot_13:Full 72255110D
ST_slot_14:Full 72255110E
ST_slot_15:Full 72255110F
ST_slot_16:Full 722551110
ST_slot_17:Full 722551111
ST_slot_18:Full 722551112
ST_slot_19:Full 722551113
ST_slot_20:Full 722551114
ST_slot_21:Full 722551115
ST_slot_22:Full 722551116
ST_slot_23:Full 722551117
ST_slot_24:Full 722551118
IE_slot_25:Empty
The DT_slot 1 represent Ultrium tape drives within the library. The ST_slots 1 to 24 represent the 24
configured slots within the library. The IE_slot_1 represents the import/export slot of the library, also
known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface.
Loading a cartridge into a library tape drive
To load a cartridge into the tape drive, the
mc —s —d
command should be used. For example, to
move a cartridge from slot 2 to the drive the command would be:
# mc –p /dev/rac/c9t0d0 –s S2 –d D1
Unloading a cartridge from a library tape drive
To unload a cartridge from the first tape drive and return it to storage slot 2, the command should
be:
# mc –p /dev/rac/c9t0d0 –s D1 –d S2
Moving a cartridge to the library Mail Slot
To move a cartridge from storage slot 3 to the mail slot for exporting to an attached tape drive, the
command will be:
# mc –p /dev/rac/c9t0d0 –s S3 –d I1
Moving a cartridge from the library Mail Slot
To move a cartridge from the Import/Export slot to Storage slot 4, following an import from an attached
tape drive, the command will be:
# mc –p /dev/rac/c9t0d0 –s I1 –d S4
Backup and restore files using TAR in HP-UX
This section describes how to perform a simple backup and recovery of files to an HP StorageWorks
D2D Backup System using the console applications;
MC
and
TAR
. In the examples, the library robotics
is controlled using generic SCSI device file
/dev/rac/c9t0d0
and the autoloader tape drive uses
tape device file
/dev/rmt/1mnb
. The file to be backed up and restored is the HP-UX kernel.
D2D Backup System
39