How does FolderSizes handle offline files?

Windows Server and some third-party hierarchical storage management (HSM) systems provide offline file management capabilities, allowing policies to be established which cause old or infrequently used files to be moved to cheaper and slower storage systems. In such cases, the original file is replaced with a small “stub” file that resolves to the new location.

So how does FolderSizes report on such files? Typically an offline stub file will occupy a single cluster on the file system – and that’s exactly what FolderSizes (correctly) reports in the vast majority of cases.

However, we have seen rare instances where the size of offline stub files was reported incorrectly. In order to understand this scenario, it’s important to know that (by default) FolderSizes assigns itself  backup and restore privileges whenever possible. It does this in order to decrease the likelihood of permissions issues, thereby improving visibility into the target file system.

However, occasionally we’ve run across HSM appliances that report the size of stub files in terms of their original values (before the file was moved offline) when queried by an application with backup/restore privileges assigned, assumedly because this would be the size occupied by a backup. This can be a problem for FolderSizes, since we want to know actual disk space usage for files on the storage device (not their offline file sizes).

FolderSizes offers a couple potential workarounds for this problem. First, in Options | Scanning, users can elect to disable the assignment of backup/restore privileges to FolderSizes, which will usually fix the problem at its source. The same option screen also allows users to explicitly set the allocated size of offline files according to some predefined value (a single cluster, 4Kb, 8Kb, or 16Kb), which can be used to work around the problem.

Finally, it might be worth noting that FolderSizes will never trigger the retrieval of offline files during the course of any analysis or reporting process (generally a process must read from or write to an offline file in order to trigger a recall).

posted by Mark Richards at 7:39 pm

SAFE. TRUSTED. GUARANTEED.

  • 100% malware free
  • 100% spyware free
  • 100% adware free
  • 100% quality software