Difference between revisions of "Tapes"

From Tranzman Documentation
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
===Useful mt Commands===
 
===Useful mt Commands===
  
* eof, weof - Write count EOF marks at current position.
+
* '''eof, weof''' - Write count EOF marks at current position.
* fsf     - Forward space count files. The tape is positioned on the first block of the next file.
+
* '''fsf'''     - Forward space count files. The tape is positioned on the first block of the next file.
* bsf     - Backward space count files. The tape is positioned on the first block of the next file.
+
* '''bsf'''    - Backward space count files. The tape is positioned on the first block of the next file.
* fsr     - Forward space count records.
+
* '''fsr'''     - Forward space count records.
* bsr     - Backward space count records.
+
* '''bsr'''     - Backward space count records.
* bsfm     - Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
+
* '''bsfm'''     - Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
* fsfm     - Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
+
* '''fsfm'''     - Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
* asf     - Absolute space to file number count. Equivalent to rewind followed by fsf count.
+
* '''asf'''     - Absolute space to file number count. Equivalent to rewind followed by fsf count.
* seek     - Seek to block number count.
+
* '''seek'''     - Seek to block number count.
* eom     - Space to the end of the recorded media on the tape (for appending files onto tapes).
+
* '''eom'''     - Space to the end of the recorded media on the tape (for appending files onto tapes).
* rewind    - Rewind the tape.
+
* '''rewind'''   - Rewind the tape.
* rewoffl  - Rewind the tape and, if applicable, unload the tape.
+
* '''rewoffl'''   - Rewind the tape and, if applicable, unload the tape.
* offline  - Sets the status of the tape to offline.
+
* '''offline'''   - Sets the status of the tape to offline.
* status    - Print status information about the tape unit.
+
* '''status'''   - Print status information about the tape unit.
* retension - Rewind the tape, then wind it to the end of the reel, then rewind it again.
+
* '''retension''' - Rewind the tape, then wind it to the end of the reel, then rewind it again.
* erase     - Erase the tape.
+
* '''erase'''     - Erase the tape.
 
----
 
----
 
Use this link to go back to the main [[Devices - Tape Drives]] Page.
 
Use this link to go back to the main [[Devices - Tape Drives]] Page.

Latest revision as of 16:08, 17 September 2018

This section of the appliance allows the user to work directly with the Tape Drives attached to the system.

List Tapes

To generate a list of all Tapes on the system, run the command;

> tapes > list

Mount Command

The appliance accepts any normal Linux like mount commands to work with the tapes.

> tapes > mt <device> <command>

  • <device> - Tape device information (i.e. st0, st1, etc)
  • <command> - Standard magnetic tape commands.

Useful mt Commands

  • eof, weof - Write count EOF marks at current position.
  • fsf - Forward space count files. The tape is positioned on the first block of the next file.
  • bsf - Backward space count files. The tape is positioned on the first block of the next file.
  • fsr - Forward space count records.
  • bsr - Backward space count records.
  • bsfm - Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
  • fsfm - Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
  • asf - Absolute space to file number count. Equivalent to rewind followed by fsf count.
  • seek - Seek to block number count.
  • eom - Space to the end of the recorded media on the tape (for appending files onto tapes).
  • rewind - Rewind the tape.
  • rewoffl - Rewind the tape and, if applicable, unload the tape.
  • offline - Sets the status of the tape to offline.
  • status - Print status information about the tape unit.
  • retension - Rewind the tape, then wind it to the end of the reel, then rewind it again.
  • erase - Erase the tape.

Use this link to go back to the main Devices - Tape Drives Page.