Amanda-Users

Re: tapetype definitions

2006-06-02 17:29:14
Subject: Re: tapetype definitions
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Chris Lee <cslee-list AT cybericom.co DOT uk>
Date: Fri, 02 Jun 2006 23:23:11 +0200
Chris Lee schreef:
Just to add to the whole tape type thing :)
I ran amtapetype on my DLT8000 (40/80GB) using a DLTIV tape.
Now I assumed that it should give me a 40GB capacity as I have hardware compression off.
But I get the following:
define tapetype DLT8000 {
    comment "just produced by tapetype prog (hardware compression off)"
    length 36650 mbytes
    filemark 0 kbytes
    speed 3944 kps
}

Now it is not far off but should it not be closer?
Also I get a lot of shoe shining during amtapetype run


Two remarks:
40 GB on the tape is means about 40 * 1000 * 1000 * 1000 bytes.
Amanda counts in powers of 2:  40000000000/(1024*1024*1024) = 37.25 GiB

You got 36.650 GiB or about 98.4% of the expected value.

The shoeshining is because you forgot to specify a decent estimate
to the program.  Without the estimate, amtapetype assumes a capacity
of 1 Gbyte, and writes files of 100 Mbyte in the first pass and files
of 50 Mbyte in the second pass.  Amanda expected to write about
100 respectively 200 of them.  But in your case wrote about 4000 and
8000 of them.
Each end-of-file mark flushes all the buffers and makes the tape stop
and start again.  Seeing the numbers above the tapedrive did not do
very bad considering all the work :-)


--
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          *
***********************************************************************

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