All,

I am unable to back anything up because 'taper' seems to hang for hours.
When I run 'amcheck' I am told that there aren't any problems. When I
run 'amdump' the process runs for two hours before quitting. The report
that amanda emailed to me said 'FAILED' under 'TAPER STATS'. I did 'mt
tell' on my 'Daily1' tape before running 'amdump' and was told that the
tape was at block 64. After 'amdump' runs, 'mt tell' says that the tape
is at block 0. Should 'amdump' be rewinding the tape to a point before
the label? If I run 'amcheck' after the dump finishes, I am told that
the tape is not a valid amanda tape. Error logs in '/tmp/amanda/' don't
seem to give any insight. I do have a file called
'backup.xxx.xxx._backup-test_.0' in the direcotry
'/data/amanda/20020702'. It seems that the files are getting tared but
they aren't written to the tape.

I pushed 'ctrl+c' while 'amdump' was running and noticed that 'taper
daily' was still running. I tried to 'kill -9' it but nothing happened.
I then ran 'gdb /usr/local/libexec/taper 14247' and didn't get any
output. I tried to 'ctrl+c' and 'ctrl+z' out of it and couldn't. I ended
up rebooting because the process had '/dev/nht0' open.

Anyone know what I am doing wrong? To give a better idea of my setup, I
put a copy of my amanda.conf and disklist below. Hope this is enough
info. Any and all suggestions are needed and will be appreciated.

***** amcheck output *****

amanda@backup:~$ amcheck daily       
Amanda Tape Server Host Check
-----------------------------
Holding disk /data/amanda: 62548696 KB disk space available, using
62548696 KB
NOTE: skipping tape-writable test
Tape Daily1 label ok

Server check took 8.364 seconds

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

(brought to you by Amanda 2.4.2p2)

***** amcheck -w *****

amanda@backup:~$ amcheck -w daily
Amanda Tape Server Host Check
-----------------------------
Tape Daily1 is writable
Tape Daily1 label ok
Server check took 4.700 seconds

(brought to you by Amanda 2.4.2p2)

***** Command I typed to start amdump *****

amanda@backup:~$ amdump daily &

***** process table snipit for the amanda user *****

\_ /bin/sh /usr/local/sbin/amdump daily
|   \_ /usr/local/libexec/driver daily
|       \_ taper daily
|       |   \_ taper daily
|       \_ dumper daily
|       \_ dumper daily
|       \_ dumper daily
|       \_ dumper daily

***** taper hung after 'ctrl+c' *****
backup:/usr/local/etc/amanda/daily# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
amanda   14247  0.0  0.3  2732  900 pts/0    D    13:22   0:00 taper
daily

***** My Amanda Config *****

backup:/usr/local/etc/amanda/daily# cat amanda.conf 
org "Amanda Daily"
mailto "root"
dumpuser "amanda"
inparallel 4
netusage  300 Kbps
dumpcycle 7 days
runspercycle 5
tapecycle 8 tapes
bumpsize 20 Mb
bumpdays 1
bumpmult 4
etimeout 300
dtimeout 600
ctimeout 30
tapebufs 20
runtapes 1
#tpchanger "chg-manual"
tapedev "/dev/nht0"

# tapetype section
tapetype Seagate_Travan_20
labelstr "^Daily[0-9][0-9]*"

# holding disks
holdingdisk data {
        directory       "/data/amanda"
}

columnspec
"HostName=1:10,Disk=1:10,Compress=1:10,DumpRate=1:10,DumpTime=1:10,OrigK
B=1:10,OutKB=1:10,TapeRate=1:10,TapeTime=1:10"
infofile        "/var/log/amanda/curinfo"
logdir          "/var/log/amanda"
indexdir        "/var/log/amanda/index"

# tapetypes
define tapetype Seagate_Travan_20 {
    length 219344 kbytes
    filemark 0 kbytes
    speed 57 kps
}

# dumptypes
define dumptype server-full {
        compress server best
        index yes
        record yes
        program "GNUTAR"
        exclude list "/usr/local/etc/amanda/exclude.gtar"
}


# network interfaces
define interface eth0 {
        comment "eth0"
        use 400 Kbps
}

***** My Disklist File *****

backup:/usr/local/etc/amanda/daily# cat disklist 
# Backup
backup.xxx.xxx /backup-test/ server-full

--Cassidy Kern

Reply via email to