I am trying to get bacula-sd 1.38.11 running on my debian sarge box (bacula via backports) using a Exabyte packetloader1x10 /w VXA-3 drive connected to a 39160 SCSI card. In the "Testing your tape drive with bacula" chapter i can write and read the drive with tar, the btape 'test' section works, and btape 'fill' works if manualy operate the changer with mtx for the second tape. The problems start with the btape 'auto' test where i recieve the following messages...
=== Autochanger test === 3301 Issuing autochanger "loaded" command. Slot 5 loaded. I am going to unload it. 3302 Issuing autochanger "unload 5 0" command. unload status=OK 0 3303 Issuing autochanger "load 1 0" command. 3303 Autochanger "load 1 0" status is OK. 26-Oct 08:44 btape: 3301 Issuing autochanger "loaded drive 0" command. 26-Oct 08:44 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. btape: btape.c:338 open device "Exabyte320" (/dev/nst0): OK 26-Oct 08:44 btape: 3301 Issuing autochanger "loaded drive 0" command. 26-Oct 08:44 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 "Exabyte320" (/dev/nst0). ERR=Input/output error. The test failed, probably because you need to put a longer sleep time in the mtx-script in the load) case. Adding a 30 second sleep and trying again ... 3301 Issuing autochanger "loaded" command. Slot 1 loaded. I am going to unload it. 3302 Issuing autochanger "unload 1 0" command. unload status=OK 0 3303 Issuing autochanger "load 1 0" command. 3303 Autochanger "load 1 0" status is OK. 26-Oct 08:55 btape: 3301 Issuing autochanger "loaded drive 0" command. 26-Oct 08:55 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. btape: btape.c:338 open device "Exabyte320" (/dev/nst0): OK 26-Oct 08:56 btape: 3301 Issuing autochanger "loaded drive 0" command. 26-Oct 08:56 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. 26-Oct 08:56 btape: Fatal Error at dev.c:1525 because: dev.c:1524 Attempt to WEOF on non-appendable Volume btape: btape.c:1198 Bad status from rewind. ERR=dev.c:1524 Attempt to WEOF on non-appendable Volume the second block just repeats over and over. From how i read that it sounds like the tape is write protected, yet when i drop out the test and try to write to the tape it has just loaded with tar, it works with no issues. This is how my Autochanger and Device resouce look... Autochanger { Name = DevserverPacketloader Device = VXA3Drive Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg2 } Device { Name = VXA3Drive Drive Index = 0 Media Type = VXA Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Hopefully i am doing something glaringly wrong here, any suggestions? ------------------------------------------------------------------------- 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