Data migration method
AssigneeFujitsu Limited
InventorsNorio Kondo, Satoshi Konno, Ken-ichiroh Tango
Life of this patent
Estimating the term…
Abstract
A storage apparatus for controlling a storage unit includes a cache memory for temporarily storing data to be stored in the storage unit, and a processor for executing a process including receiving unit data which is divided from data to be migrated, calculating first checksum data from the received unit data, storing the unit data and the first checksum data to the cache memory, reading out the stored unit data and the first checksum data from the cache memory, calculating second checksum data from the read out unit data, storing the unit data to the storage unit, and determining whether data migration has been performed properly by comparing the first checksum data to the second checksum data.
Claims23
A system comprising:
- a first memory configured to store data that has been divided into a plurality of unit data, and
- a processor coupled to the memory to execute a process including:
- receiving the plurality of unit data;
- calculating, for each of the plurality of unit data, a first checksum;
- calculating a first cumulative value, the first cumulative value being a sum of each first checksum;
- first storing the plurality of unit data to the first memory;
- first reading the plurality of unit data from the first memory;
- calculating, for each of the plurality of unit data read by the first reading, a second checksum;
- calculating a second cumulative value, the second cumulative value being a sum of each second checksum;
- first comparing the first cumulative value to the second cumulative value to determine whether data migration has been properly performed;
- and
- second comparing the first checksum to the second checksum corresponding to the first checksum when the first cumulative value and the second cumulative value do not match based on the first comparing.
A method of controlling a system, the method comprising:
- receiving a plurality of unit data, the plurality of unit data being portions of data that has been divided into the plurality of unit data;
- calculating, for each of the plurality of unit data, a first checksum;
- calculating a first cumulative value, the first cumulative value being a sum of each first checksum;
- first storing the plurality of unit data;
- first reading the plurality of unit data stored by the first storing;
- calculating, for each of the plurality of unit data read by the first reading, a second checksum;
- calculating a second cumulative value, the second cumulative value being a sum of each second checksum;
- first comparing the first cumulative value to the second cumulative value to determine whether data migration has been properly performed;
- and
- second comparing the first checksum to the second checksum corresponding to the first checksum when the first cumulative value and the second cumulative value do not match based on the first comparing.
A non transitory medium storing a program executed by a system including a storage apparatus including a first storage unit and a cache memory to temporarily store data to be stored in the first storage unit, the system executing a process by executing the program, the process comprising:
- receiving a plurality of unit data, the plurality of unit data being portions of data that has been divided into the plurality of unit data;
- calculating, for each of the plurality of unit data, a first checksum;
- calculating a first cumulative value, the first cumulative value being a sum of each first checksum;
- first storing the plurality of unit data into the cache memory;
- first reading the plurality of unit data from the cache memory;
- calculating, for each of the plurality of unit data read by the first reading, a second checksum;
- calculating a second cumulative value, the second cumulative value being a sum of each second checksum;
- first comparing the first cumulative value to the second cumulative value to determine whether data migration has been properly performed;
- and
- second comparing the first checksum to the second checksum corresponding to the first checksum when the first cumulative value and the second cumulative value do not match based on the first comparing.
Dependencies are inferred from the claim text.