I'm not sure exactly what form this should take so this is a discussion and not an actual feature request...
Basically I need to be able to run a job to eject the tape. Under some configurations this works as an Admin job but when the sd is not on the same machine as the dir it is less easy. It can be fiddled around via the use of ssh but I think this is cumbersome (to the point where I'd rather code one of the following solutions myself than try and implement it :) So... I have a few ideas about how this could work: 1. "Storage Run After Job". This doesn't exist afaik and could be a nice solution in that it might be useful for other things than just ejecting a tape. It doesn't take care of the unmount and mount required for the eject operation though. 2. "Type = Eject" job. This would be a new job type in the director and modifications to the sd to implement it. The actual eject operation could be a command line (eg 'Eject Command = "/bin/mt -f /dev/nst0 eject"') if that makes things more useful. I like the second option better... Kern: If you got a patch that implemented an Eject job would you think about accepting it? James ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users