PDA

View Full Version : HELP! Changer problem: could not read result from "/usr/lib/amanda/chg-disk": Success



Michael
April 24th, 2007, 11:00 AM
Hello,

I am all new to Amanda and I am using the 2.6 version with web console.
What I want to do is to backup a directory c:/temp on Windows PC called "w99.kanzlei".

So I first installed the windows client on the PC. This worked all fine and I defined a backup set on the Linux (FC6) server called "w99.kanzlei" with this one directory to backup.

The "Verify" checks on the web console say everything is ok, but when I do a amcheck on the prompt it says:

sh-3.1$ amcheck w99.kanzlei
Amanda Tape Server Host Check
-----------------------------
Changer problem: could not read result from "/usr/lib/amanda/chg-disk": Success
changer problem: could not read result from "/usr/lib/amanda/chg-disk": Success (expecting a new tape)
NOTE: host info dir /etc/amanda/w99.kanzlei/curinfo/w99.kanzlei does not exist
NOTE: it will be created on the next run.
NOTE: index dir /etc/amanda/w99.kanzlei/index/w99.kanzlei does not exist
NOTE: it will be created on the next run.
Server check took 0.011 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.219 seconds. 0 problems found.

(brought to you by Amanda 2.6.0)


When I now launch a backup, it says:


DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-MB OUT-MB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- ------------------------------------- -------------
w99.kanzlei c:/temp 0 FAILED --------------------------------------------


STATISTICS:
Total Full Incr.
-------- -------- --------
Estimate Time (hrs:min) 0:00
Run Time (hrs:min) 0:00
Dump Time (hrs:min) 0:00 0:00 0:00
Output Size (meg) 0.0 0.0 0.0
Original Size (meg) 0.0 0.0 0.0
Avg Compressed Size (%) -- -- --
Filesystems Dumped 0 0 0
Avg Dump Rate (k/s) -- -- --

Tape Time (hrs:min) 0:00 0:00 0:00
Tape Size (meg) 0.0 0.0 0.0
Tape Used (%) 0.0 0.0 0.0
Filesystems Taped 0 0 0

Chunks Taped 0 0 0
Avg Tp Write Rate (k/s) -- -- --



USAGE BY TAPE:

FAILURE SUMMARY:
w99.kanzlei c:/temp lev 0 FAILED [can't switch to incremental dump]


FAILURE DETAILS:
STRANGE SUMMARY:
STRANGE DETAILS:
NOTES:
planner: Adding new disk w99.kanzlei:c:/temp.
taper: changer problem: could not read result from "/usr/lib/amanda/chg-disk": Success


What is this "changer problem"?
I am using the template "HARDDISK", without a holding disk.

the /etc/amanda/w99.kanzlei/amanda.conf looks like this:

org "w99.kanzlei" # your organization name for reports
mailto "amandabackup" # space separated list of operators at your site
dumpcycle 1 week # the number of days in the normal dump cycle
runspercycle 5 # the number of amdump runs in dumpcycle days
# (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 25 tapes # the number of tapes in rotation
# 4 weeks (dumpcycle) times 5 tapes per week (just
# the weekdays) plus a few to handle errors that
# need amflush and so we do not overwrite the full
# backups performed at the beginning of the previous
# cycle
runtapes 1 # number of tapes to be used in a single run of amdump
tpchanger "chg-disk" # the tape-changer glue script
tapedev "file://var/lib/amanda/vtapes/w99.kanzlei" # the no-rewind tape device to be used
changerfile "/etc/amanda/w99.kanzlei/changer.conf"
changerdev "/dev/null"
tapetype HARDDISK # what kind of tape it is
labelstr "^w99.kanzlei-[0-9][0-9]*$" # label constraint regex: all tapes must match
dtimeout 1800 # number of idle seconds before a dump is aborted.
ctimeout 30 # maximum number of seconds that amcheck waits
# for each client host
etimeout 300 # number of seconds per filesystem for estimates.

define dumptype global {
comment "Global definitions"
auth "bsdtcp"
}

define dumptype gui-base {
global
program "GNUTAR"
comment "gui base dumptype dumped with tar"
compress none
index yes
}

includefile "./advanced.conf"
includefile "/etc/amanda/template.d/dumptypes"
includefile "/etc/amanda/template.d/tapetypes"

What am I doing wrong here?

Thank you in advance

Michael

paddy
April 24th, 2007, 01:50 PM
Hello,

I am all new to Amanda and I am using the 2.6 version with web console.
What I want to do is to backup a directory c:/temp on Windows PC called "w99.kanzlei".
l

It appears you are using Amanda enterprise edition 2.6. Please use Zmanda Network to get support help for your problems.

Thanks,
Paddy