Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

amtapetype(8) [centos man page]

AMTAPETYPE(8)						  System Administration Commands					     AMTAPETYPE(8)

NAME
amtapetype - generate a tapetype definition by testing the device directly SYNOPSIS
amtapetype [-h] [-c] [-f] [-p] [-b blocksize] [-t typename] [-l label] [-o configoption...] [config] [device] DESCRIPTION
amtapetype generates a tapetype entry for Amanda by testing the device directly. OPTIONS
Note The options for amtapetype have changed in version 2.6.1 -h Display the help message. -c Run only the hardware compression detection heuristic test and stop. This takes a few minutes only. -f Run amtapetype even if the loaded volume is already labeled. -p Run only the device property discovery. -b blocksize block size to use with the device (default: 32k) -t typename Name to give to the new tapetype definition. -l label Label to write on the tape (default is randomly generated). -o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8). If a configuration is specified, it is loaded and used to configure the device. Note that global configuration parameters are not applied to the device, so if you need to apply properties to a device to run amtapetype, you should supply those properties in a named device section. EXAMPLE
Generate a tapetype definition for your tape device: % amtapetype -f /dev/nst0 NOTES
If the device cannot reliably report its comprssion status (and as of this writing, no devices can do so), hardware compression is detected by measuring the writing speed difference of the tape drive when writing an amount of compressable and uncompresseable data. If your tape drive has very large buffers or is very fast, the program could fail to detect hardware compression status reliably. Volume capacity is determined by writing one large file until an error, interpereted as end-of-tape, is encountered. In the next phase, about 100 files are written to fill the tape. This second phase will write less data, because each filemark consumes some tape. With a little arithmetic, amtapetype calculates the size of these filemarks. All sorts of things might happen to cause the amount of data written to vary enough to generate a strange file mark size guess. A little more "shoe shining" because of the additional file marks (and flushes), dirt left on the heads from the first pass of a brand new tape, the temperature/humidity changed during the multi-hour run, a different amount of data was written after the last file mark before EOT was reported, etc. Note that the file mark size might really be zero for whatever device this is, and it was just the measured capacity variation that caused amtapetype to think those extra file marks in pass 2 actually took up space. SEE ALSO
amanda(8), amanda.conf(5) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.3 01/10/2013 AMTAPETYPE(8)

Check Out this Related Man Page

AMTAPE(8)						  System Administration Commands						 AMTAPE(8)

NAME
amtape - Control Amanda changers SYNOPSIS
amtape [-o configoption...] config subcommand [subcommand_options...] DESCRIPTION
Amtape is the command-line interface to Amanda's tape changers (amanda-changers(7)) and to the taperscan algorithm (amanda-taperscan(7)). Tape changers maintain a notion of the current slot for each configuration. This may or may not correspond to an actual physical state of the device, but is used by some taperscan algorithms to minimize searching through the slots. Amtape uses the default changer. To use a different changer, use the config override option, e.g., -otpchanger=otherchanger. SUBCOMMANDS
label label Search for and load the Amanda tape with label [label], also setting the current slot. slot slot Load the volume in the given slot, also setting the current slot. The slot names current, next, first, and last have special meaning. current Shorthand for slot current. inventory Show the contents of all slots, based on the changer's cached metadata. This is a quick operation as it does not load or unload any volumes, but is not supported by all changers. show [slots] Show the contents of all slots (or listed slots) by loading each slot and reading its label. This can be very slow. The slots arguments is of the form 1,3-5,7. reset Reset the changer to a known state. This subcommand is intended to clear any unknown and potentially incorrect state the changer may have stored. eject [drive] Eject the tape currently in the drive. This only applies to some changers. Specify a drive (by drive number) if more than one drive is available. clean [drive] If a cleaning tape is defined for the changer, used it to clean the specified drive. The [drive] is optional if the changer only has one drive. taper Run the taperscan algorithm (see amanda-taperscan(7)), displaying information about the progress of the scan. update [what] Update changer state. Consult amanda-changers(7) for changer-specific details on the format of what. -o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8). SEE ALSO
amanda(8), amanda-changers(7), amanda-taperscan(7), amanda-devices(7) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) James da Silva <jds@amanda.org> Stefan G. Weichinger <sgw@amanda.org> Amanda 3.3.3 01/10/2013 AMTAPE(8)
Man Page