>>>>> 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