I'm using amanda 3.3.0 as distributed with Ubuntu 12.04.5 LTS. Amanda has been working just fine for several years but just a month or so ago I started getting a strange error. The backup report indicates that "the dumps did not finish properly" and in the Dump Summary the ORIG-KB file says "MISSING".

Backups go to a properly configured hard drive and I note that the behavior of the process is a bit strange. A proper, writable (by the amanda process) subdirectory is created in /var/cache/amanda/<config>/ but this isn't used. Instead, amanda is writing directly to the backup hard drive, and I can observe the backup file growing as data is fed from the remote system being backed up.

amdump issues the error, to email, well before the write to the backup is complete.

amstatus shows:


Using /var/log/amanda/MitraHomes/amdump
From Wed Jul 22 14:42:37 CDT 2015

mitra-vpn.fmp.com:/homes/cust 0 37205048k dumping to tape (657760k done (1.77%)) (14:43:15)

SUMMARY part real estimated
size size
partition : 1
estimated : 1 37205048k
flush : 0 0k
failed : 0 0k ( 0.00%)
wait for dumping: 0 0k ( 0.00%)
dumping to tape : 1 657760k 37205048k ( 1.77%) (100.00%)
dumping : 0 0k 0k ( 0.00%) ( 0.00%)
dumped : 0 0k 0k ( 0.00%) ( 0.00%)
wait for writing: 0 0k 0k ( 0.00%) ( 0.00%)
wait to flush : 0 0k 0k (100.00%) ( 0.00%)
writing to tape : 0 0k 0k ( 0.00%) ( 0.00%)
failed to tape : 0 0k 0k ( 0.00%) ( 0.00%)
taped : 0 0k 0k ( 0.00%) ( 0.00%)
tape 1 : 0 0k 0k ( 0.00%) MITRA_HOMES05
3 dumpers idle : no-dumpers
taper status: Writing mitra-vpn.fmp.com:/homes/cust
taper qlen: 0
network free kps: 371
holding space : 30720000k (100.00%)
dumper1 busy : 0:00:00 ( 0.00%)
0 dumpers busy : 0:00:40 ( 64.24%) not-idle: 0:00:38 ( 95.77%)
no-diskspace: 0:00:01 ( 4.23%)
1 dumper busy : 0:00:22 ( 35.76%) no-dumpers: 0:00:22 (100.00%)

The "dumping to tape" percentage continues to increment. The error "no-diskspace" is spurious. Both the holding cache and the backup HD have plenty of space available and permissions are correct.

The error email, sent while amanda is still writing the backup file, is:

*** THE DUMPS DID NOT FINISH PROPERLY!

Hostname: janus
Org : Mitra Homes Backup
Config : MitraHomes
Date : July 22, 2015

These dumps were to tape MITRA_HOMES04.
The next 2 tapes Amanda expects to use are: MITRA_HOMES05, MITRA_HOMES01.


STATISTICS:
Total Full Incr. Level:#
-------- -------- -------- --------
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 (%) -- -- --
DLEs 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
DLEs Taped 0 0 0
Parts Taped 0 0 0
Avg Tp Write Rate (k/s) -- -- --

USAGE BY TAPE:
Label Time Size % DLEs Parts
MITRA_HOMES04 0:50 5019376K 16.0 1 1

NOTES:
planner: Last full dump of mitra-vpn.fmp.com:/homes/cust on tape MITRA_HOMES01 overwritten in 1 run.


DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- ------------------------------------- -------------
mitra-vpn.fm /homes/cust MISSING -------------------------------------------