Amanda-Users

Re: Using only one tape, full dump delayed

2003-02-27 12:16:37
Subject: Re: Using only one tape, full dump delayed
From: Gene Heskett <gene_heskett AT iolinc DOT net>
To: forster AT bluemail DOT ch, amanda-users AT amanda DOT org
Date: Thu, 27 Feb 2003 10:36:05 -0500
On Thu February 27 2003 04:20, forster AT bluemail DOT ch wrote:
>Hi all
>
>amanda keeps using only one tape per day but always delays full
> dump for the same disk
>(/dev/dsk/c0t0d0s0    8758612 6866287 1804739    80%    /ora)

If the above is in bytes, I'm stumped, if its in kilobytes, it looks 
as if its too big for one tape at 8,758.612 megs.

Since amanda cannot span a single DLE across more than 1 tape, she 
is apparently refusing to do it.

You will need to break that DLE down into subdir listings, such as, 

/dev/dsk/c0t0d0s0/home
/dev/dsk/c0t0d0s0/etc
/dev/dsk/c0t0d0s0/whatever

in order to get its present estimated size of 8,758,612 broken down 
into pieces that will fit on a tape.  Then when it hits EOT while 
writing one of the smaller DLE's, it should unload that tape, load 
the next and restart that unfinished DLE from its beginning on the 
next tape.

If it refuses to do the smaller entries, then there must be a 
permissions problem of some kind.  From the other warnings issued 
it looks as if you are doing samba shares instead of installing the 
amanda clients on those machines. I tried that for about a month, 
and gave up on using samba which has gotchas going clear back to 
dos days.  I was backing up everything every time, wasting lots of 
tape space because it doesn't support the file time data in a 
compatible way.

>Why cant it use a second tape?
>
>There are 6 Tapes in the changer;
>dumpcycle 1 weeks
>runspercycle 5
>tapecycle 6 tapes
>runtapes 3
>
>tapetype SURESTORE-1200E
>
>define tapetype SURESTORE-1200E {
>    comment "HP AutoLoader"
>    length 3900 mbytes
>    filemark 100 kbytes
>    speed 500 kbytes
>}
>What's wrong whith it?
>
>Cheers
>Urs
>
>Here's the amanda report:
>----------------
>These dumps were to tape Daily-06.
>The next 3 tapes Amanda expects to used are: Daily-01, Daily-02,
> Daily-03.
>
>FAILURE AND STRANGE DUMP SUMMARY:
>  pbrazor1.t /var lev 0 STRANGE
>  pbrazor1.t /razor lev 0 STRANGE
>
>
>STATISTICS:
>                          Total       Full      Daily
>                        --------   --------   --------
>Estimate Time (hrs:min)    0:06
>Run Time (hrs:min)        12:44
>Dump Time (hrs:min)       13:02       1:43      11:18
>Output Size (meg)        8414.6     1594.8     6819.8
>Original Size (meg)     13959.4     3912.7    10046.7
>Avg Compressed Size (%)    60.3       40.8       67.9  
> (level:#disks ...) Filesystems Dumped           12         10    
>      2   (1:1 2:1) Avg Dump Rate (k/s)       183.7      263.3    
>  171.6
>
>Tape Time (hrs:min)       11:51       0:33      11:18
>Tape Size (meg)          8415.1     1595.2     6819.8
>Tape Used (%)             215.8       40.9      174.9  
> (level:#disks ...) Filesystems Taped            12         10    
>      2   (1:1 2:1) Avg Tp Write Rate (k/s)   202.0      834.0    
>  171.6
>
>FAILED AND STRANGE DUMP DETAILS:
>
>/-- pbrazor1.t /var lev 0 STRANGE
>sendbackup: start [pbrazor1.tszrh.csfb.com:/var level 0]
>sendbackup: info BACKUP=/usr/local/bin/gtar
>sendbackup: info RECOVER_CMD=/usr/local/bin/gzip -dc
> |/usr/local/bin/gtar -f... -
>sendbackup: info COMPRESS_SUFFIX=.gz
>sendbackup: info end
>? gtar: ./cron/olog: file changed as we read it
>? gtar: ./tmp/wsconAAAkITF9_:0.0: file changed as we read it
>
>| Total bytes written: 193341440
>
>? gtar: Error exit delayed from previous errors
>??error [/usr/local/bin/gtar returned 2]? dumper: strange [missing
> size line from sendbackup]
>? dumper: strange [missing end line from sendbackup]
>\--------
>
>/-- pbrazor1.t /razor lev 0 STRANGE
>sendbackup: start [pbrazor1.tszrh.csfb.com:/razor level 0]
>sendbackup: info BACKUP=/usr/local/bin/gtar
>sendbackup: info RECOVER_CMD=/usr/local/bin/gzip -dc
> |/usr/local/bin/gtar -f... -
>sendbackup: info COMPRESS_SUFFIX=.gz
>sendbackup: info end
>? gtar: ./apache/logs/access_log: file changed as we read it
>
>| Total bytes written: 937625600
>
>? gtar: Error exit delayed from previous errors
>??error [/usr/local/bin/gtar returned 2]? dumper: strange [missing
> size line from sendbackup]
>? dumper: strange [missing end line from sendbackup]
>\--------
>
>
>NOTES:
>  planner: pbrazor1.tszrh.csfb.com /ora 20030226 0 [dump larger
> than tape, full dump delayed]
>  planner: Full dump of pbrazor1.tszrh.csfb.com:/export/home
> promoted from 2 days ahead.
>  planner: Full dump of pbrazor1.tszrh.csfb.com:/razor promoted
> from 2 days ahead.
>  planner: Full dump of pbrazor1.tszrh.csfb.com:/usr/local
> promoted from 2 days ahead.
>  planner: Full dump of mambo.tszrh.csfb.com:/var promoted from 2
> days ahead. planner: Full dump of mambo.tszrh.csfb.com:/ebs
> promoted from 2 days ahead. planner: Full dump of
> pbrazor1.tszrh.csfb.com:/var promoted from 2 days ahead.
>  planner: Full dump of pbrazor1.tszrh.csfb.com:/opt promoted from
> 2 days ahead.
>  planner: Full dump of pbrazor1.tszrh.csfb.com:/usr promoted from
> 2 days ahead.
>  planner: Full dump of mambo.tszrh.csfb.com:/ promoted from 2
> days ahead. planner: Full dump of pbrazor1.tszrh.csfb.com:/
> promoted from 2 days ahead. taper: tape Daily-06 kb 8617056 fm 12
> [OK]
>
>DUMP SUMMARY:
>                                     DUMPER STATS            TAPER
[snip, my wordwrap wrecked it, sorry]

Hopefully I'm not too far off base here.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.23% setiathome rank, not too shabby for a WV hillbilly