User Tools

Site Tools


backup:tape

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
backup:tape [2011/03/31 09:11] aorthbackup:tape [2011/11/09 12:55] – created aorth
Line 1: Line 1:
-====== Tape backup ======+====== Storix ====== 
 +<note>As of mid 2011 we don't use Storix anymore.  The new HPC uses Amanda instead, as it is free, open-source software.</note>
  
 Tape backups are run manually __once per week__, __on Friday afternoon__.  We have four cassettes, each of which can hold seven tapes.  Our current tape backup needs are around ten tapes, so each pair has eleven tapes total just in case the size of the backups increases.  Each week we rotate the set of cassettes so that we always have a week of archived data. Tape backups are run manually __once per week__, __on Friday afternoon__.  We have four cassettes, each of which can hold seven tapes.  Our current tape backup needs are around ten tapes, so each pair has eleven tapes total just in case the size of the backups increases.  Each week we rotate the set of cassettes so that we always have a week of archived data.
Line 105: Line 106:
 | March 11, 2011  |  A  | Completed successfully | | March 11, 2011  |  A  | Completed successfully |
 | March 18, 2011  |  B  | Completed successfully | | March 18, 2011  |  B  | Completed successfully |
 +| March 25, 2011  |  A  | Completed successfully |
 +| April 1, 2011  |  B  | Was running a restore for Anne so couldn't run backups |
 +| April 8, 2011  |  A  | Completed successfully |
 +| April 15, 2011  |  B  | Completed successfully |
 +| April 21, 2011  |  A  | Completed successfully |
 +| April 29, 2011  |  B  | Completed successfully |
 +| May 6, 2011  |  A  | failed... not sure why |
 +| May 13, 2011  |  A  | haven't started because I can't eject the tapes yet |
 ====== Storix Backup Administrator ====== ====== Storix Backup Administrator ======
 We are using an Exabyte Tape library for backups and the commercial Storix Backup Administrator software [[http://www.storix.com/]]. We are using an Exabyte Tape library for backups and the commercial Storix Backup Administrator software [[http://www.storix.com/]].
Line 146: Line 155:
  
 ===== Troubleshooting ====== ===== Troubleshooting ======
-Use the mtx command to help identify which hardware the OS detects: +The following commands can be useful in determining problems with devices. 
-<code>[root@hpc-ilri: ~]# mtx inquiry+==== mtx ==== 
 +<code>mtx -f /dev/sg0 inquiry 
 +Product Type: Medium Changer 
 +Vendor ID: 'EXABYTE ' 
 +Product ID: 'EXB-480         ' 
 +Revision: '2.18' 
 +Attached Changer: No</code> 
 +==== tapeinfo ==== 
 +<code>tapeinfo -f /dev/sg0
 Product Type: Medium Changer Product Type: Medium Changer
 Vendor ID: 'EXABYTE ' Vendor ID: 'EXABYTE '
Line 153: Line 170:
 Revision: '2.18' Revision: '2.18'
 Attached Changer: No Attached Changer: No
-[root@hpc-ilri~]# mtx -f inquiry +SerialNumber: '67001141  
-cannot open SCSI device 'inquiry- No such file or directory +SCSI ID
-[root@hpc-ilri~]# mtx -f /dev/sg0 inquiry+SCSI LUN: 0 
 +Ready: yes</code> 
 +==== loaderinfo ==== 
 +<code>loaderinfo -f /dev/sg0
 Product Type: Medium Changer Product Type: Medium Changer
 Vendor ID: 'EXABYTE ' Vendor ID: 'EXABYTE '
Line 161: Line 181:
 Revision: '2.18' Revision: '2.18'
 Attached Changer: No Attached Changer: No
-[root@hpc-ilri~]# mtx -f /dev/sg1 inquiry +Bar Code ReaderYes 
-Product Type: Tape Drive +EAAP: Yes 
-Vendor ID'IBM     ' +Number of Medium Transport Elements: 1 
-Product ID'ULTRIUM-TD1     ' +Number of Storage Elements: 21 
-Revision'4561' +Number of Import/Export Element Elements: 1 
-Attached ChangerNo +Number of Data Transfer Elements: 1 
-[root@hpc-ilri~]# mtx -f /dev/sg2 inquiry +Transport Geometry Descriptor Page: Yes 
-Product TypeDisk Drive +Invertable: No 
-Vendor ID'3ware   ' +Device Configuration Page: Yes 
-Product ID'Logical Disk 00 +Can Transfer: Yes</code> 
-Revision'1.00' + 
-Attached ChangerNo +==== List SCSI devices ==== 
-[root@hpc-ilri~]# mtx -f /dev/sg3 inquiry +'/dev/sg*' are apparently all SCSI devices (some of which are the disks attached to the OS), which can be quite confusing.  ''/proc/scsi/scsi'' will show you information about attached scsi devices: 
-Product TypeDisk Drive +<code>cat /proc/scsi/scsi 
-Vendor ID'3ware   ' +Attached devices: 
-Product ID'Logical Disk 01 +Host: scsi0 Channel: 00 Id: 00 Lun: 00 
-Revision'1.00' +  Vendor: EXABYTE  Model: EXB-480          Rev: 2.18 
-Attached ChangerNo +  Type:   Medium Changer                   ANSI SCSI revision: 02 
-[root@hpc-ilri~]# mtx -f /dev/sg4 inquiry +Host: scsi0 Channel: 00 Id: 01 Lun: 00 
-Product TypeDisk Drive +  Vendor: IBM      Model: ULTRIUM-TD1      Rev: 4561 
-Vendor ID'3ware   ' +  Type  Sequential-Access                ANSI SCSI revision03 
-Product ID'Logical Disk 02 +Hostscsi1 Channel: 00 Id: 00 Lun: 00 
-Revision'1.00' +  Vendor: 3ware    Model: Logical Disk 00  Rev: 1.00 
-Attached ChangerNo</code>+  Type  Direct-Access                    ANSI SCSI revisionffffffff 
 +Hostscsi1 Channel: 00 Id: 01 Lun: 00 
 +  Vendor: 3ware    Model: Logical Disk 01  Rev: 1.00 
 +  Type  Direct-Access                    ANSI SCSI revisionffffffff 
 +Hostscsi1 Channel: 00 Id: 02 Lun: 00 
 +  Vendor: 3ware    Model: Logical Disk 02  Rev: 1.00 
 +  Type  Direct-Access                    ANSI SCSI revision: ffffffff</code> 
 +   
 +==== Force tape location ==== 
 +<code>TAPE=/dev/sg0 mtx status</code> 
 +==== /dev/st0 not ready ==== 
 +Try to reset the library and drives from the front panel.
  
 ==== Tape library commands ==== ==== Tape library commands ====
  
   * ''mtx status''   * ''mtx status''
-  *''mtx unload <slotnum> <drivenum>''  (Unloads media from drive <drivenum> into slot  <slotnum>.)+  * ''mtx unload <slotnum> <drivenum>''  (Unloads media from drive <drivenum> into slot  <slotnum>.)
  
-==== Bootable USB recovery ====+===== Bootable USB recovery =====
  
 http://www.storix.com/how-to/202-how-to-configure-a-bootable-usb-drive-for-bare-metal-recovery-sbadmin-v6 http://www.storix.com/how-to/202-how-to-configure-a-bootable-usb-drive-for-bare-metal-recovery-sbadmin-v6