Hi,
We have been using Robinhood for regular clean up of our scratch space. It
works very well. At the beginning we didn't want to clean up any
directories for different reasons. Then users started complaining about it
and so I modified the configuration for Robinhood to do this.
But it looks like directory cleanup is not happening at all. I have pasted
the configuration below. I run Robinhood once a week as cronjob. This is
how I run it:
robinhood -P -R -O
I even tried running robinhood -P -O and then robinhood -R -O. But it looks
like directory cleanup didn't happen in both the cases. Am I doing
something wrong in my configuration or is there a way one could achieve
both file and directory removal at the same time?
The reason I'm asking this is that right now I'm not sure when would
robinhood would start deleting directories after cleaning all the files in
that directory (age_rm_empty_dirs is 1 minute).
Any help would be appreciated. Thank you in advance for your help.
rmdir_policy
{
# Remove directories that have been empty for more than 1 minute
age_rm_empty_dirs = 1min;
# don't remove dirs that owns to 'root' or whose depth < 2
Ignore
{
depth < 2
or last_access <= 60d
or tree == "/scratch/root"
or tree == "/scratch/cgsb"
or tree == "/scratch/work"
or owner == "root"
or type == symlink
}
#ignore_fileclass = hpc_admins;
}
Rmdir_Parameters
{
# Interval for performing empty directory removal
runtime_interval = 12h ;
# Number of threads for performing rmdir operations
nb_threads_rmdir = 8 ;
# Queue size (for leveraging rmdir threads load)
rmdir_queue_size = 256 ;
}
Sreedhar Manchu
HPC Systems Administrator
eSystems & Research Services
New York University, New York 10012
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support