Hi all,

I think the attribute Recycle Oldest Volume = yes is not working properly.
Why the directory has recicled the media named Cofre-06 if the media
Cofre-02 has attribute LastWriten oldest?
I am using bacula with mysql version 5.0.2-1 in Red Hat Enterprise Linux
5.5.

*list volumes pool=Cofre
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes          | VolFiles
| VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten         |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+
*|      32 | Cofre-02   | Full      |       1 | 1,193,597,029,651 |      298
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2010-11-07
05:00:07 |*
|      33 | Cofre-03   | Full      |       1 | 1,186,538,314,752 |      343
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2010-12-07
20:48:25 |
|      34 | Cofre-04   | Full      |       1 | 1,296,954,473,472 |      880
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-03-10
12:16:34 |
|      35 | Cofre-05   | Full      |       1 | 1,184,582,181,888 |      340
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-03-10
19:24:14 |
*|      36 | Cofre-06   | Recycle   |       1 |                 1 |        0
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2010-12-07
14:24:43 |*
|      96 | Cofre-01   | Full      |       1 | 1,290,146,522,112 |      646
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2010-12-20
08:47:09 |
|      97 | Cofre-07   | Full      |       1 | 1,424,197,619,712 |    1,005
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-01-03
08:37:14 |
|      98 | Cofre-08   | Full      |       1 | 1,124,968,642,560 |      425
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-01-03
15:04:19 |
|      99 | Cofre-09   | Full      |       1 | 1,334,335,629,312 |    1,032
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-01-24
07:54:10 |
|     100 | Cofre-10   | Full      |       1 | 1,325,304,529,920 |      868
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-02-07
09:06:21 |
|     101 | Cofre-11   | Full      |       1 | 1,237,438,024,704 |      763
|    5,184,000 |       1 |    0 |         0 | LTO-4     | 2011-02-17
07:44:29 |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+
*


Here is my pool configuration.

Pool {
  Name = Cofre
  Pool Type = Backup
  Storage = LTO-4
  Recycle = yes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days          # 30 days
  Recycle Oldest Volume = yes
}

*show pool=Cofre
Pool: name=Cofre PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=1 month
      VolUse=0 secs recycle=1 LabelFormat=*None*
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=1 PurgeOldest=0 ActionOnPurge=0
      MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
      JobRetention=0 secs FileRetention=0 secs
  --> Storage: name=LTO-4 address=192.168.0.5 SDport=9103 MaxJobs=1
      DeviceName=LTO-4 MediaType=LTO-4 StorageId=2


Kleber
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to