I recently replaced my amanda server with a new machine but managed to move
all indices and databases with it. I did go from FreeBSD to Linux but all
changer scripts and tape devices are configured properly and working. The
problem I'm having is that I'm getting
... FAILED [Estimate timeout from ...
On some machines it fails for all filesystems and for others only on one or
two filesystems, while on others all filesystems are backed up. I've
checked the sendsize report and see that the estimates are being
generated well within my etimeout (1200) setting in amanda.conf.
I'm using the recommended version of tar:
$ /usr/bin/gtar --version
tar (GNU tar) 1.13.25
and the estimate process exits normally (the error in this case is
with /usr ):
sendsize[58347]: time 0.002: calculating for amname '/usr', dirname '/usr',
spindle -1
sendsize[58347]: time 0.002: getting size via gnutar for /usr level 0
sendsize[58347]: time 0.002: spawning /usr/local/amanda/libexec/runtar in
pipeline
sendsize[58347]: argument list: /usr/bin/gtar --create --file /dev/null
--directory /usr --one-file-system --listed-incremental
/usr/local/amanda/var/gnutar-lists/dhcp.hf.utexas.edu_usr_0.new --sparse
--ignore-failed-read --totals .
sendsize[58347]: time 6.206: /usr/bin/gtar:
./local/amanda/var/gnutar-lists/dhcp.hf.utexas.edu_dhcpd_1.new: Warning:
Cannot stat: No such file or directory
sendsize[58347]: time 461.749: Total bytes written: 5500907520 (5.1GB, 11MB/s)
sendsize[58347]: time 461.795: .....
sendsize[58347]: estimate time for /usr level 0: 461.793
sendsize[58347]: estimate size for /usr level 0: 5371980 KB
sendsize[58347]: time 461.796: waiting for /usr/bin/gtar "/usr" child
sendsize[58347]: time 461.796: after /usr/bin/gtar "/usr" wait
sendsize[58347]: time 461.825: getting size via gnutar for /usr level 1
sendsize[58347]: gnutar: error opening
/usr/local/amanda/var/gnutar-lists/dhcp.hf.utexas.edu_usr_0: No such file
or directory
sendsize[58347]: time 461.852: spawning /usr/local/amanda/libexec/runtar in
pipeline
sendsize[58347]: argument list: /usr/bin/gtar --create --file /dev/null
--directory /usr --one-file-system --listed-incremental
/usr/local/amanda/var/gnutar-lists/dhcp.hf.utexas.edu_usr_1.new --sparse
--ignore-failed-read --totals .
sendsize[58347]: time 960.593: Total bytes written: 5500907520 (5.1GB, 10MB/s)
sendsize[58347]: time 960.633: .....
sendsize[58347]: estimate time for /usr level 1: 498.781
sendsize[58347]: estimate size for /usr level 1: 5371980 KB
sendsize[58347]: time 960.633: waiting for /usr/bin/gtar "/usr" child
sendsize[58347]: time 960.633: after /usr/bin/gtar "/usr" wait
sendsize[58347]: time 960.668: done with amname '/usr', dirname '/usr',
spindle -1
sendsize[58344]: time 960.711: child 58347 terminated normally
not sure about the "No such file or directory" errors although they happen
for other filesystems where the estimate was successful and the filesystem
was backed up.
Here's the amstatus report for this machine:
dhcp.hf.utexas.edu:/ 1 1m finished (3:55:38)
dhcp.hf.utexas.edu:/dhcpd 1 22m finished (3:54:38)
dhcp.hf.utexas.edu:/usr 0 planner: [disk /usr, all estimate timed out]
Nothing is NFS mounted, amcheck doesn't report any problems.
Oscar
|