Hi,

19.07.2007 08:28,, Isabel Bermejo wrote::
> Hi
> I'm using Bacula since 6 months but I'm still learning how to use the
> Recycling Volumes. I do an automated disk backup at 2:00pm from Monday to
> Friday of 10 computers.
> Lately I'm having problems with extra volumes created in a pool. I'm not
> using tapes; I'm using files. I have a pool for each computer with 5 volumes
> for each pool (one for day). In the configuration file I use the next
> directives in the Pool Resource: LabelFormat, AutoPrune, Recycle, Volume
> Retention (set to 6 days) and Maximum Volume Jobs (set to 1)
> With my configuration I try to perform a backup of each computer from Monday
> to Friday in the way each day and each computer uses its own pool and only
> one volume a day until complete 5 volumes in a week so the next week bacula
> can recycle the oldest volume which has the volume retention expired.
> The problem is that one computer creates extra volumes because the size of
> the volume which has to be recycle is greater than 1G.
> As I understand, when a job starts running, bacula performs internal
> operations to find the next volume to use. If recycle flag is set and the
> volume retention is expired, bacula has to recycle the volume and use it
> again to keep the actual backup. But, somehow, when the volume is greater
> than 1G, bacula has no time to recycle the volume so it creates a new one.
> I want to avoid it because of the risk of filling the hard disk. I've tried
> to use the Maximum Volumes directive (setting to 5) but when the job starts
> running appears a messages:
> 
> Intervention needed for...
> 17-Jul 14:20 i8-sd: Job is waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      FileStorage
>     Media type:   File
>     Pool:         Pool
> 
> I use the console and realized that the pool has one volume recycled,

If, in the pool Pool, there is one volume with status "recycled" then 
that volume should be used.

It is possiblte that the recycling happened only after the message was 
printed (which would require tight timings of volume retention and the 
actual backup start and end times, and some other event triggering 
pruning, though.

Anyway, if there is a volume available, simply try to mount the 
storage device that's waiting for a volume. It should find and use the 
volume in question.

If it doesn't, that would be a bug.

> but
> maybe the run command has no time to reuse the volume and the job remains
> blocking the next jobs until I use the label command or cancel the job to
> run it manually

I can't exactly follow your thought here, because I don't understand 
what you mean with the run command having time...

If you experience problems with automatic volume creation and 
retention times and recycling, it's often helpful to remember that 
Bacula recycles only when absolutely necessary, i.e. you have to limit 
the number of allowed volumes per pool, and should make sure there is 
no scratch pool available, and so on.

Generally, don't forget to update volume parameters after you changed 
the pool defaults, because existing volumes keep their assigned 
attributes even if you change the pool defaults.

You can verify the settings with the llist volume=name-of-volume command.

Arno

> How can I avoid the extra volumes creation without needing to use the label
> or cancel command to run the job?
> I hope you can help me
> Thanks
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to