Amanda-Users

Re: Using only one tape, full dump delayed

2003-02-27 11:52:25
Subject: Re: Using only one tape, full dump delayed
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: forster AT bluemail DOT ch, amanda-users AT amanda DOT org
Date: Thu, 27 Feb 2003 16:05:10 +0100

I believe the paramaters you give are not the real parameters
of the config that is running, or I must be very stupid.


forster AT bluemail DOT ch wrote:
...

tapetype SURESTORE-1200E

define tapetype SURESTORE-1200E {
    comment "HP AutoLoader"
    length 3900 mbytes
    filemark 100 kbytes
    speed 500 kbytes
}

So you have tapes that have 3900 Mbytes capacity...


What's wrong whith it?

Cheers
Urs

Here's the amanda report:
----------------
These dumps were to tape Daily-06.

Amanda needed only one tape.


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

How is it possible that Amanda cat put 8414 Mbyte (already compressed?) on one tape of 3900 Mbyte?

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

Again, amanda has put 8415 Mbyte on your tape that apparently holds only 3900 Mbyte???

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:

...
NOTES:
  planner: pbrazor1.tszrh.csfb.com /ora 20030226 0 [dump larger than tape,
full dump delayed]

Here is the reason: Amanda believes it cannot hold a full dump on one tape. That's a limitation of Amanda: one DLE (disk list entry) has to fit on one tape. As an easy workaround, you can make DLE's of subdirectories instead, if the directory contains data that can be backed up separatly, for example the oracle software as one DLE and the datafiles directory as another DLE (but for the datafiles, you better choose some other method, like making a "hot backup" with your tablespaces in backup mode to another directory and make an amanda backup thereof).


...
  taper: tape Daily-06 kb 8617056 fm 12 [OK]

And indeed, it's very strange that amanda can put 8617056 Kbytes on a tape that you say can only hold 3900*1024 Kbytes.
I suppose that the real config that your amanda runs has uses other values.



DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS

HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
mambo.tszrh. /           0 1475010 493440  33.5  22:28 366.1   9:42 847.5
mambo.tszrh. /ebs        0  110670  15008  13.6   1:10 213.4   0:39 388.5
mambo.tszrh. /var        0  253400 166336  65.6   4:43 588.2   3:10 873.6
pbrazor1.tsz /           0  124540  49792  40.0   4:02 205.7   0:59 849.3
pbrazor1.tsz -xport/home 0  375170 131872  35.1  10:27 210.4   2:43 811.5
pbrazor1.tsz /opt        0  564690 195136  34.6  13:25 242.2   3:48 855.6
pbrazor1.tsz /ora        2 68541004602336  67.1 571:52 134.1 571:53 134.1

Your 3900 Mbyte tape holds one image of 4600 Mbyte...

pbrazor1.tsz /razor      0       0 150976   --   13:04 192.4   3:03 823.2
pbrazor1.tsz /razorshr   1 34337302381184  69.3 106:21 373.2 106:22 373.1
pbrazor1.tsz /usr        0  491760 192352  39.1  14:11 225.9   3:45 854.9
pbrazor1.tsz /usr/local  0  611370 195776  32.0  15:50 206.0   3:56 830.0
pbrazor1.tsz /var        0       0  42848   --    4:03 176.5   0:54 795.1

(brought to you by Amanda version 2.4.3)
----------------


But if I'm proved wrong, the whole backup community would be very interested in how you can put that much data on such small tapes...
You could make a fortune here, if you start you own company!


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************