Amanda-Users

Re: drive compression discovery

2003-03-12 13:42:37
Subject: Re: drive compression discovery
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: gene_heskett AT iolinc DOT net
Date: Wed, 12 Mar 2003 18:16:40 +0100
Gene Heskett wrote:
On Wed March 12 2003 09:16, Eric Sproul wrote:

On Tue, 2003-03-11 at 14:39, Gene Heskett wrote:

Two other points come up here, Eric.

1. When a tape is inserted in most modern drives, the "tape
recognition cycle" will discover that this tape has been
compressed previously, and will turn the compression back on
regardless of your wishes.

Sounds good, so if I insert a tape that I *suspect* was written
compressed, but I check tapeinfo and it says the drive is still in
uncompressed mode, then I know that tape is OK, right?

You have to read something on it first to be really sure that the
drive did a "recognition cycle". Something like:
  dd ibs=256K if=/dev/your/tapedev of=/dev/null count=1

(blocksize equal to or larger than the first block on tape is fine)


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