Monday, December 27, 2010

Redhat Enterprise version of Linux tape drive simple operations

Linux use drives, there are several ways, notably through Amanda, Tar and other software.

Amanda is provides remote centralized backup capabilities to set the client-side, server-side remote centralized storage backup. But Tar is mainly used in a stand-alone environment, data is written directly to tape backup. For single node backup, simply use the Tar command to back up, recovery can be. Installation for current manufacturers of HPDAT24/40 series external SCSI tape drive with automatic rollback functionality. It is connected to an external SCSI buses, and restart the server. After rebooting, you can perform a dmesg will see new tape drive device called/dev/st0. Blk: queueef0d7a14, I/Olimit4095Mb (mask0xfffffff) auditsubsystemver0.1initialized (scsi0: A:3): 10.000MB/stransfers (10.000MHz, offset15) Vendor: HPModel: C1537ARev: L805 Type: Sequential-AccessANSISCSIrevision: 02 blk: queueef0e4614, I/Olimit4095Mb (mask0xfffffff) Attachedscsitapest0atscsi0, channel0, id3, lun0 tape mount tape, do the following: rewind, the starting position of the tape volumes to mt-f/dev/st0rewind erasure, erase tape content mt-f/dev/st0erase Note: erase work very slowly, and on tape is damaged, it is best not to do, when the data is full, you can continue to write data and overwrite the old data, not implemented wipe action. New tape immediately after opening the package, you can use, do not need to perform an erase. Out of band, the tape volumes to the initial position and then a pop-up from drives in mt-f/dev/st0offline data manipulation basic operation is as follows: 1. column directory operation tartvf/dev/st0 if none of the files on the tape, the column directory will complain that this error, do not affect the use of tape.

No comments:

Post a Comment