![]() |
![]() |
| |||||
Examples--Displaying Tape Drive StatusThe following example shows the status for a QIC-150 tape drive (/dev/rmt/0):
The following example shows the status for an Exabyte tape drive (/dev/rmt/1):
The following example shows a quick way to poll a system and locate all of its tape drives:
Handling Magnetic Tape CartridgesIf errors occur when a tape is being read, you can retension the tape, clean the tape drive, and then try again. How to Retension a Magnetic Tape CartridgeRetension a magnetic tape cartridge with the mt command. For example:
Note - Do not retension non-QIC tape drives. How to Rewind a Magnetic Tape CartridgeTo rewind a magnetic tape cartridge, use the mt command. For example:
Guidelines for Drive Maintenance and Media HandlingA backup tape that cannot be read is useless. So, periodically clean and check your tape drives to ensure correct operation. See your hardware manuals for instructions on procedures for cleaning a tape drive. You can check your tape hardware by doing either of the following:
Be aware that hardware can fail in ways that the system does not report. Always label your tapes after a backup. If you are using a backup strategy similar to the strategies suggested in Chapter 46, Backing Up and Restoring File Systems (Overview), you should indicate on the label "Tape A," "Tape B," and so forth. This label should never change. Every time you do a backup, make another tape label that contains the following information:
Store your tapes in a dust-free safe location, away from magnetic equipment. Some sites store archived tapes in fireproof cabinets at remote locations. You should create and maintain a log that tracks which media (tape volume) stores each job (backup) and the location of each backed-up file. | |||||
| |||||