CPC G06F 3/0659 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0673 (2013.01); G06F 11/1469 (2013.01); G11B 20/1217 (2013.01); H03M 13/154 (2013.01); G06F 2201/82 (2013.01); G11B 2020/1238 (2013.01); G11B 2020/1292 (2013.01)] | 17 Claims |
1. A data storage method comprising:
after a data failure occurs in a second memory, recovering first data associated with the second memory of a storage system to obtain the first data, and obtaining an expiration time of the recovered first data associated with the second memory of the storage system;
selecting, based on the expiration time of the recovered first data, a target storage area from a plurality of storage areas, wherein the plurality of storage areas belong to at least one first memory of the storage system; and
sending at least a portion of the recovered first data to a first memory in which the target storage area is located, wherein
after the at least a portion of the recovered first data is stored in the target storage area, the expiration time of the at least a portion of the recovered first data is between an earliest expiration time and a latest expiration time in expiration time of old data stored in the target area.
|