Amanda-Users

Re: Problem with amflush

2004-02-05 01:21:43
Subject: Re: Problem with amflush
From: "Rohit" <rohit AT genetechindia DOT com>
To: "Paul Bijnens" <paul.bijnens AT xplanation DOT com>
Date: Thu, 5 Feb 2004 11:46:49 +0530
> Well, that's strange! Why does amflush need to to do an estimate???
> My 28 Gbyte flush on monday morning takes 0:00 estimate time.
> There isn't even an estimate phase when doing amflush (skimmed quickly
> in the source, correct me if I missed it.)

Strange for me too!

> Are you sure you execute the correct amflush command?  Some people
> have many versions (the system supplied one, maybe version 2.4.1
> in /usr/sbin, some other version in /usr/local/sbin, and/or a
> self compiled in ~amanda/sbin ...

# rpm -qa | grep "amanda"
amanda-client-2.4.3-4
amanda-server-2.4.3-4
amanda-2.4.3-4

# locate amflush
/usr/sbin/amflush
/usr/share/man/man8/amflush.8.gz
/var/lib/amanda/DailySet1/amflush.2
/var/lib/amanda/DailySet1/amflush.1
/var/lib/amanda/DailySet1/amflush.3
/var/lib/amanda/DailySet1/amflush.6
.... and so on till amflush.24
/var/lib/amanda/DailySet1/amflush.log.20040204

> Just checking... your holdingdisk and it's subdirectories
> are local disks AND are owned by amanda?  And you do run
> amdump and amflush as user amanda?

# pwd
/

# ls -l
drwxrwxr-x   10 amanda   root         4096 Feb  5 00:30 backup

# cd backup/
# pwd
/backup

# ls -l
total 44
drwxrwxr-x    2 amanda   disk         4096 Dec 30 01:12 20031230
drwx------    2 amanda   disk         4096 Jan 30 01:25 20040130
drwx------    2 amanda   disk         4096 Jan 31 01:25 20040131
drwx------    2 amanda   disk         4096 Feb  1 01:24 20040201
drwx------    2 amanda   disk         4096 Feb  3 01:30 20040203
drwx------    2 amanda   disk         4096 Feb  5 01:51 20040205
drwxrwxr-x    2 amanda   root        16384 Sep 27 15:28 lost+found
drwxrwx---    4 root     root         4096 Oct 23 12:26 windows

> PS. to avoid complaints about cruft concerning the lost+found
> directory, make a subdir on that disk (/disk/amandahold/TheConfig)
> and specify that subdir as holdingdisk directory in amanda.conf.

Sure, I can do that. 


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