"Brandon D. Valentine" wrote:
>
> My quarrel seems to be with the fact that amanda is attempting to backup
> more data than will fit on a single tape. This might not be a tapetype
> problem, but it seems the logical place to start twiddling. It may be
> that planner is unable to get good estimates for some of this data so
> what it thought would compress to 35GB only became 46GB post dump.
That's probably the case. Planner gets an estimate of the uncompressed
sizes, and makes an educated guess to what ratio it will compress.
For it's education it uses the history of the last three dumps and computes
an average. If it has no history, it assumes by default 50% (but you can
change that in your dumptype with the comprate parameter).
If for some reason, the data does not compress as well as it did in the
past (e.g. because someone replaced an almost empty database with the
same amount of mp3 files -- it happened to me) dumper has to consume a lot
more data than planner thought it would.
Also when the default compression ratio is 50%, and you dump the first time
a disk full of already compressed files, the estimates are way off.
That's why I set the default compression ratio to 90% (comprate .90).
> I've set length in tapetype to 33000mb, a good 2GB below what the tape
> will theoretically hold. Worst case scenario is that Amanda uses powers
> of 2 to define tape size and Sony uses powers of 10. If this is the
> case then 33000*1024*1024/1000/1000 = 34603 so I should still be safe.
Actually, amanda informs you about the exact place where it bumped into EOT:
> taper: tape Daily06 kb 34136032 fm 42 writing file: No space left on device
That is 34136032 / 1024 = 33335 Mb
(Or should i count (34136032 + 42 * 500) / 1024 = 33356 Mb
So you're indeed on the safe side with 33000 mb capacity in your tapetype.
I would investigate the details, and see if you got any new disks, or
if any disk changed it's contents and compression ratio suddenly.
--
Paul Bijnens, Lant Tel +32 16 40.51.40
Interleuvenlaan 15 H, B-3001 Leuven, BELGIUM Fax +32 16 40.49.61
http://www.lant.com/ email: [EMAIL PROTECTED]
***********************************************************************
* 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 *
***********************************************************************