Scratch purging policy: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Marked this version for translation)
No edit summary
Line 18: Line 18:
<!--T:5-->
<!--T:5-->
Note that simply copying or using the <tt>rsync</tt> command to displace your files will update the <tt>atime</tt> for the original data on scratch, making them ineligible for deletion. Once you have put the data in another location please delete the original files and directories in scratch instead of depending on the automatic purging.
Note that simply copying or using the <tt>rsync</tt> command to displace your files will update the <tt>atime</tt> for the original data on scratch, making them ineligible for deletion. Once you have put the data in another location please delete the original files and directories in scratch instead of depending on the automatic purging.
=How/where to check which files are slated for purging=
On each cluster go to the paths indicated below, and look for the file with your name.
cedar: /scratch/scratch_to_delete/
beluga: /scratch/to_delete/
graham: /scratch/to_delete
niagara: /scratch/t/to_delete (link to /scratch/t/todelete/current)
The files will contain a list of filenames with full path, possibly other information about atime, size, etc
These files are updated only on the 1st the 12th of each month. If a file with your name is there you have candidates slated for purging. If your name is not there then there is nothing to be purged.
If you access/read some of the candidates and reset the atime between the 1st and the 11th, there still won't be any change in the assessment until the 12th.
If you access/read some of the candidates and reset the atime after the 12th, then you have to check yourself to confirm your files won't be purged on the 15th. For that you may use the command "ls -lu <file>" for all files of interest, to verify the atime has been reset.


= How do I check the age of a file? = <!--T:6-->
= How do I check the age of a file? = <!--T:6-->
cc_staff
290

edits

Navigation menu