Bacula-users

Re: [Bacula-users] Force to Purge

2009-04-01 14:44:21
Subject: Re: [Bacula-users] Force to Purge
From: Alan Messias <alancordeiro AT gmail DOT com>
To: Ryan Novosielski <novosirj AT umdnj DOT edu>
Date: Wed, 1 Apr 2009 15:39:45 -0300
I'm sorry it was a mistake (i click on the wrong place when i was answer your mail).

I changed the parameter volume jobs with *update, tomorrow i'll know how did it work.

Thanks very much,
Alan MeC Lacerda

On Wed, Apr 1, 2009 at 3:05 PM, Ryan Novosielski <novosirj AT umdnj DOT edu> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please keep replies on-list.

As you can see, your maxvolumejobs is 0. It needs to be two. Somewhere
between changing the value, updating the volumes, etc., this did not happen.

=R

Alan Messias wrote:
> Here you are the llist media pool :
>
> *llist media pool=PoolQuartaNoite
>           mediaid: 72
>        volumename: FitaQuarta2
>              slot: 0
>            poolid: 12
>         mediatype: DDS-3
>      firstwritten: 2009-03-26 08:21:42
>       lastwritten: 2009-03-26 08:43:57
>         labeldate: 2009-03-26 08:21:42
>           voljobs: 1
>          volfiles: 1
>         volblocks: 13,155
>         volmounts: 54
>          volbytes: 848,719,872
>         volerrors: 0
>         volwrites: 4,187,289
>  volcapacitybytes: 0
>         volstatus: Append
>           enabled: 1
>           recycle: 1
>      volretention: 518,400
>    voluseduration: 0
>        maxvoljobs: 0
>       maxvolfiles: 0
>       maxvolbytes: 0
>         inchanger: 0
>           endfile: 0
>          endblock: 13,155
>          volparts: 0
>         labeltype: 0
>         storageid: 3
>          deviceid: 0
>        locationid: 0
>      recyclecount: 51
>      initialwrite:
>     scratchpoolid: 0
>     recyclepoolid: 0
>           comment:
>
> Thanks,
> Alan MeC Lacerda
>
> On Wed, Apr 1, 2009 at 2:24 PM, Ryan Novosielski <novosirj AT umdnj DOT edu
> <mailto:novosirj AT umdnj DOT edu>> wrote:
>
> The option that makes it mark a tape as "Used" is not the retention
> time, it's the Max Jobs. You might want to use "Volume Use Duration"
> instead so you don't have to modify this every time you add a job.
>
> In any case, you need to focus on that instead. I think what you can do
> is an llist media or show (I forget the options) to show us the values
> of MaxJobs and VolumeUseDuration or other.
>
> This works perfectly, so it's just a configuration problem.
>
> Alan Messias wrote:
>> i add the 5 days yesterday only to make a test. but it didnt work,
> that
>> is why i didnt change all the tapes to 5 days.
>
>> On Wed, Apr 1, 2009 at 2:01 PM, John Drescher
> <drescherjm AT gmail DOT com <mailto:drescherjm AT gmail DOT com>
>> <mailto:drescherjm AT gmail DOT com <mailto:drescherjm AT gmail DOT com>>> wrote:
>
>>     2009/4/1 Alan Messias <alancordeiro AT gmail DOT com
> <mailto:alancordeiro AT gmail DOT com>
>>     <mailto:alancordeiro AT gmail DOT com <mailto:alancordeiro AT gmail DOT com>>>:
>>     > Yeah,
>>     >
>>     > I checked this. This is the tape that i'll use tonight:
>>     >
>>     > *list media pool=PoolQuartaNoite
>>     >
>
> +---------+-------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>     > | mediaid | volumename  | volstatus | enabled | volbytes    |
>>     volfiles |
>>     > volretention | recycle | slot | inchanger | mediatype |
> lastwritten
>>     > |
>>     >
>
> +---------+-------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>     > |      72 | FitaQuarta2 | Append    |       1 | 848,719,872
> |        1
>>     > |      518,400 |       1 |    0 |         0 | DDS-3     |
> 2009-03-26
>>     > 08:43:57 |
>>     >
>
> +---------+-------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
>>     >
>>     > Today mnorning i checked this for the tape i used. and it
> was the
>>     same.
>>     > yesterday i tried change the retention from 6 days to 5
> days. But
>>     it didnt
>>     > recycle the tape again. Just append.
>>     >
>
>>     When did you add the "Maximum Volume Jobs = 2"? Today? Also
>>     volretention of 518,400 seconds = 6 days.
>
>>     John
>
>
>
>
>> --
>> http://www.redesfja.com UNIX-Like and Soluções de Rede
>> "-"-"-"-"-"-" Of course it runs NetBSD "-"-"-"-"-"-"
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
>
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
> <mailto:Bacula-users AT lists.sourceforge DOT net>
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
<mailto:Bacula-users AT lists.sourceforge DOT net>
https://lists.sourceforge.net/lists/listinfo/bacula-users




> --
> http://www.redesfja.com UNIX-Like and Soluções de Rede
> "-"-"-"-"-"-" Of course it runs NetBSD "-"-"-"-"-"-"

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ06ztmb+gadEcsb4RAq8iAJ95WrKSDjo0hfdDkBHXn6pKLVn+GACcDQdP
zsUHr55eCHUSq5Qgajp9O4M=
=nbI5
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
http://www.redesfja.com UNIX-Like and Soluções de Rede
"-"-"-"-"-"-" Of course it runs NetBSD "-"-"-"-"-"-"
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>