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:


> Date: Mon, 9 Mar 2009 10:00:00 -0400
> From: dresche...@gmail.com
> To: prash...@bluebarracuda.com; Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Quantum Superloader3 LT04
>
> On Mon, Mar 9, 2009 at 5:17 AM, Prashant Ramhit
> <prash...@bluebarracuda.com> wrote:
> > Hi All,
> >
> > Any one had previous with Quantum superloader 3  before, please let me know.
> >
> > btape is not working but mtx work fine.
> >
> > Is there any further logging I can enable, to get more information for what
> > btape is finding wrong.
> >
> >
> Bacula executables (utility tools + daemons) accept -d 100 as a param
> and this will enable debug output.
>
> John

And in every case:
- have You tried to pre-load manually a tape into the drives and then run the "btape" test?
And more over:
- have You checked who are the owners of /usr/sbin/b_<<commands>> ?

Cheers...

> ------------------------------------------------------------------------------
> 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

Get news, entertainment and everything you care about at Live.com. Check it out!



------------------------------------------------------------------------------
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

Reply via email to