Method and electronic device for executing data reading/writing in volume migration
AssigneeAccelstor Technologies Ltd
InventorsPao-Chien Li, Shih-Chiang Tsao
Life of this patent
Estimating the term…
Abstract
A method and an electronic device for executing data reading/writing in volume migration are provided. The method includes: preventing a read/write action on a first volume; switching an execution object of the read/write action to a brand new second volume; releasing the read/write action so that the read/write action is executed on the second volume; and migrating data in the first volume to the second volume, and during migration, if the second volume already has data, skipping migrating content at a corresponding address in the first volume to the second volume.
Claims10
A method for executing data reading/writing in volume migration, comprising:
- preventing a read/write action on a first volume during a temporary period before migrating data from the first volume to a brand new second volume, wherein an execution object of the read/write action is the first volume;
- switching the execution object of the read/write action from the first volume to the second volume in the temporary period;
- releasing the read/write action at the end of the temporary period so that the read/write action is executed on the second volume after the temporary period;
- and
- migrating data in the first volume to the second volume, and during migration, skipping migrating a first content at a first address in the first volume to the second volume if the second volume already has second content at a second address which the first content will be migrated to.
An electronic device for executing data read/write in volume migration, comprising:
- a storage module, comprising a plurality of volumes, wherein the plurality of volumes comprises a first volume and a second volume;
- and
- a control module, performing the method for executing data reading/writing in volume migration, wherein the method comprises:
- preventing a read/write action on a first volume during a temporary period before migrating data from the first volume to a brand new second volume, wherein an execution object of the read/write action is the first volume;
- switching the execution object of the read/write action from the first volume to the second volume in the temporary period;
- releasing the read/write action at the end of the temporary period so that the read/write action is executed on the second volume after the temporary period;
- and
- migrating data in the first volume to the second volume, and during migration, skipping migrating a first content at a first address in the first volume to the second volume if the second volume already has second content at a second address which the first content will be migrated to.
Dependencies are inferred from the claim text.