Phase three: Migrating and deleting files

In the third phase of the mmapplypolicy job, the candidate files that were chosen and scheduled by the second phase are migrated or deleted, each according to its applicable rule.

For migrations, if the applicable rule had a REPLICATE clause, the replication factors are also adjusted accordingly. It is acceptable for the effective FROM POOL and TO POOL to be the same because the mmapplypolicy command can be used to adjust the replication factors of files without necessarily moving them from one pool to another.

The migration performed in the third phase can involve large amounts of data movement. Therefore, you may want to consider using the –I defer option of the mmapplypolicy command, and then perform the data movements with the mmrestripefs -p command.