Reverting an old snapshot on a production volume without a full sweep
First Claim
1. A method for reverting from a production volume to a snapshot in a replication environment comprising a production site including the production volume, the snapshot, and a splitter, the method comprising:
- stopping replication of the production volume;
setting a revert flag in the splitter;
reverting the production volume to the snapshot by notifying the splitter of dirty locations in the snapshot and tracking metadata of the dirty locations in the splitter;
clearing the revert flag to notify the splitter that the revert is completed; and
resuming replication of the production volume.
10 Assignments
0 Petitions
Accused Products
Abstract
It may be beneficial to revert from the production volume V to the production snapshot S. Traditional approaches required a full sweep of production volume data when reverting to a snapshot (i.e., reinitialize all data, mark all data as dirty and start replicating to update the replication volume V′ to what the production volume V stores (i.e., the former production snapshot S). However, example embodiments of the present invention provide for reverting from a production volume to a snapshot without requiring a full sweep of data in the production volume. Rather, example embodiments of the present invention stop replication of the production volume, notify a splitter of dirty location in the snapshot, synchronize the dirty locations with the replication volume and resume replication to the snapshot, thereby performing a minimal initialization.
-
Citations
14 Claims
-
1. A method for reverting from a production volume to a snapshot in a replication environment comprising a production site including the production volume, the snapshot, and a splitter, the method comprising:
-
stopping replication of the production volume; setting a revert flag in the splitter; reverting the production volume to the snapshot by notifying the splitter of dirty locations in the snapshot and tracking metadata of the dirty locations in the splitter; clearing the revert flag to notify the splitter that the revert is completed; and resuming replication of the production volume. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for reverting from a production volume to a snapshot in a replication environment comprising a production site including the production volume, the snapshot, and a splitter, the apparatus comprising:
a controller configured to stop replication of the production volume, set a revert flag in the splitter, clear the revert flag to notify the splitter that the revert is completed, and resume replication of the production volume after reverting the production volume to the snapshot; and a manager configured to revert the production volume to the snapshot by notifying the splitter of dirty locations in the snapshot and tracking metadata of the dirty locations in the splitter. - View Dependent Claims (7, 8, 9, 10)
-
11. A computer-program product including a non-transitory computer-readable storage medium encoded with computer-program code that, when executed on a processor of a computer, cause the computer to revert from a production volume to a snapshot in a replication environment comprising a production site including the production volume, the snapshot, and a splitter, the computer-program code comprising:
-
computer-program code for stopping replication of the production volume; computer-program code for setting a revert flag in the splitter; computer-program code for reverting the production volume to the snapshot notifying the splitter of dirty locations in the snapshot and tracking metadata of the dirty locations in the splitter; computer-program code for clearing the revert flag to notify the splitter that the revert is completed; and computer-program code for resuming replication to the production volume. - View Dependent Claims (12, 13, 14)
-
Specification