A method for controlling a data storage apparatus, the method comprising:
- calculating a ratio of each of a plurality of data blocks, which are classified according to a plurality of pieces of dimension information in the data stored in two or more of a plurality of media, to the data, the plurality of media being included in a second storage device and being to store data stored in a first storage device;
- determining, based on the calculated ratio, whether the data block is to be duplicated;
- and
- generating a duplicate of a data block determined to be duplicated and storing the generated duplicate into another medium of the plurality of media except for the two or more media.