Hello,
I try to set up our Robin hood instance on fhgfs.
We have one folder which content and tree should be purged when file creation
time is older than 30d.
The rest of the files should be under no circumstances be purged.
I put together the following conf file:
...
Purge_Trigger {
trigger_on = periodic;
check_interval = 1d;
}
Purge_Parameters {
nb_threads_purge = 4;
post_purge_df_latency = 1min;
db_result_size_max = 10000;
recheck_ignored_classes = true;
}
Filesets {
FileClass scratchFolderMonthOld {
Definition {
tree == "/fhgfs/scratch"
and
creation > 30d
}
}
}
rmdir_policy {
recursive_rmdir {
tree == "/fhgfs/scratch"
and last_mod > 30d
}
}
rmdir_parameters {
# Interval for performing empty directory removal
runtime_interval = 1d ;
# Number of threads for performing rmdir operations
nb_threads_rmdir = 4 ;
}
Purge_policies {
policy scratchPolicy
{
target_fileclass = scratchFolderMonthOld;
condition {
last_access > 1h
and
last_mod > 2h
}
}
}
However, robinhood complains about that a default policy is missing.
Am I able to write a ignore condition for the rest of the files?:
Purge_policies {
policy default
{
Condition { ignore }
}
policy scratchPolicy
{
target_fileclass = scratchFolderMonthOld;
condition {
last_access > 1h
and
last_mod > 2h
}
}
}
Thanks a lot,
Michael
_________________________________
Michael Ruepp
Scientific Cluster Support
_________________________________
CeMM
Research Center for Molecular Medicine
of the Austrian Academy of Sciences
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support