amdevcheck man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

AMDEVCHECK(8)		System Administration Commands		 AMDEVCHECK(8)

       amdevcheck - Validate an Amanda device and volume.

       amdevcheck [--label] [-properties list] [-o configoption...] config

       Amdevcheck provides a way to check that a particular Amanda device is
       accessible, whether or not it contains a volume, and whether or not
       that volume is labeled. Some devices can't distinguish between all of
       these cases; a missing volume and an unlabeled volume might generate
       the same error code, for example. In those cases, this tool reports all
       possible causes of the error. Optionally this tools lists the
       properties for the device.

       See the amanda(8) man page for more details about Amanda. See amanda-
       devices(7) for more information on devices.

	   Amanda configuration to use. Note that amdevcheck ignores any tape
	   changer configuration.

	   Amanda device to use. This option overrides any tapedev
	   configuration specified in the configuration file.

	   Get the device's label. If this option is given, the usual check
	   output is omitted, and the label of the loaded volume is printed to
	   stdout. Returns with error if the label is not found.

       --properties [list]
	   List device properties. If this option is given, the usual check
	   output is omitted, and property values are printed to stdout, one
	   per line, as a property name, followed by '=', followed by the
	   property value. Returns with error if properties are not available.

	   If list is given, it is treated as a comma-separated list of
	   properties to display. If it is omitted, all supported properties
	   are displayed.

       -o configoption
	   See the "CONFIGURATION OVERRIDE" section in amanda(8).

       amdevcheck exit with code 0 if the device is working of if it get an
       expected error, look at the MESSAGE line for the error. It exit with
       code 1 if it get an unexpected error.

       Amdevcheck returns one or more of the following lines. If multiple
       lines appear, then at least one, but not necessarily all of the
       messages apply. This situation can occur when working with hardware or
       operating systems which cannot distinguish, for example, between a
       malfunctioning drive and a functional but unloaded drive.

	   A tape is ready.

	   A device error has occurred.

	   The device is busy.

	   No tape is loaded in the drive.

	   The tape in the drive is unlabeled.

	   A volume error has occurred.

       MESSAGE text
	   Where text provides a human-readable description of the problem.

       amanda(8), amanda-devices(7)

       The Amanda Wiki: :

       Ian Turner <>
	   Zmanda, Inc. (

Amanda 3.3.3			  01/10/2013			 AMDEVCHECK(8)

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net