Hi, On 4/23/2007 1:34 PM, Marc Schiffbauer wrote: > * Arno Lehmann schrieb am 23.04.07 um 00:59 Uhr: [...] > >> Try to add 'echo "umount sd=..."|bconsole -c ...' to your script before >> you execute the umount command. > > I did not try it so far, but my guess it that it will not work > because if the job has finished I am able to unmount the disk > manually. I think this is due to "AlwaysOpen = no" being set.
Yes, but the umount from bconsole should or might release the device... if umount doesn't wor, the release command might be worth a try, too. >> By the way: I wouldn't call this a bad hack, but rather a valid and >> reliable work-around for something not implemented in Bacula. > > OK, I will try it to be sure... > > >> Of course, having the unmount capability in the SD by using the umount >> command when the device type is file and automaticmount is set would be >> preferrable... > > Yes, and I have been a bit confused because I found that in the > docs: > > http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html > > "Unmount Command = name-string > This directive specifies the command that must be executed to > unmount devices such as DVDs and many USB devices. [...]" > > That 'many USB devices' made me think that this should work... > > Do you think this would be worth a bug report? Yes. Kern says so :-) If you report this as a bug at bugs.bacula.org, be sure to have the necessary information added - especialy the configuration and the debug output will be useful. I'm sure you would have added that, but everyone forgets things now and then :-) Arno > -Marc -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users