File System Purging: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==SCRATCH Filesystem==
==SCRATCH Filesystem==
The SCRATCH filesystem (mounted under the /scratch directory) is subject to the 30-day file purge rule. Any file that has not be accessed in over than 30 days will be purged. In order to help users identify old files in their /scratch directory, we generate one file per user, every morning. This file, namely /usr/local/var/lustre_stats/$USER.over30d.files.lst (where $USER refers to the user's UGA MyID), contains a list of all the files that this user has in his/her /scratch directory and that have not been accessed in over 30 days. This file provides the full path, the last accessed date, and the size of the files that have not been accessed in over 30 days.The /scratch filesystem updates the file access time once in 5 days. The last accessed time in the file is approximate and could be off by up to 5 days. The purging system understands this and will make sure the access time falls within the purge window before deleting the file.
The SCRATCH filesystem (mounted under the /scratch directory) is subject to the 30-day file purge rule. Any file that has not been accessed in over 30 days will be purged. The purge process deletes files but not directories.
During the purge only files are deleted, the directories will be left alone. Please let us know if you have any questions.
 
In order to help users identify old files in their /scratch directory, we generate one file per user, every morning. This file, namely /usr/local/var/lustre_stats/$USER.over30d.files.lst (where $USER refers to the user's UGA MyID), contains a list of all the files that this user has in his/her /scratch directory and that have not been accessed in over 30 days. This file provides the full path, the last accessed date, and the size of the files that have not been accessed in over 30 days. Because the /scratch filesystem only updates on-disk file access times every 5 days, the last accessed time reported in that list file is approximate and could be off by up to 5 days. The purging system understands this and will make sure the access time falls within the purge window before deleting the file.

Latest revision as of 17:03, 31 January 2019

SCRATCH Filesystem

The SCRATCH filesystem (mounted under the /scratch directory) is subject to the 30-day file purge rule. Any file that has not been accessed in over 30 days will be purged. The purge process deletes files but not directories.

In order to help users identify old files in their /scratch directory, we generate one file per user, every morning. This file, namely /usr/local/var/lustre_stats/$USER.over30d.files.lst (where $USER refers to the user's UGA MyID), contains a list of all the files that this user has in his/her /scratch directory and that have not been accessed in over 30 days. This file provides the full path, the last accessed date, and the size of the files that have not been accessed in over 30 days. Because the /scratch filesystem only updates on-disk file access times every 5 days, the last accessed time reported in that list file is approximate and could be off by up to 5 days. The purging system understands this and will make sure the access time falls within the purge window before deleting the file.