Hi, 25.02.2008 17:54, Tilman Schmidt wrote: > Because it is somewhat annoying to have to type an "unmount" command > into bconsole *and* push the eject button on the drive in order to > change a tape, I have added the line > OfflineOnUnmount = yes; # when unmounted, eject tape > to the Device section of my SLR drive in bacula-sd.conf. This works > quite well for normal tape changes but has two unexpected side effects. > a) If I label a new tape it is ejected after the operation, followed by > a message from Bacula that it couldn't mount the new tape. > b) I cannot relabel a tape while a job is waiting for a tape; when the > the relabel command is sent to the storage daemon, the tape is ejected > and then a message appears "relabel operation failed". > Can that be avoided?
Not as far as I know. Your point a) is something I stumbled over, too, but it was easily solved by removing the OfflineOnUnmount plus a simple operators directive. To make things easier, you could also create a simple shell script, for example called 'unload_tape' like #!/bin/bash echo 'umount STORAGE' | bconsole -c /etc/bacula/bconsole.conf /bin/mt -f /dev/nst0 eject ... or similar. Probably a crude work-around, but, well, it works around the problem :-) Arno > TIA > T. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users