Skip to main content

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 (this may take some time):

 $ rbh-find projects /projects

To find all the files on /scratch that you own (this may take some time):

$ rbh-find scratch /scratch

To find how much space you are using on /projects

$ rbh-du projects $USER /projects

To find how much space you are using on /scratch:

$ rbh-du scratch $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 (this may take some time):

$ rbh-find scratch /scratch -u $USER -ls -print -atime +28

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.