Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-18 Thread Richard Scobie
Richard Scobie wrote: > Thanks for the followup, but after finding the thread referenced below > yesterday, I switch the SCSI HBA and library into another box (different > motherboard) and it is humming along fine using the same config files. > > Granted this box is running Fedora 8, not Fedora

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-10 Thread Richard Scobie
Brian Debelius wrote: > > Humor me if you will. Go back to default. Make sure your tape drive is > set to variable blocks using mt -f /dev/nst0 setblk 0, then load a tape, > and use tapeinfo -f /dev/nst0 to verify it is set to zero. Now comment > out the Maximum Block Size from the sd. Test it

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-10 Thread Brian Debelius
Humor me if you will. Go back to default. Make sure your tape drive is set to variable blocks using mt -f /dev/nst0 setblk 0, then load a tape, and use tapeinfo -f /dev/nst0 to verify it is set to zero. Now comment out the Maximum Block Size from the sd. Test it with btape. Rewind it with mt,

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-09 Thread Richard Scobie
John Drescher wrote: > Have you tried to stop bacula-sd and then execute the mtx-changer > script directly from the shell? You will probably have to look at the > code for the parameters. Hi John, Yes, I have successfully been able to do this a number of times and also run through the "btape

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-08 Thread John Drescher
> Thanks Brian, I added this and it seems to indicate things are working > OK without adding any sleep, so I need to keep looking. > > The following is the sequence as I attempt to label a tape after having > deleted the Volume record, manually rewound the tape and done an "mt -f > /dev/nst0 weof"

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-08 Thread Richard Scobie
Brian Debelius wrote: > 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

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-07 Thread Brian Debelius
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 |

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-07 Thread Richard Scobie
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

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-07 Thread Alan Brown
Richard Scobie wrote: >> You probably need to add a wait in the mtx-changer script just after >> the load. This wait will make sure the tape is in the drive and has >> completed the loading process. For some systems the script does not >> wait long enough for the tape drive to finish. >> >> John >>

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-07 Thread ext-daniel.haw...@nokia.com
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

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-06 Thread Richard Scobie
Richard Scobie wrote: > >> >> You probably need to add a wait in the mtx-changer script just after >> the load. This wait will make sure the tape is in the drive and has >> completed the loading process. For some systems the script does not >> wait long enough for the tape drive to finish. >> >> Jo

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-06 Thread Richard Scobie
> > You probably need to add a wait in the mtx-changer script just after > the load. This wait will make sure the tape is in the drive and has > completed the loading process. For some systems the script does not > wait long enough for the tape drive to finish. > > John Thanks John. I already hav

Re: [Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-06 Thread John Drescher
On Wed, Jan 6, 2010 at 5:16 PM, Richard Scobie wrote: > I have an MSL2024 library I have been battling to get running for the > last couple of days and am about out of ideas. It is the parallel SCSI > attached LTO-4 version, connected to an HP LSI based HBA. > > I have bacula configured and it pas

[Bacula-users] HP MSL2024 Autochanger "ERR=Device or resource busy."

2010-01-06 Thread Richard Scobie
I have an MSL2024 library I have been battling to get running for the last couple of days and am about out of ideas. It is the parallel SCSI attached LTO-4 version, connected to an HP LSI based HBA. I have bacula configured and it passes the mtx-changer test commands recommended in the manual a