In a distributed computer having a primary storage device, a secondary storage device and a policy engine server, the policy engine server being configured to manage migration of files between the primary storage device and the secondary storage device by migrating data files on the primary storage device to the secondary storage device and replacing the data files on the primary storage device with placeholder files, a computer program product configured to implement a method of locating and eliminating placeholder files within the primary storage device that are not properly referenced by secondary files stored on the secondary storage device, the computer program product comprising one or more computer readable media having stored thereon computer executable instructions that, when executed by a processor, cause the policy engine server to perform the following:
- identify a placeholder file on a primary storage device that has replaced a data file, the placeholder file including an offline reference to the data file stored as a secondary file on the secondary storage device, wherein the offline reference includes a content address of the secondary file;
- identify the secondary file on the secondary storage device using the content address of the secondary file included in the offline reference of the placeholder file;
- identify an online reference of the secondary file, wherein the online reference includes an address to a particular placeholder file stored on the primary storage device;
- determine that the placeholder file is a missing parent when the particular placeholder file is not the placeholder file;
- and
- notify a user of the policy engine server when the online reference of the secondary file does not properly reference the placeholder file or the file identification data of the placeholder file.