Ammt: Difference between revisions
No edit summary |
Paul.bijnens (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
==Name== | ==Name== | ||
ammt — | '''ammt''' — Amanda version of mt | ||
==Synopsis== | ==Synopsis== | ||
ammt [-d ] [ -f | -t | device ] command [count] | '''ammt''' [-d ] [ -f | -t | device ] command [count] | ||
==DESCRIPTION== | ==DESCRIPTION== | ||
Ammt provides just enough of the standard | Ammt provides just enough of the standard Unix mt command for the needs of Amanda. This is handy when doing a full restore and the standard mt program has not yet been found. | ||
Ammt also provides access to the | Ammt also provides access to the Amanda output drivers that support various tape simulations. | ||
See the amanda(8) man page for more details about | See the [[amanda]](8) man page for more details about Amanda. See the OUTPUT DRIVERS section of [[amanda]](8) for more information on the Amanda output drivers. | ||
==OPTIONS== | ==OPTIONS== | ||
-d | ; -d : Turn on debugging output. | ||
; -f ''device'' : Access tape device device. If not specified, the TAPE environment variable is used. | |||
; -t ''device'' : Same as -f. | |||
-f device | ; ''command'' count : Which command to issue, and an optional count of operations. | ||
-t device | |||
command count | |||
==COMMANDS== | ==COMMANDS== | ||
Line 34: | Line 26: | ||
Each command may be abbreviated to whatever length makes it unique. | Each command may be abbreviated to whatever length makes it unique. | ||
eof|weof count | ; eof|weof ''count'' : Write count (default: 1) end of file marks (tapemarks). | ||
; fsf ''count'' : Skip forward count (default: 1) files. | |||
; bsf ''count'' : Skip backward count (default: 1) files. | |||
fsf count | ; asf ''count'' : Position to file number count (default: 0) where zero is beginning of tape. This is the same as a rewind followed by a fsf count. | ||
; rewind : Rewind to beginning of tape. | |||
Skip forward count (default: 1) files. | ; offline|rewoffl: Rewind to beginning of tape and unload the tape from the drive. | ||
bsf count | ; status : Report status information about the drive. Which data reported, and what it means, depends on the underlying operating system, and may include: | ||
asf count | |||
rewind | |||
offline|rewoffl | |||
Rewind to beginning of tape and unload the tape from the drive. | |||
status | |||
ONLINE Indicates the drive is online and ready. | ONLINE Indicates the drive is online and ready. | ||
Line 66: | Line 44: | ||
blkno Current tape block number file. | blkno Current tape block number file. | ||
Note | '''Note:''' | ||
Many systems only report good data when a tape is in the drive and ready. | Many systems only report good data when a tape is in the drive and ready. | ||
Line 77: | Line 55: | ||
==SEE ALSO== | ==SEE ALSO== | ||
amanda(8) | [[amanda]](8) |
Revision as of 23:46, 1 December 2005
Name
ammt — Amanda version of mt
Synopsis
ammt [-d ] [ -f | -t | device ] command [count]
DESCRIPTION
Ammt provides just enough of the standard Unix mt command for the needs of Amanda. This is handy when doing a full restore and the standard mt program has not yet been found.
Ammt also provides access to the Amanda output drivers that support various tape simulations.
See the amanda(8) man page for more details about Amanda. See the OUTPUT DRIVERS section of amanda(8) for more information on the Amanda output drivers.
OPTIONS
- -d
- Turn on debugging output.
- -f device
- Access tape device device. If not specified, the TAPE environment variable is used.
- -t device
- Same as -f.
- command count
- Which command to issue, and an optional count of operations.
COMMANDS
Each command may be abbreviated to whatever length makes it unique.
- eof|weof count
- Write count (default: 1) end of file marks (tapemarks).
- fsf count
- Skip forward count (default: 1) files.
- bsf count
- Skip backward count (default: 1) files.
- asf count
- Position to file number count (default: 0) where zero is beginning of tape. This is the same as a rewind followed by a fsf count.
- rewind
- Rewind to beginning of tape.
- offline|rewoffl
- Rewind to beginning of tape and unload the tape from the drive.
- status
- Report status information about the drive. Which data reported, and what it means, depends on the underlying operating system, and may include:
ONLINE Indicates the drive is online and ready. OFFLINE Indicates the drive is offline or not ready. BOT Indicates the drive is at beginning of tape. EOT Indicates the drive is at end of tape. PROTECTED Indicates the tape is write protected. ds Device status. er Error register. fileno Current tape file number. blkno Current tape block number file.
Note: Many systems only report good data when a tape is in the drive and ready.
AUTHOR
Marc Mengel <[email protected]>, John R. Jackson <[email protected]>: Original text
Stefan G. Weichinger, <[email protected]>, maintainer of the AMANDA-documentation: XML-conversion
SEE ALSO
amanda(8)