Page tree
Skip to end of metadata
Go to start of metadata

Problem

Old files in /scratch were deleted.

Solution

The Scratch Purge Policy is that files in /scratch not used within the last 30 days may be deleted.

Note that:

  • Some files in a directory may get deleted while others remain.  It depends on what was accessed in the last 30 days.
  • When copying/rsyncing/untarring files, be sure not to retain original timestamps.  Otherwise the files might be immediately eligible for purging.
  • There are multiple timestamps for files - last access, last modification, and creation.  Purging is based on access time.  "ls -l" by default shows modification time.  You should use the "-u" flag to see last access time.  "ls -ltu" is recommended.