CPC G06F 16/125 (2019.01) [G06F 16/128 (2019.01); G06F 16/1844 (2019.01)] | 20 Claims |
1. A system, comprising:
a processor; and
a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, the operations comprising:
attaching, by a policy manager of the system, a protection policy associated with a rule to a storage object, wherein the rule is applicable to prevent redundant snapshot creation;
in response to the attaching of the protection policy to the storage object, triggering, by the policy manager, a first creation of a first snapshot of the storage object, and triggering, by the policy manager, a second creation of a second snapshot from the first snapshot, wherein the first snapshot and the second snapshot comprise identical snapshot information;
refreshing, using a snap engine control path process, the first snapshot to capture a difference between a current state of the storage object and a prior state of the storage object, wherein the first snapshot reflects the current state of the storage object and the second snapshot reflects the prior state of the storage object;
detecting, by a core logical engine of the system, based on the difference, uniquely allocated storage regions between the first snapshot and the second snapshot;
based on a determination of whether any extra bits of the uniquely allocated storage regions exist, determining whether to prevent a third creation of a third snapshot, wherein the third snapshot is external to the first snapshot and the second snapshot, wherein, based on the determination being that the extra bits of the uniquely allocated storage regions exist and are unallocated or zeroed out, the operations further comprise preventing, by the core logical engine, the third creation of the third snapshot.
|