Snapshot reset method and apparatus
First Claim
Patent Images
1. A method, comprising:
- receiving a command to reset a first snapshot of a master volume, wherein the first snapshot comprises a first array partition and first snapshot data, wherein the command to reset transfers the first array partition from the first snapshot to a second snapshot;
marking the first snapshot for reset;
after marking the first snapshot for reset, marking the first snapshot for deletion, wherein each of marking the first snapshot for reset and marking the first snapshot for deletion comprises one of setting or resetting a bit in a memory;
allowing access to the first snapshot data while the first snapshot is marked for reset;
disassociating the first array partition from the first snapshot;
associating the first array partition with second snapshot data of the master volume to create the second snapshot;
after the second snapshot has been associated with the first array partition, releasing the reset mark associated with the first snapshot;
deleting the first snapshot; and
updating the first array partition to reflect at least one characteristic of the master volume at a point-in-time associated with the second snapshot.updating the first array partition to reflect at least one characteristic of the master volume at a point-in-time associated with the second snapshot.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, device, and system for resetting snapshots are provided. The reset of a snapshot incorporates the traditional snapshot delete and snapshot create operations into a single operation. Additionally, a snapshot created under the reset operation may receive an array partition from a snapshot being deleted under the same snapshot reset operation thereby retaining its identifying characteristics.
-
Citations
12 Claims
-
1. A method, comprising:
-
receiving a command to reset a first snapshot of a master volume, wherein the first snapshot comprises a first array partition and first snapshot data, wherein the command to reset transfers the first array partition from the first snapshot to a second snapshot; marking the first snapshot for reset; after marking the first snapshot for reset, marking the first snapshot for deletion, wherein each of marking the first snapshot for reset and marking the first snapshot for deletion comprises one of setting or resetting a bit in a memory; allowing access to the first snapshot data while the first snapshot is marked for reset; disassociating the first array partition from the first snapshot; associating the first array partition with second snapshot data of the master volume to create the second snapshot; after the second snapshot has been associated with the first array partition, releasing the reset mark associated with the first snapshot; deleting the first snapshot; and updating the first array partition to reflect at least one characteristic of the master volume at a point-in-time associated with the second snapshot. updating the first array partition to reflect at least one characteristic of the master volume at a point-in-time associated with the second snapshot. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A device for preserving an array partition while transferring a snapshot, comprising:
-
a processor; and a memory, coupled to the processor, comprising; a snapshot reset application, configured to receive a command to reset a first snapshot of a master volume, in response to receiving the command to reset the first snapshot, transfer a first array partition from the first snapshot to a second snapshot, mark the first snapshot for reset, disassociate the first array partition from the first snapshot, associate the first array partition with second snapshot data of the master volume to create the second snapshot, and update the first array partition to reflect at least one characteristic of the master volume at a point-in-time associated with the second snapshot; wherein the first snapshot comprises a first array partition and first snapshot data, wherein the device allows access to the first snapshot data while the first snapshot is marked for reset, wherein after the snapshot reset application marks the first snapshot for reset, the snapshot reset application marks the first snapshot for deletion, wherein each of the snapshot reset application marks the first snapshot for reset and the snapshot reset application marks the first snapshot for deletion comprises one of the snapshot reset application sets or resets a bit in the memory, wherein after the snapshot reset application associates the second snapshot with the first array partition, the snapshot reset application releases the reset mark associated with the first snapshot and deletes the first snapshot. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification