Amanda-Users

Re: short write even if the dumps are just 10% of the tape size

2005-01-17 06:53:22
Subject: Re: short write even if the dumps are just 10% of the tape size
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Peter Guhl <pgnews AT siconline DOT ch>
Date: Mon, 17 Jan 2005 12:38:51 +0100
Peter Guhl wrote:
Hi

On Mon, 2005-01-17 at 10:27, Paul Bijnens wrote:

To prove hardware problems, use a fresh tape, and do a
"amtapetype -e 20g -f /dev/..." (takes about 4-5 hours!) and verify


Hmm, looks like there's no amtapetype around... amanda-server-2.4.3,1
Too old or just not in that particular port?

In that time, it was called "tapetype", and was not installed
in the normal tree, I believe.  If you have the source tree around
look in the "tape*" directory.

But you can do just the same using dd:

   dd if=/dev/random of=/dev/st0 bs=32k

and count how many 32Kbyte blocks get on the tape.
Expect about 15000000000 / 32768 or about 457763 blocks.

Remember, it takes about 2-3 hours to fill a tape.

Multiple runs should result in an almost constant number of blocks
(plus/minus a few hundred).



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