MIGRATING DATA ACROSS STORAGES WITH DISSIMILAR ALLOCATION SIZES
First Claim
1. A method for migrating data across storages with dissimilar allocation sizes, the method comprising:
- determining, by a processor at a first data processing system, a minimum allocation unit size used for allocating space to a data at a source data storage device;
computing, by a processor at a first data processing system, a number of first minimum allocation units of a first minimum allocation unit size at a target data storage device, wherein the number of first minimum allocation units can be completely occupied by a portion of the data;
computing, by a processor at a first data processing system, an amount of data left over after excluding the portion of the data from the data;
migrating, by a processor at a first data processing system, the portion of the data to the number of first minimum allocation units at the target; and
migrating, by a processor at a first data processing system, the amount of data left over to a second number of second minimum allocation units of a second minimum allocation unit size at the target.
2 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for migrating data across storages with dissimilar allocation sizes are provided in the illustrative embodiments. A determination is made of a minimum allocation unit size used for allocating space to a data at a source data storage device. A number of first minimum allocation units of a first minimum allocation unit size at a target data storage device is computed, wherein the number of first minimum allocation units can be completely occupied by a portion of the data. An amount of data left over after excluding the portion of the data from the data is computed. The portion of the data is migrated to the number of first minimum allocation units at the target. The amount of data left over is migrated to a second number of second minimum allocation units of a second minimum allocation unit size at the target.
-
Citations
20 Claims
-
1. A method for migrating data across storages with dissimilar allocation sizes, the method comprising:
-
determining, by a processor at a first data processing system, a minimum allocation unit size used for allocating space to a data at a source data storage device; computing, by a processor at a first data processing system, a number of first minimum allocation units of a first minimum allocation unit size at a target data storage device, wherein the number of first minimum allocation units can be completely occupied by a portion of the data; computing, by a processor at a first data processing system, an amount of data left over after excluding the portion of the data from the data; migrating, by a processor at a first data processing system, the portion of the data to the number of first minimum allocation units at the target; and migrating, by a processor at a first data processing system, the amount of data left over to a second number of second minimum allocation units of a second minimum allocation unit size at the target. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product for migrating data across storages with dissimilar allocation sizes, the computer program product comprising:
-
one or more computer-readable tangible storage devices; program instructions, stored on at least one of the one or more storage devices, to determine a minimum allocation unit size used for allocating space to a data at a source data storage device; program instructions, stored on at least one of the one or more storage devices, to compute a number of first minimum allocation units of a first minimum allocation unit size at a target data storage device, wherein the number of first minimum allocation units can be completely occupied by a portion of the data; program instructions, stored on at least one of the one or more storage devices, to compute an amount of data left over after excluding the portion of the data from the data; program instructions, stored on at least one of the one or more storage devices, to migrate the portion of the data to the number of first minimum allocation units at the target; and program instructions, stored on at least one of the one or more storage devices, to migrate the amount of data left over to a second number of second minimum allocation units of a second minimum allocation unit size at the target. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer system for migrating data across storages with dissimilar allocation sizes, the computer system comprising:
-
one or more processors, one or more computer-readable memories and one or more computer-readable tangible storage devices; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to determine a minimum allocation unit size used for allocating space to a data at a source data storage device; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to compute a number of first minimum allocation units of a first minimum allocation unit size at a target data storage device, wherein the number of first minimum allocation units can be completely occupied by a portion of the data; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to compute an amount of data left over after excluding the portion of the data from the data; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to migrate the portion of the data to the number of first minimum allocation units at the target; and program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to migrate the amount of data left over to a second number of second minimum allocation units of a second minimum allocation unit size at the target. - View Dependent Claims (20)
-
Specification