On Fri, 03 Nov 2006 01:13:32 +1100 Gerard Sharpe <[EMAIL PROTECTED]> wrote:
> Hi, > > I am a first time user of Bacula trying to get a Sun L280 DLT7000 tape > drive (operating mode set to random) with autochanger working. > > I have confirmed the drive works with the btape test however am having > no luck getting the autochanger to play the game. > > When running a autochanger test (btape -c bacula-sd.conf /dev/nst0 then > auto) it either times out with: > --- > 02-Nov 21:45 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. > btape: btape.c:1198 Bad status from rewind. ERR=dev.c:678 Rewind error > on "SUN-L280" (/dev/nst0). ERR=Input/output error. > --- > OR after playing with the config (see below) I get > --- > 3302 Issuing autochanger "unload 1 0" command. > unload status=Bad 268435457 > 3992 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg1 > unload 1 /dev/nst0 0 > 3992 result="Unloading Data Transfer Element into Storage Element > 1...mtx: Request Sense: Long Report=yes > ": ERR=Child exited with code 1 > 3303 Issuing autochanger "load 1 0" command. > 3993 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg1 > load 1 /dev/nst0 0 > 3993 result="mtx: Request Sense: Long Report=yes > ": ERR=Child exited with code 1 > You must correct this error or the Autochanger will not work. > --- > > I've tried increasing the wait time with sleep 15 and using the > wait_for_drive function in the mtx-changer script with no success. > Can anyone provide a few pointers as to what I'm doing wrong? > > I'm running Debian 3.1 and using backport Bacula version 1.38.11-5 What does "mtx -f /dev/sg1 status" tell you? And then you can try the commands listed here: http://www.bacula.org/rel-manual/Autochanger_Support.html#SECTION0002915000000000000000 Alex ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users