Amanda-Users

Bug? - gzip running on client AND server

2003-01-15 15:07:41
Subject: Bug? - gzip running on client AND server
From: Orion Poplawski <orion AT cora.nwra DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 15 Jan 2003 12:31:44 -0700
Just notice that on at least on of my amanda disk dumps, it is being run through gzip on client and on the server. The details:

disklist:
lewis           /export/lewis3          comp-best-user-tar

amanda.conf:
define dumptype root-tar {
   global
   program "GNUTAR"
   comment "root partitions dumped with tar"
   compress none
   index
   exclude list "/usr/local/lib/amanda/exclude.gtar"
   priority low
}
define dumptype user-tar {
   root-tar
   comment "user partitions dumped with tar"
   priority medium
   comprate 0.70
}
define dumptype comp-best-user-tar {
   user-tar
   compress client best
}

on sever:
UID        PID  PPID  C STIME TTY          TIME CMD
amanda 6995 6994 0 Jan14 ? 00:00:00 /bin/sh /usr/sbin/amdump Data
amanda    7004  6995  0 Jan14 ?        00:00:01 /usr/lib/amanda/driver Data
amanda    7005  7004  0 Jan14 ?        00:03:09 taper Data
amanda    7006  7004  2 Jan14 ?        00:21:09 dumper0 Data
amanda    7010  7005  0 Jan14 ?        00:02:48 taper Data
amanda    7200  7006  0 02:31 ?        00:00:01 /bin/gzip --best

lsof -p 7200:
COMMAND  PID   USER   FD   TYPE DEVICE    SIZE  NODE NAME
gzip 7200 amanda 0u IPv4 89527 TCP matchbox.colorado-research.com:1187->lewis.colorado-research.com:5603 (ESTABLISHED) gzip 7200 amanda 1w REG 8,5 49152 50218 /var/lib/amanda/Data/index/lewis/_export_lewis3/20030114_0.gz.tmp gzip 7200 amanda 2w REG 8,5 21860 40187 /var/lib/amanda/Data/amdump

grep lewis amdump:
DUMP lewis 34cbfe811f01 /export/lewis3 20030114 1 0 1970:1:1:0:0:0 13255125 9312 1 2003:1:8:5:7:24 11532986 51563 driver: send-cmd time 27114.674 to dumper0: FILE-DUMP 00-00011 /var/amanda/Data/20030114/lewis._export_lewis3.0 lewis 34cbfe811f01 /export/lewis3 NODEVICE 0 1970:1:1:0:0:0 1073741824 GNUTAR 13255200 |;bsd-auth;compress-best;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;


On client:
    UID        PID       PPID  C    STIME TTY     TIME CMD
amanda 90664 93121 0 02:31:55 ? 5:38 /usr/freeware/libexec/sendbackup amanda 93116 93121 0 02:31:55 ? 584:12 /usr/sbin/gzip --best
 amanda      93120      90664  0 02:31:55 ?       0:01 sed -e s/^\.//
amanda 93121 1 0 02:31:55 ? 0:00 /usr/freeware/libexec/sendbackup amanda 93139 93120 0 02:31:55 ? 2:12 /usr/freeware/bin/tar -tf -

Has anyone seen this before?

TIA,

 Orion




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