AMDEVCHECK(8) | System Administration Commands | AMDEVCHECK(8) |
amdevcheck - Validate an Amanda device and volume.
amdevcheck [--label] [-properties list] [-o configoption...] config [device-name]
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.
config
device
--label
--properties [list]
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
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.
SUCCESS
DEVICE_ERROR
DEVICE_BUSY
VOLUME_MISSING
VOLUME_UNLABELED
VOLUME_ERROR
MESSAGE text
The Amanda Wiki: : http://wiki.zmanda.com/
Ian Turner <ian@zmanda.com>
12/01/2017 | Amanda 3.5.1 |