>>>>> On Fri, 10 Mar 2006 14:55:22 -0600, "Lee, Raymond" <[EMAIL PROTECTED]> >>>>> said: > > I set AlwaysOpen = yes for my devices per the Bacula documentation > because I didn't want the drive to have to rewind and reposition > everytime in between jobs.
Yes, that could be a problem. > Setting AlwaysOpen = no does allow me to run the mt commands while the > SD is running. However, when I try to manually mount the drive in > bconsole, I run into the same problem. On the server console, I see the > following: > > Mar 10 13:59:52 arl-fratm-bacula scsi: WARNING: > /[EMAIL PROTECTED],2000/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0 (st23): > Mar 10 13:59:52 arl-fratm-bacula Error for Command: rezero/rewind > Error Level: Fatal > Mar 10 13:59:52 arl-fratm-bacula scsi: Requested Block: 0 > Error Block: 0 > Mar 10 13:59:52 arl-fratm-bacula scsi: Vendor: QUANTUM > Serial Number: R > Mar 10 13:59:52 arl-fratm-bacula scsi: Sense Key: Not Ready > Mar 10 13:59:52 arl-fratm-bacula scsi: ASC: 0x3a (medium not present), > ASCQ: 0x0, FRU: 0x0 > > > That repeats until the timeout period expires. Is this just an > annoyance that I have to live with? Does the drive have a tape loaded at this point? The error suggests it doesn't. With a single drive, I wouldn't expect to do mount until the tape is in the drive. It could be more complicated with an autochanger...unless Bacula should be loading a tape automatically (though possibly it would be the wrong tape). __Martin > -----Original Message----- > From: Martin Simmons [mailto:[EMAIL PROTECTED] > Sent: Friday, March 10, 2006 12:40 PM > To: Lee, Raymond > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] tape will not eject after finishing backup > > >>>>> On Fri, 10 Mar 2006 10:14:04 -0600, "Lee, Raymond" > <[EMAIL PROTECTED]> said: > > > > I've always had a problem with mtx-changer regarding this issue. Even > > when I'm running the SD as root, my tape drives always show "Device > > busy" when I do an 'mt -f /dev/rmt/0cbn status'. The drives are > always > > busy while bacula-sd is running, with or without tapes in the drives > and > > not performing any backups. > > > > Therefore, I'm always stuck waiting 180 seconds for the timeout when I > > want to load a tape. The tapes load just fine, but the drive won't > ever > > settle down and show "ONLINE" ("0x0" in my case) while the SD is > > running. I've changed the timeout to 60 seconds to ease the pain. > > > > This problem affects other parts of Bacula that request the drive > > status. When I first start the SD, I have to wait for the timeout > > period for both drives before I can do anything. Does Bacula put some > > kind of lock or hog resources of the tape drives that prevents showing > > the tape status correctly? When I was running Legato Networker, I was > > always able to do mt -f /dev/rmt/0cbn status while Legato was running > > and the drive was idle. > > > > My setup is: > > Solaris 9 > > L25 Autochanger with two SDLT 320 drives > > Bacula 1.38.5 > > Sorry, I don't know much about autochangers, but it sounds like Bacula > is > keeping the drive open. Possibly setting > > Always Open = no > > for the bacula-sd Device resource will allow mt to work. See the > manual. > > __Martin > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users