Try turning on debug in mtx-changer.  Modify the wait_for_drive() 
function to add another debug statement to confirm that the device is 
ready, and that the function did not just time out.

wait_for_drive() {
   i=0
   while [ $i -le 300 ]; do  # Wait max 300 seconds
     if mt -f $1 status 2>&1 | grep "${ready}" >/dev/null 2>&1; then
-->> debug "Device $1 - READY!"
       break
     fi
     debug "Device $1 - not ready, retrying..."
     sleep 1
     i=`expr $i + 1`
   done
}





On 1/7/2010 1:13 PM, Richard Scobie wrote:
> ext-daniel.haw...@nokia.com wrote:
>    
>> Hi Richard,
>>
>>      
>>> Anyone else running this library I can compare notes with?
>>>
>>>        
>> Not anymore :)  Used to use an SAS LTO3 based MSL2024 on a project I worked 
>> at a while back. TBH it *just worked* and worked well too. Would recommend 
>> one to anyone that needed an autochanger of this size. Was quick and worked. 
>> What more do you need :)
>>
>> Have attached the salient directives from my notes below, hope they're of 
>> use. Was using a relatively old Bacula version back then (not sure which 
>> maybe 1.38 or early v2), but the important bits haven't changed much, so 
>> should be valid. Have also added the mtx-changer I was using. Can't recall 
>> if I changed this from the default shipped one either, but...
>>      
> Thanks Dan.
>
> I found a couple of others running the same library, drive and SCSI card
> as I am who said the same as you - it just worked.
>
> So I'm thinking I may have a hardware issue or kernel/mtx issues (am
> running Fedora 11  2.6.30.10-105.fc11.x86_64 and mtx-1.3.12-3.fc11.x86_64).
>
> Regards,
>
> Richard
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>    


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to