> After building the list of needed volumes to read you could create a
> list of storage devices needed to read them. Then you can easily see
> if a device remains free to use for writing - if it doesn't, stop the
> job and print a message...

You should also consider providing a parameter in the device class
resource that limits the number of drives that can be used for this
purpose. In a large configuration, you can easily end up with a
situation where all your devices are in use for migration/copy, and you
can't do backups. 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to