Amanda-Users

Amanda 2.5.0 - using multiple holding disks and spanning tapes

2006-04-03 08:54:44
Subject: Amanda 2.5.0 - using multiple holding disks and spanning tapes
From: "Paul Haldane" <Paul.Haldane AT newcastle.ac DOT uk>
To: <amanda-users AT amanda DOT org>
Date: Mon, 3 Apr 2006 13:47:49 +0100
I've just installed 2.5.0 on one of our backup servers (output from amadmin 
<config> version at end) and have some odd behaviour to do with holding disks 
(at least I think that's the problem).

We've been running Amanda (using the standard Fedora Core 2 rpms 
-amanda-2.4.4p2-3) for ages - no problems.  We're keen to move to 2.5.0 as I 
understand that gives us the ability to span tapes when doing backups.  Clients 
will still be running 2.4.x (FC3 with amanda-client-2.4.4p3-1 in the case of 
the client I'm having this particular problem with).

We've got six holding disks (which are all recognised by amcheck and were 
correctly used with 2.4.4).

When the backup ran last night the smaller DLEs went through fine and were 
taped but we have one DLE which is (just) bigger than a tape and bigger than a 
single holding disk (~ 223G - largest of the successfully tapes DLEs was 37G).
 
It seems that Amanda filled one holding disk, moved on to a second holding 
disk, used some space there and then gave up when nearly at the end of the dump 
apparently thinking that it had run out of holding space (but the current 
holding area was only 74% full).  I think I've pulled the relevant lines out of 
the log below (but have attached the last 50 lines in case I'm wrong or have 
message up the formatting).

Any thoughts on what might be happening?  Is Amanda thinking that it's out of 
holding space or have I misinterpreted the messages?  Are there any of the 
options that I used to build the Amanda server with which might be 
problematical?

Paul
-- 

driver: result time 20296.935 from chunker0: RQ-MORE-DISK 01-00017
driver: send-cmd time 20296.935 to chunker0: CONTINUE 01-00017 
/disk/3/amanda/ISS1/20060402212642/logproc._store_proxylogs.0 2097152 98917392

driver: state time 29077.991 free kps: 80600 space: 570686360
 taper: idle idle-dumpers: 5 qlen tapeq: 0 runq: 0 roomq: 0
wakeup: 0 driver-idle: no-dumpers

driver: hdisk-state time 29077.991 
 hdisk 0: free 0 dumpers 0
 hdisk 1: free 133920748 dumpers 0
 hdisk 2: free 35003360 dumpers 1
 hdisk 3: free 133920748 dumpers 0
 hdisk 4: free 133920756 dumpers 0
 hdisk 5: free 133920748 dumpers 0

driver: result time 29078.000 from chunker0: RQ-MORE-DISK 01-00017
find diskspace: not enough diskspace. Left with 3521183048 K

driver: Don't know how to send ABORT command to chunker

taper: DONE [idle wait: 26364.481 secs]

taper: writing end marker. [AM1248 OK kb 89752352 fm 8]
chunker: error [bad command after RQ-MORE-DISK: "QUIT"]
chunker: time 20608.773: error [bad command after RQ-MORE-DISK: "QUIT"]

Paul
-- 
Paul Haldane
Unix Systems Team
Information Systems and Services
University of Newcastle upon Tyne

build: VERSION="Amanda-2.5.0"
       BUILT_DATE="Mon Mar 27 22:39:25 BST 2006"
       BUILT_MACH="Linux ucsbs2.ncl.ac.uk 2.6.9-1.6_FC2smp #1 SMP Thu Nov 18 
22:20:16 EST 2004 i686 i686 i386 GNU/Linux"
       CC="gcc"
       CONFIGURE_COMMAND="'./configure' '--program-prefix=' '--prefix=/usr' 
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' 
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' 
'--libdir=/usr/lib' '--libexecdir=/usr/lib/amanda' '--localstatedir=/var/lib' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--enable-shared' 
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' 
'--with-smbclient=/usr/bin/smbclient' '--with-amandahosts' '--with-user=amanda' 
'--with-group=disk' '--with-tmpdir=/var/log/amanda' '--with-gnutar=/bin/tar' 
'--with-index-server=ucsbs2.ncl.ac.uk' '--with-tape-server=ucsbs2.ncl.ac.uk' 
'--with-tape-device=/dev/nst0' '--with-tcpportrange=50000,50100' 
'--with-udpportrange=700,720' '--with-config=ISS1' '--with-buffered-dump'"
paths: bindir="/usr/bin" sbindir="/usr/sbin"
       libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
       AMANDA_TMPDIR="/var/log/amanda"
       AMANDA_DBGDIR="/var/log/amanda" CONFIG_DIR="/etc/amanda"
       DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
       RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
       XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
       SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
       COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
       LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/Mail"
       listed_incr_dir="/var/lib/amanda/gnutar-lists"
defs:  DEFAULT_SERVER="ucsbs2.ncl.ac.uk" DEFAULT_CONFIG="ISS1"
       DEFAULT_TAPE_SERVER="ucsbs2.ncl.ac.uk"
       DEFAULT_TAPE_DEVICE="/dev/nst0" HAVE_MMAP HAVE_SYSVSHM
       LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
       AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
       CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
       COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
       COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"

Attachment: am250.txt
Description: Text document