Amanda-Users

size of level 1 equal to size of level 0

2007-01-31 01:39:50
Subject: size of level 1 equal to size of level 0
From: Toomas Aas <toomas.aas AT raad.tartu DOT ee>
To: amanda-users AT amanda DOT org
Date: Wed, 31 Jan 2007 08:27:53 +0200
Hello!

First, the system details:
FreeBSD 6.2-RELEASE
Amanda 2.5.1p2
GNU tar 1.16
All DLEs use GNU tar for backup

I noticed a strange problem today with this rather new Amanda setup. Yesterday, 
a level 0
backup was done of one particular DLE. This DLE is ca 50 GB in size, which 
compresses
to ca 40 GB. Today's amdump run started doing level 1 of this same DLE and 
wrote ca 35 GB,
at which point the HDD holding vtapes ran out of space.

Level 1 backup of this particular DLE definitely shouldn't be so big. I looked 
at sendsize.debug
and noticed an interesting problem. The estimates for level >0 backups for all 
DLEs are the same
size as estimates for level 0.

On previous night's amdump run, this problem did not happen - estimates for 
incremental backups
were noticeably smaller than level 0.

I noticed  an interesting warning message about gnutar_calc_estimates in 
sendsize.debug, but
this was also present in sendsize.debug for these amdump runs that didn't have the 
"incremental
equal to full" problem. So I'm not sure if this is the problem at all.

Below is the snippet of sendsize.debug for one DLE, which shows level 1 
estimated as big as
level 0. I'd appreciate any ideas regarding what might be the reason for this.

sendsize[11170]: time 0.636: calculating for amname /storage, dirname /storage, 
spindle 1
sendsize[11170]: time 0.636: getting size via gnutar for /storage level 0
sendsize[11170]: time 0.658: spawning /usr/local/libexec/amanda/runtar in 
pipeline
sendsize[11170]: argument list: runtar BACKUP /usr/local/bin/gtar --create --file /dev/null --directory /storage --one-file-system --listed-incremental /var/amanda/gnutar-lists/server.domain.ee_storage_0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendsize._storage.20070131052001.exclude .
sendsize[11170]: time 139.437: Total bytes written: 51728097280 (49GiB, 
357MiB/s)
sendsize[11170]: time 139.440: .....
sendsize[11170]: estimate time for /storage level 0: 138.782
sendsize[11170]: estimate size for /storage level 0: 50515720 KB
sendsize[11170]: time 139.440: waiting for runtar "/storage" child
sendsize[11170]: time 139.440: after runtar /storage wait
gnutar_calc_estimates: warning - seek failed: Illegal seek
sendsize[11170]: time 139.441: getting size via gnutar for /storage level 1
sendsize[11170]: time 139.905: spawning /usr/local/libexec/amanda/runtar in 
pipeline
sendsize[11170]: argument list: runtar BACKUP /usr/local/bin/gtar --create --file /dev/null --directory /storage --one-file-system --listed-incremental /var/amanda/gnutar-lists/server.domain.ee_storage_1.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendsize._storage.20070131052220.exclude .
sendsize[11170]: time 206.462: Total bytes written: 51728097280 (49GiB, 
745MiB/s)
sendsize[11170]: time 206.468: .....
sendsize[11170]: estimate time for /storage level 1: 66.563
sendsize[11170]: estimate size for /storage level 1: 50515720 KB
sendsize[11170]: time 206.468: waiting for runtar "/storage" child
sendsize[11170]: time 206.468: after runtar /storage wait
gnutar_calc_estimates: warning - seek failed: Illegal seek
sendsize[11170]: time 206.468: done with amname /storage dirname /storage 
spindle 1


<Prev in Thread] Current Thread [Next in Thread>