Patent ID: 7552309
Filing Date: 2009-06-23
Classification: G06F

Abstract:
1. A method for copying a logical volume in a data storage system, comprising: forming a first logical volume having one or more logical partitions; associating a first logical volume record with the first logical volume; storing data at a physical location associated with the one or more logical partitions; receiving a first command to copy the first logical volume to a second logical volume; associating a second logical volume record with the second logical volume; responsively to the first command and prior to completion thereof: writing into the first logical volume record and into the second logical volume record respective logical volume pointers to the meta-volume so as to link the meta-volume to the first and second logical volume; setting the first logical volume counter equal to a total number of logical volumes linked to the superior meta-volume; and writing into the meta-volume a meta-volume pointer to the superior meta-volume, so as to link hierarchically the meta-volume, the superior meta-volume, and the first and second logical volumes; completing the first command; receiving a second command to access the data in at least one of the first and second logical volumes, the second command specifying which of the first and second logical volumes to access; responsively to the second command, using a first partition descriptor record associated with the meta-volume to identify the physical location, the first partition descriptor record having a change counter indicative of a number of branches of the meta-volume that do not reference the first partition descriptor record; responsively to a third command to modify the data in at least one of the first and second logical volumes, incrementing the change counter, writing modified data to a further physical location and creating a second partition descriptor record identifying the further physical location; and when the change counter equals the first logical volume counter, deleting the first partition descriptor record.