Hi,

I've defined a new file class 'older_than_2m_and_greater_than_10G' :

Filesets
{
...
FileClass   between_0m_and_1m ...
FileClass   between_1m_and_3m ...
FileClass   between_3m_and_6m ...
FileClass   more_than_6m ...

FileClass   older_than_2m_and_greater_than_10G
    {
        definition
        {
            last_access > 60day
            and
            size > 10G
        }
    }
}

I've also modified my purge_policies :

purge_policies {
    ignore_fileclass = between_0m_and_1m;
    ignore_fileclass = between_1m_and_3m;
    ignore_fileclass = between_3m_and_6m;
    ignore_fileclass = more_than_6m;
    ignore_fileclass = older_than_2m_and_greater_than_10G;
}

I ran "rbh-config reset_classes" (it lasted 45 minutes), but an rbh-report
--class-info does not list my new FileClass :

$ time rbh-report -a --class-info
Using config file '/etc/robinhood.d/tmpfs/atlas_projets.conf'.
2014/07/08 11:59:30 [16069/1] WARNING: in FileClass 'between_0m_and_1m', line
97: time-based conditions should be specified in policy condition instead of
file class definition
2014/07/08 11:59:30 [16069/1] WARNING: in FileClass 'between_1m_and_3m', line
107: time-based conditions should be specified in policy condition instead of
file class definition
2014/07/08 11:59:30 [16069/1] WARNING: in FileClass 'between_3m_and_6m', line
117: time-based conditions should be specified in policy condition instead of
file class definition
2014/07/08 11:59:30 [16069/1] WARNING: in FileClass 'more_than_6m', line 125:
time-based conditions should be specified in policy condition instead of file
class definition
2014/07/08 11:59:30 [16069/1] WARNING: in FileClass
'older_than_2m_and_greater_than_10G', line 135: time-based conditions should be
specified in policy condition instead of file class definition

No purge was performed on this filesystem

purge class         ,      count,   spc_used,     volume,   min_size,
max_size,   avg_size
between_0m_and_1m   ,    7659808,   81.79 TB,   65.80 TB,          0,    1.60
TB,    9.01 MB
between_1m_and_3m   ,   13129128,   67.53 TB,   52.78 TB,          0,  252.76
GB,    4.22 MB
between_3m_and_6m   ,   35677415,  136.87 TB,  103.26 TB,          0,  287.12
GB,    3.03 MB
more_than_6m        ,   83691481,  282.47 TB,  215.79 TB,          0,  679.15
GB,    2.70 MB

Total: 140157832 entries, 481176603022252 bytes (437.63 TB)

real    8m5.348s
user    0m0.022s
sys     0m0.041s

Any ideas ?

Jean-Baptiste

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to