Amanda-Users

Re: amflush problem with 2.5.2-20070508

2007-05-24 10:42:53
Subject: Re: amflush problem with 2.5.2-20070508
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
Date: Thu, 24 May 2007 09:37:29 -0500
On Thu, May 24, 2007 at 09:58:44AM -0400, Jean-Francois Malouin wrote:
> My first attempt at flushing the holdding disk 
> with Amanda-2.5.2-20070508 fails:
> 
> su amanda -c "/opt/amanda/amanda4/sbin/amflush stk_80-conf4"Scanning
> /holddisk/conf4/stk_80...
>   20070408091512: found Amanda directory.
>   20070507221512: found Amanda directory.
>   20070509221513: found Amanda directory.
>   20070522221514: found Amanda directory.
> 
> Multiple Amanda directories, please pick one by letter:
>   A. 20070408091512
>   B. 20070507221512
>   C. 20070509221513
>   D. 20070522221514
> Select directories to flush [A..D]: [ALL] 
> Could not find any valid dump image, check directory.
> 
> Looking at the content of the holdding disk:

Which directory is this?  There should be four subdirectories of stk_80,
one with each of the timestamps above.

> drwx------    2 amanda   sys       4096 May 24 02:12 ./
> drwxr-xr-x    6 amanda   sys         90 May 24 09:51 ../
> -rw-------    1 amanda   sys      63488 May 23 09:56 
> yorick._data_ado_ado1_slsj_subjects.2
> -rw-------    1 amanda   sys          0 May 23 17:00 
> yorick._data_ado_ado1_slsj_transfer.2
> -rw-------    1 amanda   sys          0 May 23 20:07 yorick.ado1.1
> -rw-------    1 amanda   sys    2480128 May 23 11:08 yorick.ado1_slsj.1
> -rw-------    1 amanda   sys          0 May 24 01:17 yorick.mril4_2.1
> -rw-------    1 amanda   sys     135168 May 23 09:17 yorick.mril4_3.1
> -rw-------    1 amanda   sys 7268272128 May 23 07:11 yorick.mril4_4.0

Have you recently changed your 'usetimestamps' setting?  A mismatch
between the timestamp or datestamp in each dumpfile and the timstamp
(never a datestamp) that is the name of the directory can cause an error
like the one you're seeing.

Can you run the following at the bash prompt and send us the result?

for i in `find /holddisk/conf4/stk_80 -type f`; do 
    echo $i; head -n1 $i;
done

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/

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