Using Robinhood to Manage Files on Peregrine
Standard Linux file system tools to find files or look at how much space your files use can cause performance problems with Lustre file systems. We provide access to a tool called Robinhood, which you can use to manage your files.
First you will need to load the module for robinhood in order to use the tools:
$ module load robinhood
Here are some usage examples:
To find all the files on /projects that you own:
$ rbh-find -f project.conf -user $USER /projects
To find all the files on /scratch that you own:
$ rbh-find -f scratch.conf -user $USER /scratch
To find how much space you are using on /projects
$ rbh-du -H -f project.conf -u $USER /projects
To find how much space you are using on /scratch:
$ rbh-du -H -f scratch.conf -u $USER /scratch
File purging on /scratch uses last access time to determine which files are eligible to be purged. To show files that have not been accessed on /scratch in 28 days run the following command:
$ rbh-find -f scratch.conf -u $USER -ls -print -atime +28 /scratch
By using the variable $USER, the robinhood scripts will look for files owned by the account specified in that variable. You can use another username if you are not the primary owner of the files.
Help is available for both commands and their parameter usage.