SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Old RedHat 5.X amanda-server-2.4.0-1.i386.rpm

AMCHECK

Section: Maintenance Commands (8)
Index 

NAME

amcheck - run Amanda self-checks 

SYNOPSIS

amcheck[-mwsc]config 

DESCRIPTION

Amcheckruns a number of self-checks on both the Amanda tape server host andthe Amanda backup client hosts.

On the tape server host,amcheckgoes through the same tape checking used at the start of the nightlyamdumprun.This verifies the correct tape for the next run is in thecorrect drive.Holding disks are checked to insure they have enough free space.

Amcheckalso causes a self-check to be run on all backup client hosts.This makes sure each host is up and running and that permissionson filesystems to be backed up are correct.

See theamanda(8)man page for more details about Amanda. 

OPTIONS

-s
Only the tape server host checks are run.
-c
Only the backup client host checks are run.
-w
Enables a destructive check for write-protection on thetape (which would cause the subsequentamdumpto fail).If the tapeis writable, this check causes all data after the tape label to beerased (actually depends on the device driver: there is no portablenon-destructive way to check for write-protection).The check is only made if the tape is otherwise correct.
-m
Nothing is printed, but mail is sent to themailtoaddress as specified in theamanda.conffile if any errors are detected.
 

EXAMPLES

In this example, both the tape server and backup client tests are run.The results are displayed on standard output.

% amcheck DailySet1Amanda Tape Server Host Check-----------------------------/amanda2/amanda/work: 911475 KB disk space available, that's plenty.NOTE: skipping tape-writable test.Tape VOL10 label ok.Server check took 34.966 seconds.Amanda Backup Client Hosts Check--------------------------------WARNING: northstar: selfcheck request timed out.  Host down?WARNING: drinkme: selfcheck request timed out.  Host down?WARNING: scruffy: selfcheck request timed out.  Host down?Client check: 136 hosts checked in 51.945 seconds, 3 problems found.(brought to you by Amanda 2.4.0)

In this example, if the linemailto csd-amandais inamanda.conf,mail will be sent tocsd-amandaif the tape check returns an error.

% amcheck -s -m DailySet1
 

MESSAGES

fatal slot slot: error message
(error)The tape changer detected some kind of fatal errorwhile trying to load slotslot.
slot slot: error message
(warning)The tape changer detected some kind of non-fatal error(e.g. an empty slot was detected)while trying to load slotslot,or an error was detected trying to read the tape label.
slot slot: date YYYYMMDD label label (result)
(info)Tapelabelin slotslotwas loaded and found to have been last written onYYYYMMDD.If the tape is new, the date field will be anX.Theresultmay be one of:
exact label match
This is the expected tape.
no match
This label does not match thelabelstrpattern inamanda.conf.Tape scanning will continue.
active tape
This tape is still active and cannot be overwritten.Tape scanning will continue.
first labelstr match
This tape is the first one that matches thelabelstrpattern inamanda.conf.Tape scanning will continue if necessary.
labelstr match
This tape is the next one that matches thelabelstrpattern inamanda.conf.Tape scanning will continue.
ERROR: statfs disk: error message
(error)An error was returned from thestatfssystem call on holding diskdisk(maybe because it does not exist).
ERROR: disk is unwritable: error message
(error)An error was returned from theaccesssystem call on holding diskdisk,probably because the caller does not have write permission.
WARNING: avail disk space unknown for disk. N KB requested.
(warning)Amcheckcould not determine the amount of available space on holding diskdiskto see if there were at leastNKBytes available.
WARNING: disk: only F KB free (R KB requested).
(warning)Amanda.confrequestedRKBytes of free space on holding diskdisk,but onlyFKBytes were available.10 MBytes is subtracted for each backup process(see theinparallelamanda.confoption)to allow for unexpected overruns.
Note:even though this message is listed as a warning, it causesamcheckto exit with a non-zero status.
disk: N KB disk space available, that's plenty.
(info)There was sufficient free space on holding diskdisk.
WARNING: if a tape changer is not available, runtapes must be set to 1.
(warning)Theruntapesamanda.confoption must be set to 1 if thetpchangeramanda.confoption is not set.
ERROR: error message.
(error)An error was detected while initializing the tape changer.
ERROR: tape device: error message.
(error)An error was detected while processing the tape label.
ERROR: cannot overwrite active tape label.
(error)Tapelabelis still active and cannot be used.
ERROR: label label doesn't match labelstr "pattern".
(error)The label on tapelabeldoes not match thelabelstramanda.confoption.
(expecting a new tape)
(info)The tape is not OK and a new tape was expected.
(expecting tape label or a new tape)
(info)The tape is not OK and either tapelabelor a new tape was expected.
ERROR: tape label label ok, but is not writable.
(error)Tapelabelis OK, but the write enable test failed.
Tape label is writable.
(info)Tapelabelis OK and the write enable test succeeded.
NOTE: skipping tape-writable test.
(info)The tape write test (see the-woption) was not enabled.
Tape label label ok.
(info)Tapelabelis OK for the nextrun.
Index dir "directory" doesn't exist or is not writable.
(warning)The directory used to collect backup index files(from theindexdiramanda.confoption)is not accessible.
Server check took S seconds.
(info)Reports how long the tape server host checks took.
ERROR: host: couldn't resolve hostname
(error)Could not look up backup client hostnamehost.
Client check: H hosts checked in S seconds, N problems found.
(info)Reports the number of backup client hosts checked,how long it took and the number of errors detected.
WARNING: host: selfcheck request timed out. Host down?
(warning)There was no response fromhostwhen trying to do the client checks.
ERROR: host NAK: message
(error)Hostreported a negative acknowledgment error ofmessageto the status check request.
ERROR: host NAK: [NAK parse failed]
(error)Amcheckcould not parse the negative acknowledgment error fromhost.There might be an Amanda version mismatch between the host runningamcheckandhost.
ERROR: host [mutual-authentication failed]
(error)Kerberos authentication failed while contactinghost.
ERROR: host: message
(error)Errormessagewas reported by the status check onhost.
 

AUTHOR

James da Silva <jdsAATTcs.umd.edu>
University of Maryland, College Park 

SEE ALSO

amanda(8),amdump(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
MESSAGES
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector