Package: amanda-server
Version: 1:2.5.2p1-4
Severity: normal
File: chg-manual


When using runtapes > 1 and chg-manual amcheck and amdump don't accept the 
current tape but instead keep asking for new tapes.  This appears to be because 
amanda wants, after processing the tapes, to go back to the first one but 
chg-manual doesn't go backwards and acts like a 99 tape changer.  The solution 
is to have chg-manual tell amanda it is a gravity stacker.

# Pretend we're a gravity stacker
backward=0

info() {
        echo "     -> rewind $tape" >> $logfile
        $MT $MTF $tape rewind >> $logfile 2>&1
        echo "     -> status $tape" >> $logfile
        used=`$MT $MTF $tape status 2>&1 | tee -a $logfile | $EGREP 
"$ONLINEREGEX"`
        echo "     -> loaded <$used>" >> $logfile
        if [ -z "$used" ];then
                answer="0 $lastslot $backward"
        else
                answer="$slot $lastslot $backward"
        fi
        echo "Exit -> $answer" >> $logfile
        echo "$answer"
        exit 0
}


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amanda-server depends on:
ii  amanda-common      1:2.5.2p1-4           Advanced Maryland Automatic Networ
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  libc6              2.7-13                GNU C Library: Shared libraries
ii  libncurses5        5.6+20080830-1        shared libraries for terminal hand
ii  libreadline5       5.2-3                 GNU readline and history libraries

amanda-server recommends no packages.

Versions of packages amanda-server suggests:
ii  amanda-client                1:2.5.2p1-4 Advanced Maryland Automatic Networ
ii  cpio                         2.9-13      GNU cpio -- a program to manage ar
pn  gnuplot                      <none>      (no description available)
ii  mt-st                        1.1-2       Linux SCSI tape driver aware magne
ii  perl [perl5]                 5.10.0-14   Larry Wall's Practical Extraction 

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to