Hi Adam,
>
> Hi,
>
> I was reading through your thread on the Amanda users group about your
> problem with using the Dell 120T DLT4000 autoloader. I am currently
> considering buying such a device and I was wondering if you are still
> having problems? Also do you have any tips with setting this device up
> with amanda?
>
> thanks
>
> adam
>
>
> Adam Witney MSc PhD,
> Malaria Program (IDD),
> Naval Medical Research Center,
> 503 Robert Grant Avenue, Rm. 3A40
> Silver Spring, MD 20910-7500
>
> Tel: 301 319 7564
> Fax: 301 319 7545
>
Thanks for asking. After the help from John Jackson and others (many thanks
guys!) we did finally get it right by upgrading Linux 2.2.16 to 2.2.18 and
upgrading the dump program to the latest version (from www.sourceforge.net).
You may have to modify the chg-zd-mtx script to make it work properly. I
have included the differences we have made to it here, so you should be able
to tailor it to suit your needs. If you are going to use the "amverify"
program you may have to add these lines:
if [ X"$DEVICE" = X"" ]; then
DEVICE=/dev/nst0 # or whatever your tapedrive is
fi
before the line: report "Using device $DEVICE"
to avoid the problem when the autodetect mechanism cannot find your drive
and returns an empty device.
If you need further details please let me know.
Good luck!
Hien.
spruce [/home/00/hien]#diff chg-zd-mtx chg-csee-mtx
36,37c36,37
< MTF=-f
< MTX=/opt/local/bin/mtx
---
> MTF=-f
> MTX="/opt/local/bin/mtx -f $TAPE"
40c40
< lastslot=6
---
> lastslot=7
58c58
< sed -n 's/Data Transfer Element:.Empty/-1/p;s/Data Transfer Element:.Full
(Storage Element \(.\) Loaded)/\1/p'`
---
> sed -n 's/Data Transfer Element 0:Empty/-1/p;s/Data Transfer Element 0:Full
>(Storage Element \(.\) Loaded)/\1/p'`
69a70
> $MT $MTF $tape rewoffl 2>/dev/null
81a83
> $MT $MTF $tape rewoffl 2>/dev/null
158a161,162
> echo " -> rewoffl" >> /tmp/changer.debug
> $MT $MTF $tape rewoffl 2>/dev/null
178a183,193
> tries=12
> while [ $tries -gt 0 ]; do
> sleep 10 # Wait for drive calibration
> ONLINE=`$MT $MTF $tape status 2>&1 | fgrep ONLINE`
> if [ ! -z "$ONLINE" ]; then
> echo " -> online: $ONLINE" >> /tmp/changer.debug
> break;
> fi
> echo " -> not online" >> /tmp/changer.debug
> let 'tries=tries-1'
> done
187c202
< if [ -z $res2 ]; then
---
> if [ -z "$res2" ]; then