Hi All, I manually loaded a tape in the drive and ran "btape" test. All went well, except at the auto changer bit, where is gave me unload status=Bad 268435457 although the tape was unloaded to its slot. I do have mt-st installed. btape runs as root so as bacula-sd Any one can help me to get this solved? So you think my sd-conf is wrong? Can anyone please point to the proper direction to fix this. Kind Regards, Prashant === Autochanger test === 3301 Issuing autochanger "loaded" command. btape: btape.c:1169-0 run_prog: /etc/bacula/mtx-changer /dev/sg2 loaded 1 /dev/nst0 0 stat=0 result="1 " Slot 1 loaded. I am going to unload it. btape: btape.c:1183-0 Results from loaded query=1 btape: dev.c:1836-0 close_dev "TapeDrive" (/dev/nst0) btape: dev.c:1826-0 Clear volhdr vol= 3302 Issuing autochanger "unload 1 0" command. unload status=Bad 268435457 3992 Bad autochanger command: /etc/bacula/mtx-changer /dev/sg2 unload 1 /dev/nst0 0 3992 result="Unloading drive 0 into Storage Element 1...mtx: Request Sense: Long Report=yes ": ERR=Child exited with code 1 3303 Issuing autochanger "load 1 0" command. btape: btape.c:1211-0 Changer=/etc/bacula/mtx-changer /dev/sg2 load 1 /dev/nst0 0 btape: dev.c:1836-0 close_dev "TapeDrive" (/dev/nst0) btape: dev.c:1843-0 device "TapeDrive" (/dev/nst0) already closed vol= btape: btimers.c:107-0 watchdog 80d7850 term PID 10942 3993 Bad autochanger command: /etc/bacula/mtx-changer /dev/sg2 load 1 /dev/nst0 0 3993 result="Drive 0 Full (Storage Element 1 loaded) ": ERR=Child died from signal 15: Termination You must correct this error or the Autochanger will not work. *btape: btape.c:2581 "" is an invalid command *btape: btape.c:2581 "" is an invalid command * mimmo lariccia wrote:
|
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users