Amanda-Users

Re: [Amanda-users] tape spanning config not using holding disk?

2008-07-26 23:05:17
Subject: Re: [Amanda-users] tape spanning config not using holding disk?
From: Ian Turner <ian AT zmanda DOT com>
To: amanda-users AT amanda DOT org
Date: Sat, 26 Jul 2008 22:59:42 -0400
Mtrento,

There are a few different issues here:

1. Setting tape_splitsize affects the way dumps are broken up when writing to 
tape, but does not affect they way they are stored on the holding disk. So 
dumps will still be done directly if they are larger than the holding disk, 
even if you have configured a tape_splitsize.

2. With tapes, the tapelength parameter is used only to predict how much data 
a tape will accomodate. Once Amanda has started writing to tape, there is no 
reason to stop as long as more space remains and more data is available to 
write. Amanda will go on until reaching end-of-tape or until everything has 
backed up, and stop only then. Depending on a variety of factors, this could 
be more or less (even considerable more or less) than the manufacturer's 
claim or than whatever you have set as tapelength.

Cheers,

--Ian

On Thursday 24 July 2008 17:04:42 Mtrento wrote:
> hello everybody.
> im running amanda 2.6.0P1
> and i try to backup a DLE bigger than my LTO4 tape.
> (850GB DLE on a 800 GB LTO4 TAPE)
>
> when the backup starts , the amdump log says that there's not enough
> holding disk space and it dump directly to tape.
>
> i'am surprised because i defined a tape_splitsize as defined in the manual.
>
> another weird thing i noticed in the amdump log. the tapelengt is about
> twice as big as my tape definition (1581252608 KB VS 772096 mbytes)
>
> Is it a normal behavior?
>
> here's a sample of my amanda.conf
>
>
>
> &nbsp;holdingdisk hd1 &#123;
> &nbsp; &nbsp; &nbsp; &nbsp; comment "Temporary holding space"
> &nbsp; &nbsp; &nbsp; &nbsp; directory "/var/tmp/amanda"
> &nbsp; &nbsp; &nbsp; &nbsp; use -5000 MB # use all but 5gb
> &nbsp; &nbsp; &nbsp; &nbsp; chunksize 2Gb
> &nbsp; &nbsp;&#125;
>
> define tapetype HP-ULTRIUM4 &#123;
> &nbsp; &nbsp; comment "HP Ultrium 4-SCSI &#40;compression off&#41;"
> &nbsp; &nbsp; length 772096 mbytes
> &nbsp; &nbsp; filemark 0 kbytes
> &nbsp; &nbsp; speed 75283 kps
> &#125;
>
>
> define dumptype root-tar &#123;
> program "GNUTAR"
> compress none
> tape_splitsize 2Gb
> fallback_splitsize&nbsp; &nbsp; &nbsp; 256M
> split_diskbuffer "/var/tmp/amanda"
> comment "root partition dump with tar"
> index yes
> dumpcycle 0
> exclude list "/etc/amanda/fullbackup/fullbackup.exclude"
> priority high
> auth "bsdtcp"
> holdingdisk yes
> estimate calcsize
> &#125;
>
>
>
>
>
> part of amdump log
>
>
> DELAYING DUMPS IF NEEDED, total_size 855334735, &#91;b&#93;tape length
> 1581252608 &#91;/b&#93;mark 0 &nbsp; delay&#58; Total size now 855334735.
>
> PROMOTING DUMPS IF NEEDED, total_lev0 855334639, balanced_size 855334639...
> planner&#58; time 1.306&#58; analysis took 0.000 secs
>
> GENERATING SCHEDULE&#58;
> --------
> DUMP bkplin01 ffffffff9ffeffffffff00 /data 20080724112225 3 0
> 1970&#58;1&#58;1&#58;0&#58;0&#58;0 855334639 855334639 0 4330054624 1
> 2008&#58;7&#58;23&#58;8&#58;51&#58;27 420 420 0 1024 --------
> taper&#58; using label `FULLBACK-03' date `20080724112225'
> driver&#58; result time 11.038 from taper&#58; TAPER-OK
> driver&#58; state time 11.038 free kps&#58; 100000 space&#58; 37982208
> taper&#58; idle idle-dumpers&#58; 4 qlen tapeq&#58; 0 runq&#58; 0
> roomq&#58; 0 wakeup&#58; 0 driver-idle&#58; not-idle driver&#58;
> interface-state time 11.038 if default&#58; free 100000 driver&#58;
> hdisk-state time 11.038 hdisk 0&#58; free 37982208 dumpers 0 driver&#58;
> flush size 0
> find diskspace&#58; not enough diskspace. Left with 817353088 K
> driver&#58; dumping bkplin01&#58;/data directly to tape
>
>
>
> +----------------------------------------------------------------------
>
> |This was sent by mtrento AT yahoo DOT com via Backup Central.
> |Forward SPAM to abuse AT backupcentral DOT com.
>
> +----------------------------------------------------------------------
-- 
Wiki for Amanda documentation: http://wiki.zmanda.com/

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