Re: [Bacula-users] Cancelled job volume still showing "Full"
Alan Brown wrote: > As Timo said, in a tape, jobs may be interleaved. Because of that it's > dangerous to automatically purge one because of a job failure. That makes sense. > Note that if you delete the failed JobId from the database and that job > is the only one on the tape, it will free up for reuse almost immediately. Unfortunately two thirds of the tape contains a previous job I need to keep. Regards, Richard -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cancelled job volume still showing "Full"
Richard Scobie wrote: > Timo Neuvonen wrote: > >> Cancelling a job does not free the storage that the job occupied before it >> was cancelled. > > Thanks. I guess there is a reason for this but it seems counter > intuitive - I'd expect if something is cancelled, for all resources to > be freed. As Timo said, in a tape, jobs may be interleaved. Because of that it's dangerous to automatically purge one because of a job failure. Note that if you delete the failed JobId from the database and that job is the only one on the tape, it will free up for reuse almost immediately. AB -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cancelled job volume still showing "Full"
"Richard Scobie" kirjoitti viestissä news:4b79ab7e.9080...@sauce.co.nz... > Timo Neuvonen wrote: > >> Cancelling a job does not free the storage that the job occupied before >> it >> was cancelled. > > Thanks. I guess there is a reason for this but it seems counter > intuitive - I'd expect if something is cancelled, for all resources to > be freed. I'm just a Bacula user with experience of some years, not a real guru. But I guess one reason could be, that in general case there could have been several concurrent jobs running. Then, if one of the running jobs were cancelled, there necessarily wouldn't any more be a single contiguos big block (at the end) of tape to free since there would be data from several jobs interleaved to the tape. So that feature would be limited in functionality to special cases only. -- TiN -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cancelled job volume still showing "Full"
Timo Neuvonen wrote: > Cancelling a job does not free the storage that the job occupied before it > was cancelled. Thanks. I guess there is a reason for this but it seems counter intuitive - I'd expect if something is cancelled, for all resources to be freed. Regards, Richard -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cancelled job volume still showing "Full"
"Richard Scobie" kirjoitti viestissä news:4b79934b.9050...@sauce.co.nz... > Is there an extra command that needs to be run, in order to free volume > space after a job is cancelled? > > A job was started on an appendable LTO4 tape and for various reasons it > was decided to cancel it after it reached the end and was requesting a > new volume to be loaded. > > After the cancelation, the first volume is still showing as "Full", > where I would have expected the space used to be the same as before the > job was strated. > Cancelling a job does not free the storage that the job occupied before it was cancelled. Also, there is no way to remove / overwrite the data that a single job wrote to a volume. But the whole volume can be overwritten, if wanted. So, the question here is, if the tape already had something valuable written into it before the job that got canceled. If everything in the volume in question may be discarded, have a look at "purge volume" command. But be warned, it ignores any retention times, and is not limited to certain jobs. Basically, purge operates with the catalog only, but after the volume is purged (references to its content are removed from the catalog), it may be recycled, and at this point the volume (tape) will be used again. -- TiN -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cancelled job volume still showing "Full"
Is there an extra command that needs to be run, in order to free volume space after a job is cancelled? A job was started on an appendable LTO4 tape and for various reasons it was decided to cancel it after it reached the end and was requesting a new volume to be loaded. After the cancelation, the first volume is still showing as "Full", where I would have expected the space used to be the same as before the job was strated. Regards, Richard -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users