Bacula-users

Re: [Bacula-users] Bacula+FreeBSD+MTX question

2008-09-06 21:13:22
Subject: Re: [Bacula-users] Bacula+FreeBSD+MTX question
From: Dan Langille <dan AT langille DOT org>
To: Jason Selwitz <jselwitz AT vvisions DOT com>
Date: Sat, 06 Sep 2008 21:11:13 -0400
Jason Selwitz wrote:
> Hello there.. I am attempting to use Bacula 2.42, MTX version 1.3.11 on 
> FreeBSD 7.0 and a Spectralogic T50 changer.. it seems that I am able to 
> get slot and barcode information from the changer however when I try to 
> mount a tape it fails to do so, below are some examples, any assistance 
> would be greatly appreciated, feel free to let me know if I can provide 
> more info, I am hoping  to get this figured out by Monday my sincere 
> thanks in advance..
> 
> vvalbbacula# mtx -f /dev/pass1 status
>   Storage Changer /dev/pass1:1 Drives, 50 Slots ( 0 Import/Export )
> Data Transfer Element 0:Empty
>       Storage Element 1:Full :VolumeTag=027734L4                           
>       Storage Element 2:Full :VolumeTag=027733L4                           
>       Storage Element 3:Full :VolumeTag=027732L4                           
>       Storage Element 4:Full :VolumeTag=027731L4                           
>       Storage Element 5:Full :VolumeTag=027730L4                           
>       Storage Element 6:Full :VolumeTag=027739L4                           
>       Storage Element 7:Full :VolumeTag=027738L4                           
>       Storage Element 8:Full :VolumeTag=027737L4                           
>       Storage Element 9:Full :VolumeTag=027736L4                           
>       Storage Element 10:Full 
> :VolumeTag=027735L4                           
>       Storage Element 11:Full 
> :VolumeTag=027944L4                           
>       Storage Element 12:Full 
> :VolumeTag=027943L4                           
>       Storage Element 13:Full 
> :VolumeTag=027942L4                           
>       Storage Element 14:Full 
> :VolumeTag=027941L4                           
>       Storage Element 15:Full 
> :VolumeTag=027940L4                           
>       Storage Element 16:Full 
> :VolumeTag=027949L4                           
>       Storage Element 17:Full 
> :VolumeTag=027948L4                           
>       Storage Element 18:Full 
> :VolumeTag=027947L4                           
>       Storage Element 19:Full 
> :VolumeTag=027946L4                           
>       Storage Element 20:Full 
> :VolumeTag=027945L4                           
>       Storage Element 21:Full 
> :VolumeTag=028314L4                           
>       Storage Element 22:Full 
> :VolumeTag=028313L4                           
>       Storage Element 23:Full 
> :VolumeTag=028312L4                           
>       Storage Element 24:Full 
> :VolumeTag=028311L4                           
>       Storage Element 25:Full 
> :VolumeTag=028310L4                           
>       Storage Element 26:Full 
> :VolumeTag=028319L4                           
>       Storage Element 27:Full 
> :VolumeTag=028318L4                           
>       Storage Element 28:Full 
> :VolumeTag=028317L4                           
>       Storage Element 29:Full 
> :VolumeTag=028316L4                           
>       Storage Element 30:Full 
> :VolumeTag=028315L4                           
>       Storage Element 31:Full 
> :VolumeTag=028774L4                           
>       Storage Element 32:Full 
> :VolumeTag=028773L4                           
>       Storage Element 33:Full 
> :VolumeTag=028772L4                           
>       Storage Element 34:Full 
> :VolumeTag=028771L4                           
>       Storage Element 35:Full 
> :VolumeTag=028770L4                           
>       Storage Element 36:Full 
> :VolumeTag=028779L4                           
>       Storage Element 37:Full 
> :VolumeTag=028778L4                           
>       Storage Element 38:Full 
> :VolumeTag=028777L4                           
>       Storage Element 39:Full 
> :VolumeTag=028776L4                           
>       Storage Element 40:Full 
> :VolumeTag=028775L4                           
>       Storage Element 41:Full 
> :VolumeTag=029134L4                           
>       Storage Element 42:Full 
> :VolumeTag=029133L4                           
>       Storage Element 43:Full 
> :VolumeTag=029132L4                           
>       Storage Element 44:Full 
> :VolumeTag=029131L4                           
>       Storage Element 45:Full 
> :VolumeTag=029130L4                           
>       Storage Element 46:Full 
> :VolumeTag=029139L4                           
>       Storage Element 47:Full 
> :VolumeTag=029138L4                           
>       Storage Element 48:Full 
> :VolumeTag=029137L4                           
>       Storage Element 49:Full 
> :VolumeTag=029136L4                           
>       Storage Element 50:Full 
> :VolumeTag=029135L4                           
> 
> vvalbbacula# mtx -f /dev/pass1 load 1 0
> Loading media from Storage Element 1 into drive 0...mtx: Request Sense: 
> Long Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=70 (Current)
> mtx: Request Sense: Sense Key=Illegal Request
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 25
> mtx: Request Sense: Additional Sense Qualifier = 00
> mtx: Request Sense: BPV=no
> mtx: Request Sense: Error in CDB=no
> mtx: Request Sense: SKSV=no
> MOVE MEDIUM from Element Address 4096 to 256 Failed
> 
> vvalbbacula# mtx -f /dev/pass1 inquiry
> Product Type: Medium Changer
> Vendor ID: 'SPECTRA '
> Product ID: 'GATOR           '
> Revision: '2000'
> Attached Changer API: No
> 
> vvalbbacula# camcontrol devlist
> <IBM ULTRIUM-TD4 77BB>             at scbus0 target 0 lun 0 (sa0,pass0)
> <SPECTRA GATOR 2000>               at scbus0 target 0 lun 1 (ch0,pass1)

Read http://www.freebsddiary.org and look for how I used mtx.  That 
might help.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>