Volumes are being recycled, and re-used, and this function is
working as expected.
What I want Bacula to do is create automatically new volumes
when needed, and this works, … but not always, as I’m sometimes getting this :
05-Mar 22:30 fr-201-sd JobId 747: Job
JD_sv-ics-bck-web-304.2010-03-05_22.30.00_06 waiting. Cannot find any
appendable volumes.
Please use the "label" command to create a new Volume
for:
Storage: "fr-201-sd-4" (/backups)
Pool: PD_Default
Media type: File
05-Mar 23:30 sv-ics-tst-bkp-fr-201-dir JobId 747: There are no
more Jobs associated with Volume "DAT-SD-FR-2-11". Marking it purged.
05-Mar 23:30 sv-ics-tst-bkp-fr-201-dir JobId 747: All records
pruned from Volume "DAT-SD-FR-2-11"; marking it "Purged"
05-Mar 23:30 sv-ics-tst-bkp-fr-201-dir JobId 747: Recycled
volume "DAT-SD-FR-2-11"
05-Mar 23:30 fr-201-sd JobId 747: Recycled volume
"DAT-SD-FR-2-11" on device "fr-201-sd-4" (/backups), all
previous data lost.
05-Mar 23:30 sv-ics-tst-bkp-fr-201-dir JobId 747: Volume used
once. Marking Volume "DAT-SD-FR-2-11" as Used.
What is strange, is that the jobs automatically continues after wainting
one hour (my wait timeout), and recycles a volume.
But I’m wasting one hour of our backup window.
I don’t understand what could be wrong in my configuration.
Dominique
De : Norberto Meijome
[mailto:numardbsd AT gmail DOT com]
Envoyé : mardi 23 mars 2010 03:05
À : Dominique Jeannerod
Objet : Re: [Bacula-users] Getting auto-label feature to work
properly
2010/3/23 Dominique Jeannerod <dominique.jeannerod AT interact-iv DOT com>
Hello,
I’m currently working on Bacula 5.0.1 to upgrade our current
production backup system.
We are backuping on disk files, and thus implement the auto-label
feature, using counters.
On our first tests, everything was running as planned : volumes were
created and labeled automatically, and then recycled.
What happens now is that old volumes are recycled as they should be,
but new volumes are not created when needed, and I’m getting the famous message
:
I am possibly wrong, but shouldn't you want recycled volumes to be re-used?
_________________________
{Beto|Norberto|Numard} Meijome
"The only people that never change are the stupid and the dead"
Jorge Luis Borges.
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.