Amanda-Users

Re: Can't seem to disable software compression.

2008-04-30 14:22:00
Subject: Re: Can't seem to disable software compression.
From: Mitch Collinsworth <mitch AT ccmr.cornell DOT edu>
To: Edi Šuc <e AT ed0 DOT net>
Date: Wed, 30 Apr 2008 12:29:26 -0400 (EDT)


"compress none" turns off compression of the data, but amanda will
still compress the indexes.  You can check your tape contents to
verify that the data there is uncompressed.

-Mitch


On Wed, 30 Apr 2008, [UTF-8] Edi Šuc wrote:

Hi.

It seems that I can't disable software compression in amanda. I tried everything that could in my opinion have an impact on compression. But no luck. The problem is that i have a relatively slow machine and it takes forever to complete the backup. If I check the processes i see this:

19021 ?        S      0:00          \_ /bin/sh /usr/sbin/amdump AAA1
19031 ?        S      0:00              \_ /usr/lib/amanda/driver AAA1
19032 ?        S      0:01                  \_ taper AAA1
19037 ?        S      0:01                  |   \_ taper AAA1
19033 ?        S      0:08                  \_ dumper0 AAA1
19034 ?        S      5:31                  \_ dumper1 AAA1
19074 ?        S      0:08                  |   \_ /bin/gzip --best
19035 ?        S      0:00                  \_ dumper2 AAA1
19036 ?        S      0:00                  \_ dumper3 AAA1
19066 ?        S      8:59                  \_ chunker1 AAA1

I suppose that there shouldn't be a "gzip --best" if I disable the compression. I also tried to use the directive "compress fast" in the "define dumptype" section, but no luck. "gzip --best" is still there (it should at least change to "gzip --fast").

This is my "disklist":
server  /boot   tar_midp
server  /       tar_midp


And this is my "amanda.conf":
org      "AAA"
mailto   "root"
dumpuser "backup"       # the user to run dumps under

inparallel 4
dumporder "sssS"
taperalgo first
displayunit "k"
netusage  600 Kbps
dumpcycle 1 weeks
runspercycle 5
tapecycle 10 tapes
bumpsize 20 Mb
bumppercent 20
bumpdays 1
bumpmult 4
etimeout 300
dtimeout 1800
ctimeout 30
tapebufs 20
usetimestamps no
runtapes 1
tapedev "/dev/nst0"
rawtapedev ""
changerfile "/etc/amanda/AAA/changer.conf"
changerdev "/dev/null"
maxdumpsize -1
tapetype HPC7972A
labelstr "^AAADLT[0-9][0-9]*$"
amrecover_do_fsf yes
amrecover_check_label yes
amrecover_changer ""
holdingdisk hd1 {
  directory "/var/local/arhiv/amanda_hold"
  use -2 Gb
  chunksize 2Gb
  }
autoflush no
infofile "/var/lib/amanda/AAA1/curinfo"
logdir   "/var/log/amanda/AAA1"
indexdir "/var/lib/amanda/AAA1/index"

define tapetype HPC7972A {
  comment "just produced by tapetype program"
  length 193024 mbytes
  filemark 0 kbytes
  speed 13723 kps
}

define dumptype global {
  comment "Global definitions"
  index yes
  compress none
  holdingdisk auto
  comprate 1
  estimate calcsize
}

define dumptype tar_midp {
  comment "Tar mid priority"
  program "GNUTAR"
  exclude list ".amanda.excludes"
  priority medium
  compress none
  index yes
  holdingdisk auto
  comprate 1
  estimate calcsize
}

define interface local {
  comment "a local disk"
  use 1000 kbps
}

define interface le0 {
  comment "10 Mbps ethernet"
  use 400 kbps
}

The installation is on Debian etch (4.0). Amanda (server and client) version 2.5.1p1-2.1

Anyone any idea?

Regards,
Edi
<Prev in Thread] Current Thread [Next in Thread>