Hi,

On 20.09.2005 22:00, Joe Rhett wrote:
On Sun, Sep 18, 2005 at 11:32:43AM +0200, Arno Lehmann wrote:

Why don't you simple comment out the "Label Format" directive, and see if that corrects the behaviour. If it does, file a bug report telling that the manual needs an update or the DIR behaviour should be changed.

That's basically what I suggested in may last post(s), and I think you should try that first before you complain again and again.

So tell me, why exactly should LabelFormat control whether or not a tape is
recycled?  The error is this:

It might if it is a bug. From your description, that's what I think might be possible. If it is, you can verify it and report it so that it can be corrected.

    Current Volume "liz5" not acceptable because:
    1998 Volume "liz5" status is Full, but should be Append, Purged or
Recycle.

But the media shows this:

+---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes    | VolFiles | VolRetention
| Recycle | Slot | MediaType | LastWritten         |
+---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+---------------------+
| 9       | liz5       | Full      | 14155350617 | 17       | 7776000
| 1       | 0    | DDS-3     | 2005-06-27 23:12:20 |
| 10      | liz6       | Full      | 10000907376 | 12       | 7776000
| 1       | 0    | DDS-3     | 2005-07-19 16:35:47 |

Ah. Volretention:
7776000/60/60/24=90
seconds - minutes - hours - days.
You've got about three months of retention time, and that period is not over yet.

And yes, even if the pool definition shows something different this behaviour is intentional: The pool definition has the defaults, and once a volume is created the data concerning it can be updated by the 'update' command, not by changes to the pool definition.

And yes, I do know that 'update all volumes from pool' does not seem to work as advertised.

Arno

And the configuration shows this:

# Tape pool definition
Pool {
        Name = Tape
        Pool Type = Backup
        Recycle = yes                   # Bacula can automatically recycle
Volumes
        Recycle Oldest Volume = yes
        AutoPrune = yes                 # Prune expired volumes
        Volume Retention = 1 months     # one month
        Accept Any Volume = yes         # write on any volume in the pool
}

So why isn't this volume being recycled?

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to