Patent ID: 8381022
Filing Date: 2013-02-19
Classification: G06F

Abstract:
1. A method for data storage comprising: creating a first copy of a logical volume; creating a second copy of the logical volume based on the first copy of the logical volume, such that the first and second copies are represented by respective first and second sets of pointers to physical storage locations in which data used by the copies is stored; and responsively to a corruption of at least part of the data that is used by the first copy, restoring the first copy, from the second copy by replacing the first set with the pointers in the second set, wherein creating the copies comprises representing, the copies by a hierarchical tree structure comprising nodes, wherein each of the nodes comprises a respective set of local pointers, and wherein the copies are represented by respective nodes such that the local pointers in the nodes located along a path via the tree structure that connects a given node to a root node of the tree structure point to the physical storage locations in which the data used by the given copy is stored, and wherein the tree structure comprises first and second nodes respectively representing the first and second copies, wherein the second node is connected to the root node via a first path via the tree structure, and wherein restoring the first copy from the second copy comprises deleting the first node from the tree structure and creating a new node representing the restored first copy, such that the new node is connected to the root node via a second path whose nodes have the same local pointers as the nodes along the first path.