> Thank you John for the prompt answer. However this seems not to fix the
> entire issue. The tape is not ejected.....
>
Ohh. Sorry I see.
>
> I have no idea how to do this from within Bacula and obviously I cannot
> use 'mt -f /dev/nst0 eject' from a script as Bacula still locks the device.
> After some google-ing I found a workaround that suggests maintaining my
> original script, but adding a mount command at the end which would mount
> an empty drive and thus producing an error but with the side effect that
> Bacula has control over the tapedrive again.
> Is there a more elegant way?
>
No, do the mount on the empty drive.

John

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to