Tiering-aware snapshotting for multiple-tier storage systems
An apparatus comprises at least one processing device configured to determine, for a given portion of data of a tiering-aware snapshot that is to be restored to a target storage system comprising a set of two or more storage tiers, tiering information characterizing a given storage tier in which the given portion of data was stored when the tiering-aware snapshot was taken. The at least one processing device is also configured to select, based at least in part on the determined tiering information and storage tier mapping policies mapping the given storage tier to the set of two or more storage tiers of the target storage system, one of the storage tiers of the target storage system. The at least one processing device is further configured to restore the tiering-aware snapshot to the target storage system by storing the given portion of data in the selected storage tier.
1 . An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
the at least one processing device being configured:
to determine, for a given portion of data of a tiering-aware snapshot that is to be restored to a target storage system, tiering information characterizing a given one of a first set of two or more storage tiers of a source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system;
to select, based at least in part on (i) the determined tiering information characterizing the given storage tier of the source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system and (ii) one or more storage tier mapping policies mapping the given storage tier of the source storage system to a second set of two or more storage tiers of the target storage system, one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system; and
to restore the tiering-aware snapshot to the target storage system by storing the given portion of data in the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system;
wherein the first set of two or more storage tiers of the source storage system provide a first set of two or more different performance levels and the second set of two or more storage tiers of the target storage system provide a second set of two or more different performance levels; and
wherein the one or more storage tier mapping policies map each storage tier in the first set of two or more storage tiers of the source storage system to one or more storage tiers in the second set of two or more storage tiers of the target storage system based at least in part on:
available capacity of storage tiers in the second set of two or more storage tiers; and
matching the second set of two or more different performance levels of storage tiers in the second set of two more storage tiers of the target storage system with the first set of two or more different performance levels of storage tiers in the first set of two or more storage tiers of the source storage system.
2 . The apparatus of claim 1 wherein the at least one processing device is further configured to generate the tiering-aware snapshot.
3 . The apparatus of claim 2 wherein generating the tiering-aware snapshot comprises:
identifying, for each of a plurality of portions of data of one or more storage volumes, tiering information characterizing a storage tier in which that portion of the data of the one or more storage volumes is stored on the source storage system at the time the tiering-aware snapshot is taken;
generating tiering-aware snapshot metadata for the tiering-aware snapshot, the tiering-aware snapshot comprising the identified tiering information; and
associating the generated tiering-aware snapshot metadata with a snapshot of the one or more storage volumes.
4 . The apparatus of claim 3 wherein the first set of one or more storage tiers of the source storage system is different than the second set of two or more storage tiers of the target storage system.
5 . The apparatus of claim 4 wherein the one or more storage tier mapping policies map respective ones of the storage tiers in the first set of two or more storage tiers of the source storage system to ones of the storage tiers in the second set of two or more storage tiers of the target storage system based at least in part on storage device types of storage devices providing storage capacity for the storage tiers of the first set of two or more storage tiers of the source storage system and the storage tiers of the second set of two or more storage tiers of the target storage system.
6 . The apparatus of claim 1 wherein the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system provides a same performance level as the given storage tier of the first set of two or more storage tiers of the source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system.
7 . The apparatus of claim 1 wherein selecting the one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system comprises determining a current storage tier in the second set of two or more storage tiers of the target storage system in which the given portion of data is stored prior to restoring the tiering-aware snapshot.
8 . The apparatus of claim 7 wherein selecting the one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system comprises, responsive to the current storage tier being different than the given storage tier, determining whether a first performance level provided by the current storage tier is higher than a second performance level provided by the given storage tier.
9 . The apparatus of claim 8 wherein selecting the one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system comprises, responsive to determining that the first performance level provided by the current storage tier is higher than the second performance level provided by the given storage tier, selecting the current storage tier as the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system.
10 . The apparatus of claim 8 wherein selecting the one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system comprises, responsive to determining that the first performance level provided by the current storage tier is lower than the second performance level provided by the given storage tier, selecting the given storage tier as the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system.
11 . The apparatus of claim 1 wherein restoring the tiering-aware snapshot to the target storage system comprises mounting one or more storage volumes associated with the tiering-aware snapshot as read/write storage volumes on the target storage system.
12 . The apparatus of claim 1 wherein restoring the tiering-aware snapshot to the target storage system comprises moving the given portion of data from another one of the storage tiers in the second set of two or more storage tiers of the target storage system to the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system.
13 . The apparatus of claim 1 wherein restoring the tiering-aware snapshot to the target storage system comprises, responsive to the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system not having sufficient available capacity for the given portion of data, selecting another storage tier in the second set of two or more storage tiers of the target storage system on which to store the given portion of data based at least in part on the one or more storage tier mapping policies.
14 . The apparatus of claim 13 wherein the selected other one of the second set of two or more storage tiers of the target storage system provides a performance level that is closest to a performance level of the selected one of the second set of two or more storage tiers of the target storage system.
15 . A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes the at least one processing device:
to determine, for a given portion of data of a tiering-aware snapshot that is to be restored to a target storage system, tiering information characterizing a given one of a first set of two or more storage tiers of a source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system;
to select, based at least in part on (i) the determined tiering information characterizing the given storage tier of the source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system and (ii) one or more storage tier mapping policies mapping the given storage tier of the source storage system to a second set of two or more storage tiers of the target storage system, one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system; and
to restore the tiering-aware snapshot to the target storage system by storing the given portion of data in the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system;
wherein the first set of two or more storage tiers of the source storage system provide a first set of two or more different performance levels and the second set of two or more storage tiers of the target storage system provide a second set of two or more different performance levels; and
wherein the one or more storage tier mapping policies map each storage tier in the first set of two or more storage tiers of the source storage system to one or more storage tiers in the second set of two or more storage tiers of the target storage system based at least in part on:
available capacity of storage tiers in the second set of two or more storage tiers; and
matching the second set of two or more different performance levels of storage tiers in the second set of two more storage tiers of the target storage system with the first set of two or more different performance levels of storage tiers in the first set of two or more storage tiers of the source storage system.
16 . The computer program product of claim 15 wherein the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system provides a same performance level as the given storage tier of the first set of two or more storage tiers of the source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system.
17 . The computer program product of claim 15 wherein restoring the tiering-aware snapshot to the target storage system comprises moving the given portion of data from another one of the storage tiers in the second set of two or more storage tiers of the target storage system to the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system.
18 . A method comprising:
determining, for a given portion of data of a tiering-aware snapshot that is to be restored to a target storage system, tiering information characterizing a given one of a first set of two or more storage tiers of a source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system;
selecting, based at least in part on (i) the determined tiering information characterizing the given storage tier of the source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system and (ii) one or more storage tier mapping policies mapping the given storage tier of the source storage system to a second set of two or more storage tiers of the target storage system, one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system; and
restoring the tiering-aware snapshot to the target storage system by storing the given portion of data in the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system;
wherein the first set of two or more storage tiers of the source storage system provide a first set of two or more different performance levels and the second set of two or more storage tiers of the target storage system provide a second set of two or more different performance levels;
wherein the one or more storage tier mapping policies map each storage tier in the first set of two or more storage tiers of the source storage system to one or more storage tiers in the second set of two or more storage tiers of the target storage system based at least in part on:
available capacity of storage tiers in the second set of two or more storage tiers; and
matching the second set of two or more different performance levels of storage tiers in the second set of two more storage tiers of the target storage system with the first set of two or more different performance levels of storage tiers in the first set of two or more storage tiers of the source storage system; and
wherein the method is performed by at least one processing device comprising a processor coupled to a memory.
19 . The method of claim 18 wherein the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system in which to store the given portion of data when restoring the tiering-aware snapshot to the target storage system provides a same performance level as the given storage tier of the first set of two or more storage tiers of the source storage system in which the given portion of data was stored when the tiering-aware snapshot was taken on the source storage system.
20 . The method of claim 18 wherein restoring the tiering-aware snapshot to the target storage system comprises moving the given portion of data from another one of the storage tiers in the second set of two or more storage tiers of the target storage system to the selected one of the storage tiers in the second set of two or more storage tiers of the target storage system.