Amanda-Users

Re: newbie questions about setting up amanda

2005-05-13 10:22:51
Subject: Re: newbie questions about setting up amanda
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Fri, 13 May 2005 10:03:29 -0400
On Fri, May 13, 2005 at 02:12:57PM +0100, Rodrigo Ventura enlightened us:
> My amdump has just finished, and the report looks good:
> 
>                                      DUMPER STATS            TAPER STATS 
> HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
> -------------------------- --------------------------------- ------------
> omni         /           1  619070 619070   --    2:513622.0   2:513619.0
> omni         /boot       1      10     10   --    0:00 117.3   0:14   0.7
> omni         /home/ag    1  984600 984600   --    2:356370.8   6:282539.7
> omni         /home/hm    2   34970  34970   --    0:084298.4   0:122894.6
> omni         /home/nt    2   45490  45490   --    0:391178.2   0:202222.9
> omni         /home/uz    1    4940   4940   --    0:031866.5   0:041241.9
> omni         /root       1     330    330   --    0:001298.6   0:01 256.2
> omni         /usr        2   42670  42670   --    2:32 280.9   0:113761.4
> omni         -ap/user/ag 1 38135203813520   --   19:163299.5  20:073159.3
> omni         -ap/user/hm 0 75231407523140   --   34:023683.5  36:253443.7
> omni         -ap/user/nt 0 66056706605670   --   21:565021.1  35:393088.3
> omni         -ap/user/uz 0 15355301535530   --   15:041699.0   7:113564.5
> 
> 
> During the run, I noticed a process called "gzip --best" being used by
> amanda, however I have a "compress none" directive. I want to switch
> to gzip in the future -- change compress to somethin non-none -- I
> suppose that with software compression, the ORIG-KB and the OUT-KB
> will differ.
>

The gzip --best is the index files being created. And yes, when you enable
gzip, the ORIG and OUT will change.

> And by the way, how can I disable the hardware compression in the scsi
> tape device? Is there any way of doing so within amanda?
> 

Depends. There is usually a hardware switch or two on the drive itself.
Software-wise, it's handled through your OS. Solaris uses different device
names, whereas Linux uses the mt command (look for COMPRESSION,
DEFCOMPRESSION, and/or DATCOMPRESSION...varies from drive to drive). 

If you are using software to disable compression, and you are using DDS
tapes, you will want to look in the archives for Gene Heskett's script that
rewrites tapes...DDS stores compression on/off flags on the tape itself, so
disabling the compression on your drive may not be enough.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

Attachment: pgppB6FxqNMqI.pgp
Description: PGP signature