Amanda-Users

all estimates failed for gnutar

2004-10-08 14:23:27
Subject: all estimates failed for gnutar
From: Fernan Aguero <fernan AT iib.unsam.edu DOT ar>
To: amanda-users AT amanda DOT org
Date: Fri, 8 Oct 2004 15:15:19 -0300
Hi!

I've just installed amanda-2.4.4p2 on a couple of
FreeBSD-4.10 machines, and everything is going well, except
for one partition (the holding disk).

The holding disk space is in /scratch/amanda. I want to
backup /scratch but not /scratch/amanda, so I've decided to
use gnutar for this. 

The problem is that amanda it's always failing to estimate
the size for this disklist entry (DLE).

This is from log.20041008.0
FAIL planner pi /scratch 20041008 0 [disk /scratch, all estimate failed]

This is from amdump.1
planner: time 0.112: setting up estimates for pi:/scratch
pi:/scratch overdue 12699 days for level 0
setup_estimate: pi:/scratch: command 0, options:
    last_level -1 next_level0 -12699 level_days 0
    getting estimates 0 (0) -1 (-1) -1 (-1)
...
planner: time 141.610: got result for host pi disk /scratch: 0 -> -1K, -1 -> 
-1K, -1 -> -1K
...
FAILED QUEUE:
  0: pi         /scratch
  

If I set myself to manually estimate the size of the DLE, I
get the following:

/usr/local/libexec/amanda/runtar --create --file /dev/null \
--one-file-system --sparse --ignore-failed-read --totals \
--directory /scratch/ --exclude-from /home/amanda/scratch_exclude .
Total bytes written: 5138913280 (4.8GiB, 340MiB/s)

So I see no problem here ... the size it's also fine (I'm
using 20/40 Gb DDS-4 tapes).

I already waited a whole dumpcycle for all partitions to be
accomodated. Maybe there's something wrong with my
dumptype/DLE?

DLE:
pi /scratch holding-disk-tar 2 local

dumptype:
define dumptype holding-disk-tar {
        global
        program "GNUTAR"
        comment "The master-host holding disk itself, using tar"
        holdingdisk yes
        priority medium
        exclude list "/home/amanda/scratch_exclude"
}

Thanks in advance for any suggestion,

Fernan

-- 
Fernan Aguero -  fernan at iib.unsam.edu.ar
Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639
Check http://genoma.unsam.edu.ar/~fernan for more info.