Hi All,

Is it possible to specify a construct in the config file to
automatically generate fileclasses based on path?

I'd like to be able to define a set fileclass per project, and on our
filesystem we have directories laid out as follows

/scratch/project01/user01/
/scratch/project01/user02/
/scratch/project01/user03/
/scratch/project02/user04/
/scratch/project02/user05/
/scratch/project02/user06/
...
/scratch/projectXX/username/

where the same username can be in one or more projects

Sure I can manually create these in the config file along the lines of

Filesets {
  FileClass project01 { Definition {  tree == "/scratch/project01" } }
  FileClass project02 { Definition {  tree == "/scratch/project02" } }
  FileClass project03 { Definition {  tree == "/scratch/project03" } }
  ..
  FileClass projectNN { Definition {  tree == "/scratch/projectXX" } }
}

but is there a better way to do it that won't get lost whenever we
create a new project? The use case for this is that we normally apply
a default 30d policy for purging, some groups have special exemptions
for a longer time - at the moment these are lumped into

# 90d day exemption
FileClass p90d {
            Definition { (  tree == "/scratch/project0123" # issue###
or  tree == "/scratch/project0297" # issue###
or  tree == "/scratch/project0169" # issue###
...
       )
}

but I'd really like to be able to see a breakdown by project quickly
-- it'll help us pick up those that never seem to have any files
purged (*cough* /bin/touch) rather than our coarse grained 30/90d
policies that we have at the moment


Many thanks
Andrew

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to