Patent ID: 9489133
Filing Date: 2016-11-08
CPC Classification: G06F

Claim Text:
1. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to: determine a preliminary number of clusters to be generated for sets of data objects stored on an internal storage system based on a number of the sets of data objects; generate the preliminary number of clusters based on shortest distances between the sets of data objects, wherein each cluster comprises one or more sets of data objects and wherein each set of data objects comprises one or more chunks of data; identify a chosen cluster from a set of clusters by identifying a cluster having a greatest number of common chunks within a smallest number of data objects; determine whether an export-size of the chosen cluster exceeds an available storage capacity of the removable storage system; responsive to the export-size of the chosen cluster failing to exceed the available storage capacity of the removable storage system, export the chosen cluster to the removable storage system; determine whether the export-size of the chosen cluster exceeds the available capacity of the removable storage system minus a predefined safety margin; responsive to the export-size of the chosen cluster exceeding the available capacity of the removable storage system minus the predefined safety margin, export the chosen cluster to the removable storage system; responsive to the export-size of the chosen cluster failing to exceed the available capacity of the removable storage system minus the predefined safety margin, determine whether there are additional sets of data objects still to migrate/copy; responsive to the existence of the additional sets of data objects still to migrate/copy, add a next set of data objects with a next shortest distance to the sets of data objects already in the cluster to the chosen cluster; determine whether the export-size of the chosen cluster exceeds the available storage capacity of the removable storage system; and responsive to the export-size of the chosen cluster failing to exceed the available storage capacity of the removable storage system, export the chosen cluster to the removable storage system.