Hi- I'm running bacula 1.38.11-mysql , and am having a strange problem with the label barcodes command, and am wondering if anyone else has seen it. Everything is working normally in all respects but one: When I issue the label command, and give bacula a tape name, a slot number, and a drive number, it successfully labels tapes. Example pasted below (example 1 - working). However, when I use the 'label barcodes' command, everything seems to be about to work, but then a weird error pops up which looks like:
3301 Issuing autochanger "loaded drive 0" command. 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with code 1. The more complete text of the bconsole output is listed below. (example 2 - not working). It seems that, when label barcodes runs, it attempts to load the tape from the slot, but fails in such a way that the changer gets confused and breaks the changer. Afterwards, if I attempt 'status', the following output appears: mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=70 (Current) mtx: Request Sense: Sense Key=Hardware Error mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 15 mtx: Request Sense: Additional Sense Qualifier = 01 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no READ ELEMENT STATUS Command Failed Once this happens, I need to reboot either the autochanger. However, I can use the regular label command, and it labels tapes just fine. Additionally, this system does lots of regularly scheduled backups, changes tapes, opens and closes volumes, does restores, & etc. In other words, it seems to be able to do all of the normal autochanger things, but not label barcodes. Is this possibly a bacula problem? thanks, Erik My setup is as follows: HP DL 360 G4 LSI 22320 SCSI Card HP MSL6030 Library w/ 2 * LTO-3 Drives (only one used in bacula) Fedora Core 5 **== Example 1 - Working ==** *label Automatically selected Storage: tapelib1 Enter autochanger drive[0]: Enter new Volume name: AB9730L3 Enter slot (0 or Enter for none): 19 Automatically selected Pool: test Connecting to Storage daemon tapelib1 at storage.test.com:9103 ... Sending label command for Volume "AB9730L3" Slot 19 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. 3304 Issuing autochanger "load slot 19, drive 0" command. 3305 Autochanger "load slot 19, drive 0", status is OK. 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 19. block.c:944 Read error at file:blk 0:0 on device "Drive0" (/dev/nst0). ERR=Input/output error. 3000 OK label. Volume=AB9730L3 Device="Drive0" (/dev/nst0) Catalog record for Volume "AB9730L3", Slot 19 successfully created. Requesting to mount Autochanger ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 19. 3001 Mounted Volume: AB9730L3 3001 Device "Drive0" (/dev/nst0) is already mounted with Volume "AB9730L3" **== Example 2 - Not Working ==** *label barcodes Automatically selected Storage: tapelib1 Enter autochanger drive[0]: Connecting to Storage daemon tapelib1 at storage.test.com:9103 ... 3306 Issuing autochanger "slots" command. Device "Autochanger" has 30 slots. Connecting to Storage daemon tapelib1 at storage.test.com:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. 3306 Issuing autochanger "list" command. The following Volumes will be labeled: Slot Volume ============== <snip> 19 AB9730L3 20 AB9735L3 21 AB9736L3 <snip> Do you want to continue? (yes|no): yes Automatically selected Pool: test Media record for Slot 1 Volume "JT5258L3" already exists. <snip> Media record for Slot 19 Volume "AB9730L3" already exists. Connecting to Storage daemon tapelib1 at aphrodite.neuro.columbia.edu:9103 ... Sending label command for Volume "AB9735L3" Slot 20 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. 3304 Issuing autochanger "load slot 20, drive 0" command. 3992 Bad autochanger "load slot 20, drive 0": ERR=Child exited with code 1. Label command failed for Volume AB9735L3. Sending label command for Volume "AB9736L3" Slot 21 ... 3301 Issuing autochanger "loaded drive 0" command. 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with code 1. 3301 Issuing autochanger "loaded drive 0" command. 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with code 1. 3304 Issuing autochanger "load slot 21, drive 0" command. ------------------------------------------------------------------------- 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