Hi Arno,

Anwar wrote:
> Date: Wed, 05 Jul 2006 23:37:44 +0200
> From: Arno Lehmann <[EMAIL PROTECTED]>
> Subject: Re: [Bacula-users] Problem with Autochanger on Bacula 1.38.11
> To: bacula-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Hi,
> On 7/5/2006 8:12 AM, Anwar wrote:
>> > Hello,
>> > > I'm having some problems with a HP SureStore418 autochanger. The 
>> btape > autochanger test fails
> ...
>> > The test failed, probably because you need to put
>> > a longer sleep time in the mtx-script in the load) case.
>> > Adding a 30 second sleep and trying again ...
>> > 3301 Issuing autochanger "loaded" command.
>> > Slot 1 loaded. I am going to unload it.  
> ...
>> > --> It takes more than 10 minutes before it unloads Slot 1 then 
>> reloads > Slot 1..   
> ...
>> > > Can anyone give me some pointers on where to even attempt to > 
>> trouble-shoot this problem?
> I'd recommend to try the mtx-changer script alone first. I suspect 
> there is a timing problem in there. My experience is that it's usually 
> quite useful to use the wait_for_drive function instead of a 
> pre-determined timeout, because - especially with DLT - the time it 
> takes for the drive to accept a tape can greatly vary, and with 
> uninitialized tapes it can take very long.
>
> Arno
Thanks for replying. I've actually tested the mtx-changer script (by 
default at /etc/bacula/mtx-changer) and it works fine. I can list the 
number of slots, load and unload specific slots fine. However I've found 
that even though the documentation mentions you can use 2 parameters, 
somehow the trap does not work. So in essence mtx-changer /dev/sg2 
unload will not work. Instead you have to use mtx-changer /dev/sg2 
unload 1 /dev/nst0 0 where (1 is where the tape was loaded from).

I've even checked by issuing the correct mtx commands that the 
mtx-changer script does and that works too. However running the btape 
test (btape -c /etc/bacula-sd.conf /dev/nst0) and then running the 
autochanger command will fail. It just keeps on loading tape 1, reading 
for 10 minutes and then unloading, then reloading, reading ... repeat. 
Each time getting longer. I've even labeled the tape using the console 
label command first to ensure it wasn't an empty tape and its still fails...

If I run it from the console (not btape) then I get the following 
emailed as an error:-

03-Jul 13:44 FC5-test:  Error: bnet.c:426 Write error sending 55 bytes to 
client:127.0.0.1:36131: ERR=Broken pipe

Don't know why the pipe is breaking... The passwords are all correct. I've even 
checked that there's no firewall in the way (not supposed to matter because its 
localhost).

Is there anything else I should be looking at?

Thanks!

Regards,
Anwar






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

Reply via email to