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

Loading a cartridge into a library tape drive, Backup and restore files using TAR

Page 50 highlights

Storage Element 3:Full :VolumeTag=72255103 Storage Element 4:Full :VolumeTag=72255104 Storage Element 5:Full :VolumeTag=72255105 Storage Element 6:Full :VolumeTag=72255106 Storage Element 7:Full :VolumeTag=72255107 Storage Element 8:Full :VolumeTag=72255108 Storage Element 9:Full :VolumeTag=72255109 Storage Element 10:Full :VolumeTag=72255110A Storage Element 11:Full :VolumeTag=72255110B Storage Element 12:Full :VolumeTag=72255110C Storage Element 13:Full :VolumeTag=72255110D Storage Element 14:Full :VolumeTag=72255110E Storage Element 15:Full :VolumeTag=72255110F Storage Element 16:Full :VolumeTag=722551110 Storage Element 17:Full :VolumeTag=722551111 Storage Element 18:Full :VolumeTag=722551112 Storage Element 19:Full :VolumeTag=722551113 Storage Element 20:Full :VolumeTag=722551114 Storage Element 21:Full :VolumeTag=722551115 Storage Element 22:Full :VolumeTag=722551116 Storage Element 23:Full :VolumeTag=722551117 Storage Element 24:Full :VolumeTag=722551118 Storage Element 25 IMPORT/EXPORT:Empty Each data transfer element represents an Ultrium tape drive within the library. Storage elements 1 to 24 represent the 24 configured slots within the library. Storage element 25 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 mtx load command should be used. For example, to move a cartridge from slot 2 to the first tape drive the command would be: # mtx -f /dev/scsi/changer/c3t1d0 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: # mtx -f /dev/scsi/changer/c3t1d0 unload 2 0 Backup and restore files using TAR 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 SCSI device file /dev/scsi/changer/c3t1d0 and the library drive uses tape device file /dev/rmt/2cb. The file to be backed up and restored is the kernel. 50 Solaris (x86 and SPARC)

  • 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

Storage Element 3:Full :VolumeTag=72255103
Storage Element 4:Full :VolumeTag=72255104
Storage Element 5:Full :VolumeTag=72255105
Storage Element 6:Full :VolumeTag=72255106
Storage Element 7:Full :VolumeTag=72255107
Storage Element 8:Full :VolumeTag=72255108
Storage Element 9:Full :VolumeTag=72255109
Storage Element 10:Full :VolumeTag=72255110A
Storage Element 11:Full :VolumeTag=72255110B
Storage Element 12:Full :VolumeTag=72255110C
Storage Element 13:Full :VolumeTag=72255110D
Storage Element 14:Full :VolumeTag=72255110E
Storage Element 15:Full :VolumeTag=72255110F
Storage Element 16:Full :VolumeTag=722551110
Storage Element 17:Full :VolumeTag=722551111
Storage Element 18:Full :VolumeTag=722551112
Storage Element 19:Full :VolumeTag=722551113
Storage Element 20:Full :VolumeTag=722551114
Storage Element 21:Full :VolumeTag=722551115
Storage Element 22:Full :VolumeTag=722551116
Storage Element 23:Full :VolumeTag=722551117
Storage Element 24:Full :VolumeTag=722551118
Storage Element 25 IMPORT/EXPORT:Empty
Each data transfer element represents an Ultrium tape drive within the library. Storage elements 1 to
24 represent the 24 configured slots within the library. Storage element 25 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
mtx load
command should be used. For example, to
move a cartridge from slot 2 to the first tape drive the command would be:
# mtx –f /dev/scsi/changer/c3t1d0 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:
# mtx –f /dev/scsi/changer/c3t1d0 unload 2 0
Backup and restore files using TAR
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 SCSI device file
/dev/scsi/changer/c3t1d0
and the library drive
uses tape device file
/dev/rmt/2cb
. The file to be backed up and restored is the kernel.
Solaris (x86 and SPARC)
50