Scroll to navigation

AMDEVCHECK(8) System Administration Commands AMDEVCHECK(8)

NAME

amdevcheck - Validate an Amanda device and volume.

SYNOPSIS

amdevcheck config [device name] [-o configoption]...

DESCRIPTION

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.

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

OPTIONS

config

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

device

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

-o clientconfigoption

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

OUTPUT

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

A tape is ready.

DEVICE_ERROR

A device error has occurred.

DEVICE_BUSY

The device is busy.

VOLUME_MISSING

No tape is loaded in the drive.

VOLUME_UNLABELED

The tape in the drive is unlabeled.

VOLUME_ERROR

A volume error has occurred.

MESSAGE text

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

SEE ALSO

amanda(8), ammt(8), : http://wiki.zmanda.com

AUTHOR

Ian Turner <ian@zmanda.com>

Zmanda, Inc. (http://www.zmanda.com)
11/05/2009 Amanda 2.6.1p2