Amanda-Users

Re: backup lasts forever on large fs

2003-11-11 13:05:07
Subject: Re: backup lasts forever on large fs
From: Zoltan Kato <kato AT inf.u-szeged DOT hu>
To: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
Date: Tue, 11 Nov 2003 19:03:29 +0100 (MET)
The backup is running now. Here is what top says:

load averages:  0.46,  0.31,  0.18
19:00:37
134 processes: 131 sleeping, 1 zombie, 2 on cpu
CPU states: 16.3% idle, 12.4% user,  2.7% kernel, 68.6% iowait,  0.0% swap
Memory: 2048M real, 1457M free, 190M swap in use, 5385M swap free

   PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
 24118 root       1  10    0   12M   12M cpu/1    2:27 22.34% gtar

68% iowait while the only activity on the machine is gtar ran by amanda.

Here is what amstat says:

amanda@rozi$ amstatus cab
Using /var/amanda/cab/amdump from Tue Nov 11 18:51:59 CET 2003

lena2.cab.u-szeged.hu:/etc              0    11110k estimate done
lena2.cab.u-szeged.hu:/root/ldap_backup 0     1380k estimate done
rozi.cab.u-szeged.hu:/etc                           getting estimate
rozi.cab.u-szeged.hu:/home                          getting estimate

SUMMARY          part      real  estimated
                           size       size
partition       :   4
estimated       :   2                12490k
flush           :   0         0k
failed          :   0                    0k           (  0.00%)
wait for dumping:   0                    0k           (  0.00%)
dumping to tape :   0                    0k           (  0.00%)
dumping         :   0         0k         0k (  0.00%) (  0.00%)
dumped          :   0         0k         0k (  0.00%) (  0.00%)
wait for writing:   0         0k         0k (  0.00%) (  0.00%)
wait to flush   :   0         0k         0k (100.00%) (  0.00%)
writing to tape :   0         0k         0k (  0.00%) (  0.00%)
failed to tape  :   0         0k         0k (  0.00%) (  0.00%)
taped           :   0         0k         0k (  0.00%) (  0.00%)
all dumpers active
taper idle


Looks like gtar is quite busy in doing the estimates....

Zoltan

__________________________________________________________________

http://www.inf.u-szeged.hu/~kato/  -- research in computer vision
http://www.cameradigita.com/       -- photography (online gallery)
__________________________________________________________________

On Tue, 11 Nov 2003, Zoltan Kato wrote:

> > ZK> My config is the following:
> >
> > ZK> Amanda server runs on the same machine (i.e. the tape drive, which is a 
> > HP
> > ZK> DLT 40/80GB attached directly to this server).
> >
> > Which one? I assume that your machines are the following disklist
> > entries, even if some are commented out right now.
> >
> > From your former post I assume rozi.cab.u-szeged.hu is your Amanda
> > tape server.
>
> Ooops, the disklist file has been changed since I last tried to backup
> /home. Of course, the right entry was the following:
>
> rozi.cab.u-szeged.hu    /home           user-tar
>
> > Is the holdingdisk the same physical disk as the on /home is on?
>
> No, it is on another partition (/opt) and partly on the same physical
> disk. Here are the relevant parts:
>
> /dev/dsk/c1t0d0s5       20G   1.0G    18G     6%    /opt
> /dev/md/dsk/d0         102G    51G    51G    51%    /home
>
> Since /home is under lvm, it uses two disks. Out of the 102G, we have 30G
> on the same disk as /opt. However, it is hard to tell how much of the 50G
> is actually stored on the same disk as /opt. Anyway, the holding disk is
> only 18G so it is not used for the backup of /home.
>
> > #disklist
> >
> > rozi.cab.u-szeged.hu   /home {
> >                        user-tar
> >                        holdingdisk no
> >                        }
> >
> > or creating a specific dumptype which disables holdingdisk.
> > Disabling this would show if Amanda then is able to dump /home.
> >
>
> OK, I'm going start it right now with these settings,
>
> Regards,
>
> Zoltan
>