Amanda-Users

Re: Autoflush not working in 2.5.2

2007-05-14 17:40:44
Subject: Re: Autoflush not working in 2.5.2
From: Steven Backus <backus AT whimsy.med.utah DOT edu>
To: martineau AT zmanda DOT com (Jean-Louis Martineau)
Date: Mon, 14 May 2007 15:34:47 -0600 (MDT)
> Try 
> http://www.zmanda.com/downloads/community/community-builds/amanda-2.5.2-flush.tar.gz
> it add a lot of debugging statement.

Got it.

> Send me the output of:

>   ls -altr /home1/dumps/amanda/

total 24
drwxr-xr-x  3 root root 4096 Jun 24  2006 ..
drwxr-xr-x  3 root root 4096 May 13 11:00 .
drwx------  2 root root 4096 May 13 14:49 20070513110001

>   ls -altr /home2/dumps/amanda/

total 16
drwxr-xr-x  3 root root 4096 Oct 21  2004 ..
drwxr-xr-x  3 root root 4096 May 13 11:00 .
drwx------  2 root root 4096 May 13 15:02 20070513110001

>   amadmin genepi holding list

Scanning /home1/dumps/amanda...
  20070513110001: found Amanda directory.
Scanning /home2/dumps/amanda...
  20070513110001: found Amanda directory.
Scanning /home1/dumps/amanda/20070513110001...
Scanning /home2/dumps/amanda/20070513110001...
ambiance.med.utah.edu sdc1 20070513
episun7.med.utah.edu c0t10d0s0 20070513
episun7.med.utah.edu c0t11d0s1 20070513
episun7.med.utah.edu c0t12d0s0 20070513
ambiance.med.utah.edu / 20070513
ambiance.med.utah.edu sdb5 20070513
eclectic.med.utah.edu sdb1 20070513
episun7.med.utah.edu c0t0d0s0 20070513
episun7.med.utah.edu c0t10d0s1 20070513
episun7.med.utah.edu c0t11d0s0 20070513
episun7.med.utah.edu c0t1d0s0 20070513
episun7.med.utah.edu c0t2d0s0 20070513
genepi.med.utah.edu c0t3d0s0 20070513
genepi.med.utah.edu c0t3d0s3 20070513
whimsy.med.utah.edu / 20070513

> run: amflush genepi -o tapedev=/no/tapedev -o tpchanger=""

[root@whimsy amanda-2.5.2]# cd server-src/
[root@whimsy server-src]# ./amflush genepi -o tapedev=/no/tapedev -o 
tpchanger=""
Scanning /home1/dumps/amanda...
  20070513110001: found Amanda directory.
Scanning /home2/dumps/amanda...
  20070513110001: found Amanda directory.
Could not find any valid dump image, check directory.

> Send me the amflush.*.debug and the amflush.1 files

Here's amflush.20070514152218.debug, there was no amflush.1 created:

amflush: debug 1 pid 12177 ruid 0 euid 0: start at Mon May 14 15:22:18 2007
amflush: debug 1 pid 12177 ruid 0 euid 0: rename at Mon May 14 15:22:18 2007
holding_get_files_for_flush
date_list: 20070513110001
file_elt: /home1/dumps/amanda/20070513110001/ambiance.med.utah.edu.sdc1.2
date 20070513110001 20070513
!date_matches
file_elt: /home1/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t10d0s0.0
date 20070513110001 20070513
!date_matches
file_elt: /home1/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t11d0s1.0
date 20070513110001 20070513
!date_matches
file_elt: /home1/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t12d0s0.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/ambiance.med.utah.edu._.0
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/ambiance.med.utah.edu.sdb5.3
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/eclectic.med.utah.edu.sdb1.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t0d0s0.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t10d0s1.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t11d0s0.0
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t1d0s0.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t2d0s0.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/genepi.med.utah.edu.c0t3d0s0.0
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/genepi.med.utah.edu.c0t3d0s3.1
date 20070513110001 20070513
!date_matches
file_elt: /home2/dumps/amanda/20070513110001/whimsy.med.utah.edu._.1
date 20070513110001 20070513
!date_matches

Steve
-- 
Steven J. Backus                        Computer Specialist
University of Utah                      E-Mail:  steven.backus AT utah DOT edu
Biomedical Informatics                  Alternate:  backus AT math.utah DOT edu
391 Chipeta Way -- Suite D150           Office:  801.587.9308
Salt Lake City, UT 84108-1266           http://www.math.utah.edu/~backus

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