Patent ID: 7818524

Claim:
A method of data migration for independent storage device expansion and adaptation, migrating user data of a first storage unit being pre-expanded or pre-adapted to relevant regions of a second storage unit being post-expanded or post-adapted in a plurality of batches, comprising: during each batch, providing a number corresponding to a start data stripe of the first storage unit, wherein the step for providing the number corresponding to the start data stripe further comprises: acquiring a start sector number; and calculating the number corresponding to the start data stripe using a formula, StartStripe=ABS(pStartSector/Nstripe), where “StartStripe” represents the number corresponding to the start data stripe, ABS( ) represents a function acquiring a absolute value, “pStartSector” represents the start sector number, and “Nstripe” represents a total number of sectors of each data stripe; determining a data stripe migration quantity; and duplicating and storing user data of data stripes of the determined data stripe migration quantity subsequent to and including the start data stripe of the first storage unit in relevant regions of the second storage unit, wherein, subsequent to duplicating and storing each batch, the user data of data stripes of the determined data stripe migration quantity subsequent to and including the start data stripe of the first storage unit is not overwritten; wherein the number of independent storage devices comprised in the second storage unit is equal to or larger than the number of independent storage devices comprised in the first storage unit.