[SLUG] Amanda issues with amflush

From: James Marcinek (jmarc1@jemconsult.biz)
Date: Wed Dec 08 2004 - 17:44:14 EST


Hello everyone,

I'm working on a RH9 system and recently implemented amanda. Up until now things
have been running fine. The client forgot tapes on a couple of occasions and the
backups were dumped to the holding area.

The problem I'm having is with the amflush program. When I initiate it (in
foreground or background) the process starts; however nothing gets written to?
The tape is empty. When I check the processes, I get the following:

amanda 30890 30809 76 17:13 pts/0 00:02:23 amflush -f normal
amanda 30891 30890 0 17:13 pts/0 00:00:00 driver normal nodump
amanda 30892 30891 0 17:13 pts/0 00:00:00 taper normal
amanda 30893 30892 0 17:13 pts/0 00:00:00 taper normal

You can see that the amflush is running but the children processes are idle. The
logs stop populating after the initial start (excerpts below):

AMFLUSH file

amflush: datestamp 20041208
driver: pid 30639 executable driver version 2.4.3
driver: send-cmd time 0.098 to taper: START-TAPER 20041208
taper: pid 30640 executable taper version 2.4.3
taper: page size is 4096
taper: buffer size is 32768
taper: buffer[00] at 0x400df000
taper: buffer[01] at 0x400e7000
taper: buffer[02] at 0x400ef000
taper: buffer[03] at 0x400f7000
taper: buffer[04] at 0x400ff000
taper: buffer[05] at 0x40107000
taper: buffer[06] at 0x4010f000
taper: buffer[07] at 0x40117000
taper: buffer[08] at 0x4011f000
taper: buffer[09] at 0x40127000
taper: buffer[10] at 0x4012f000
taper: buffer[11] at 0x40137000
taper: buffer[12] at 0x4013f000
taper: buffer[13] at 0x40147000
taper: buffer[14] at 0x4014f000
taper: buffer[15] at 0x40157000
taper: buffer[16] at 0x4015f000
taper: buffer[17] at 0x40167000
taper: buffer[18] at 0x4016f000
taper: buffer[19] at 0x40177000
taper: buffer structures at 0x4017f000 for 240 bytes
taper: read label `Normal19' date `X'
taper: wrote label `Normal19' date `20041208'
driver: adding holding disk 0 dir /var/holding size 296960
reserving 296960 out of 296960 for degraded-mode dumps
driver: start time 277.725 inparallel 4 bandwidth 3448 diskspace 296960 dir
OBSOLETE datestamp 20041208 driver: drain-ends tapeq LFFO big-dumpers ttt
driver: result time 277.725 from taper: TAPER-OK
driver: state time 277.725 free kps: 3448 space: 296960 taper: idle
idle-dumpers: 4 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 86400 driver-idle:
not-idle
driver: interface-state time 277.725 if : free 2048 if ETH0: free 400 if LOCAL:
free 1000
driver: hdisk-state time 277.725 hdisk 0: free 296960 dumpers 0
driver: QUITTING time 277.725 telling children to quit
driver: send-cmd time 277.725 to taper: QUIT
taper: DONE [idle wait: 276.157 secs]
taper: writing end marker. [Normal19 OK kb 0 fm 0]
driver: FINISHED time 277.735

LOGFILE:

cat log.20041208.1
DISK amflush fortress /ROOT_DIR
DISK amflush fortress /tftpboot
DISK amflush fortress /dev
DISK amflush fortress /root
DISK amflush fortress /boot
DISK amflush fortress /home
DISK amflush fortress /opt
DISK amflush fortress /tmp
DISK amflush fortress /USR_ACCOUNTING
DISK amflush fortress /USR_IT
DISK amflush fortress /USR_INTRANET
DISK amflush fortress /USR_MARKETING_ADVERTISING
DISK amflush fortress /USR_MARKETING_ANGELL
DISK amflush fortress /USR_MARKETING_AWARDS
DISK amflush fortress /USR_MARKETING_BUDGET
DISK amflush fortress /USR_MARKETING_COLLATERAL
DISK amflush fortress /USR_MARKETING_COMPETITION
DISK amflush fortress /USR_MARKETING_CORRESPONDENCE
DISK amflush fortress /USR_MARKETING_DSI
DISK amflush fortress /USR_MARKETING_EMPLOYEE
DISK amflush fortress /USR_MARKETING_EVENTS
DISK amflush fortress /USR_MARKETING_HISTORY
DISK amflush fortress /USR_MARKETING_INTRANET
DISK amflush fortress /USR_MARKETING_PLAN
DISK amflush fortress /USR_MARKETING_PRESS
DISK amflush fortress /USR_MARKETING_PROMOTIONAL
DISK amflush fortress /USR_MARKETING_PROSPECT
DISK amflush fortress /USR_MARKETING_REFERRAL
DISK amflush fortress /USR_MARKETING_SELECT
DISK amflush fortress /USR_MARKETING_SIGNAGE
DISK amflush fortress /USR_MARKETING_TEMPLATES
DISK amflush fortress /USR_MARKETING_WEBSITE
DISK amflush fortress /USR_MARKETING_WORKING
DISK amflush fortress /USR_MARKETING_REST
DISK amflush fortress /USR_OPERATIONS
DISK amflush fortress /USR_PROJECTS_2000
DISK amflush fortress /USR_PROJECTS_2001
DISK amflush fortress /USR_PROJECTS_2002
DISK amflush fortress /USR_PROJECTS_2003
DISK amflush fortress /USR_PROJECTS_2004
DISK amflush fortress /USR_PROJECTS_BUILDER
DISK amflush fortress /USR_PROJECTS_DETAILS
DISK amflush fortress /USR_PROJECTS_DSI
DISK amflush fortress /USR_PROJECTS_INTEGRAL
DISK amflush fortress /USR_PROJECTS_PROJECT
DISK amflush fortress /USR_PROJECTS_REST
DISK amflush fortress /USR_TMP
DISK amflush fortress /USR_REST
DISK amflush fortress /var
DISK amflush domino /
DISK amflush domino hde1
DISK amflush domino hde3
DISK amflush domino hdg1
DISK amflush domino hdg2
START amflush date 20041208
START driver date 20041208
START taper datestamp 20041208 label Normal20 tape 0

When I issued the amcheck command, the results indicate that the tape device was
idle.

Like I said before, the amdumps work great.

Thanks,

James

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:14:20 EDT