Amanda-Users

Re: Backup over 2 tapes

2005-02-23 08:21:17
Subject: Re: Backup over 2 tapes
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Madhvi Gokool" <madhvin AT yahoo DOT com>
Date: Wed, 23 Feb 2005 08:11:26 -0500
On Wednesday 23 February 2005 07:18, Madhvi Gokool wrote:
>Hello
>I have not set reserved . I have about 50GB holding disk and the
> /terrasky is abouit 7GB.
>
>Will set reserved and test the backup again tomorrow.

With 50GB, you could set it to 30% easily.  That would leave 15GB for 
incrementals.  I also put this back on the list as its potentially 
educational to others.

To everyone in general, I'm subscribed, please do not send me private 
emails in reply to a public post to the list unless its a comment 
that shouldn't be made on the list by either of us.

Keeping it on the list allows folks to see both the original problem, 
and its resolution if its resolved.  Taking it offlist only cheats 
the users who may search the archives for an answer before posting 
copy # 17,917 of the same question.

>Regards
>madhvi
>----- Original Message -----
>From: "Gene Heskett" <gene.heskett AT verizon DOT net>
>To: <amanda-users AT amanda DOT org>
>Sent: Wednesday, February 23, 2005 3:51 PM
>Subject: Re: Backup over 2 tapes
>
>> On Wednesday 23 February 2005 02:23, Madhvi Gokool wrote:
>> >Hello
>> >
>> >My weeekly backup spans two tapes  and I change tapes manually.
>> >When I run amdump WeeklySet1, here is an excerpt of the log
>> >DISK planner sa01 /terrasky
>> >DISK planner sa01 /dev/md0
>> >DISK planner sa01 /dev/md2
>> >DISK planner sa01 /usr/local/etc/amanda
>> >SUCCESS dumper sa01 /usr/local/etc/amanda 20050222 0 [sec 0.316
>> > kb 115 kps 363.3 orig-kb 820]
>> >SUCCESS taper sa01 /usr/local/etc/amanda 20050222 0 [sec 1.646 kb
>> > 160 kps 97.2 {wr: writers 5 rdwait 0.000 wrwait 0.036 filemark
>> > 1.609}] SUCCESS dumper sa01 /dev/md2 20050222 0 [sec 36.745 kb
>> > 152650 kps 4154.2 orig-kb 152650]
>> >SUCCESS dumper sa01 /dev/md0 20050222 0 [sec 56.615 kb 308100 kps
>> > 5441.9 orig-kb 308100]
>> >SUCCESS taper sa01 /dev/md2 20050222 0 [sec 68.445 kb 152704 kps
>> > 2231.0 {wr: writers 4772 rdwait 7.577 wrwait 59.433 filemark
>> > 1.305}]
>> >SUCCESS taper sa01 /dev/md0 20050222 0 [sec 283.949 kb 308160 kps
>> > 1085.3 {wr: writers 9630 rdwait 0.320 wrwait 281.870 filemark
>> > 1.427}] SUCCESS dumper sa01 /terrasky 20050222 0 [sec 1508.775
>> > kb 2412431 kps 1598.9 orig-kb 7055670]
>> >FAIL taper sa01 /terrasky 20050222 0 [out of tape]
>> >
>> >When I insert the second tape and run amflush,
>> >/terrasky is not being backed up ( In fact it is not even present
>> > on the holding disk
>> >[amanda@sa01 WeeklySet1]$ ls -ali
>> > /terrasky/amandaholdingdisk/20050222 total 7236212

I see my error now, I took the date to be the size of 20GB.  My bad.

>> >1294514 drwx------    2 amanda   disk         4096 Feb 23 01:23 .
>> >  65537 drwxr-xr-x    4 amanda   root         4096 Feb 23 10:16
>> > .. 1294528 -rw-------    1 amanda   disk     1073741824 Feb 22
>> > 11:33 sa03._terrasky_tslibrary__gh.0
>> >1294529 -rw-------    1 amanda   disk     1073741824 Feb 22 11:39
>> >sa03._terrasky_tslibrary__gh.0.1
>> >1294530 -rw-------    1 amanda   disk     1073741824 Feb 22 11:48
>> >sa03._terrasky_tslibrary__gh.0.2
>> >1294531 -rw-------    1 amanda   disk     566267831 Feb 22 11:51
>> >sa03._terrasky_tslibrary__gh.0.3
>> >1294526 -rw-------    1 amanda   disk     1073741824 Feb 22 11:10
>> >sa03._terrasky_tslibrary__qr.0
>> >1294518 -rw-------    1 amanda   disk     1073741824 Feb 22 11:16
>> >sa03._terrasky_tslibrary__qr.0.1
>> >1294519 -rw-------    1 amanda   disk     1073741824 Feb 22 11:23
>> >sa03._terrasky_tslibrary__qr.0.2
>> >1294527 -rw-------    1 amanda   disk     393890584 Feb 22 11:25
>> >sa03._terrasky_tslibrary__qr.0.3
>> >
>> >How can I resolve this problem as I now have an incomplete weekly
>> > backup. Regds
>> >Madhvi
>>
>> My guess is that you have not specified a reserved=50% (or
>> thereabouts) in the holding disk section of your amanda.conf, or
>> that you need additional holding disk.  And since the action for a
>> dle thats larger than the free % of the holding disk is to go
>> straight to tape, the holding disk area wasn't used at all, or it
>> was summarily deleted at EOT detection.  If the reserved is not
>> set, the default is to reserve 100% for incrementals only.  I see
>> that you are using a disklist that results in some pretty large
>> dle's of 3.5 and 3.7GB for the two listed as level 0's.  You would
>> make amanda's schedueling job a lot simpler if they were further
>> broken up into < 1 GB pieces by using tar which can do subdirs and
>> such.
>>
>> So 3 questions:
>>
>> How big is a level 0 the dle? (disklist entry)
>>
>> How big is the holding disk?  The 20GB I see above, with 7.25GB
>> used for the pair of level 0's still sitting in it?  If thats the
>> case, then obviously you do have reserved set since it did leave
>> level 0's sitting in it, but to too large a percentage.  I have
>> about 26GB, and a reserved = 30%
>>
>> How much of your holding disk is reserved?
>>
>> --
>> Cheers, Gene
>> "There are four boxes to be used in defense of liberty:
>>  soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author)
>> 99.34% setiathome rank, not too shabby for a WV hillbilly
>> Yahoo.com attorneys please note, additions to this message
>> by Gene Heskett are:
>> Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

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