Data storage system having mata bit maps for indicating whether data blocks are invalid in snapshot copies
First Claim
1. A data storage system for providing access to a production dataset and at least one snapshot dataset, said at least one snapshot dataset being the state of the production dataset at a point in time when said at least one snapshot dataset was created, the data storage system comprising storage for storing data of the production dataset and said at least one snapshot dataset,wherein the data storage system is programmed for maintaining an indication of invalid blocks of the storage that are allocated to the production dataset, and the data storage system is programmed for performing a write access upon a specified block of the storage allocated to the production dataset by checking whether or not the specified block is indicated to be invalid, and if the specified block is not indicated to be invalid, copying the specified block to said at least one snapshot dataset and then writing to the specified block, and if the specified block is indicated to be invalid, writing to the specified block without copying the specified block to said at least one snapshot dataset.
9 Assignments
0 Petitions
Accused Products
Abstract
In a data storage system providing access to a production dataset and snapshot copies of the production dataset, a production meta bit map identifies blocks of storage that are invalid in the production dataset. If a block in the production dataset is invalid when a snapshot copy is being made, then there is no need to copy the block to storage for the snapshot before writing to the block. Moreover, if a block in the production dataset supporting a snapshot copy is dynamically invalidated, it may be kept in the production dataset until it is written to. For this purpose, a respective snapshot copy of the meta bit map is made and kept with each of the snapshot datasets, and the snapshot copies of the meta bit map are merged in order to indicate the blocks that are invalid for all of the snapshots.
-
Citations
46 Claims
-
1. A data storage system for providing access to a production dataset and at least one snapshot dataset, said at least one snapshot dataset being the state of the production dataset at a point in time when said at least one snapshot dataset was created, the data storage system comprising storage for storing data of the production dataset and said at least one snapshot dataset,
wherein the data storage system is programmed for maintaining an indication of invalid blocks of the storage that are allocated to the production dataset, and the data storage system is programmed for performing a write access upon a specified block of the storage allocated to the production dataset by checking whether or not the specified block is indicated to be invalid, and if the specified block is not indicated to be invalid, copying the specified block to said at least one snapshot dataset and then writing to the specified block, and if the specified block is indicated to be invalid, writing to the specified block without copying the specified block to said at least one snapshot dataset.
-
12. A data storage system for providing access to a production dataset and a plurality of snapshot datasets, each snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, the data storage system comprising storage for storing data of the production dataset and the snapshot datasets,
wherein the data storage system is programmed for maintaining an indication of invalid blocks of the storage that are allocated to the production dataset, and for maintaining, for said each snapshot dataset, a snapshot copy of the indication of invalid blocks of the storage that were allocated to the production dataset at the point of time when said each snapshot dataset was created, and the data storage system is programmed for performing a write access upon a specified block of the storage allocated to the production dataset by checking whether or not the specified block is not indicated to be invalid in any of the snapshot copies of the indication of invalid blocks that were allocated to the production dataset at the point in time when said each snapshot dataset was created, and if the specified block is not indicated to be invalid in any of the snapshot copies of the indication of invalid blocks that were allocated to the production dataset at the point in time when said each snapshot dataset was created, copying the specified block to at least the most recent snapshot dataset and then writing to the specified block, and if the specified block is indicated to be invalid in the production dataset and in all of the snapshot copies of the indication of invalid blocks that were allocated to the production dataset at the point in time when said each snapshot dataset was created, writing to the specified block without copying the specified block to said at least the most recent snapshot dataset.
-
20. A data storage system for providing access to a production dataset and a plurality of snapshot datasets, each snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, the data storage system comprising storage for storing data of the production dataset and the snapshot datasets,
wherein the data storage system is programmed for maintaining a meta bit map indicating invalid blocks of the storage that are allocated to the production dataset, and for maintaining, for said each snapshot dataset, a snapshot copy of the meta bit map indicating invalid blocks of the storage that were allocated to the production dataset at the point of time when said each snapshot dataset was created, and wherein the data storage system is programmed for using the snapshot copies of the meta bit map for deciding whether or not to copy blocks from the storage of the production dataset to storage of the snapshot datasets for saving the blocks to support the snapshot datasets.
-
24. A method of operating a data storage system for providing access to a production dataset and at least one snapshot dataset, said at least one snapshot dataset being the state of the production dataset at a point in time when said at least one snapshot dataset was created, the data storage system including storage for storing data of the production dataset and said at least one snapshot dataset, said method comprising:
-
maintaining an indication of invalid blocks of the storage that are allocated to the production dataset, and performing a write access upon a specified block of the storage allocated to the production dataset by checking whether or not the specified block is indicated to be invalid, and if the specified block is not indicated to be invalid, copying the specified block to said at least one snapshot dataset and then writing to the specified block, and if the specified block is indicated to be invalid, writing to the specified block without copying the specified block to said at least one snapshot dataset. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
-
35. A method of operating a data storage system for providing access to a production dataset and a plurality of snapshot datasets, each snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, the data storage system including storage for storing data of the production dataset and the snapshot datasets, said method comprising:
-
maintaining an indication of invalid blocks of the storage that are allocated to the production dataset, and maintaining, for said each snapshot dataset, a snapshot copy of the indication of invalid blocks of the storage that were allocated to the production dataset at the point of time when said each snapshot dataset was created, and performing a write access upon a specified block of the storage allocated to the production dataset by checking whether or not the specified block is not indicated to be invalid in any of the snapshot copies of the indication of invalid blocks that were allocated to the production dataset at the point in time when said each snapshot dataset was created, and if the specified block is not indicated to be invalid in any of the snapshot copies of the indication of invalid blocks that were allocated to the production dataset at the point in time when said each snapshot dataset was created, copying the specified block to at least the most recent snapshot dataset and then writing to the specified block, and if the specified block is indicated to be invalid in the production dataset and in all of the snapshot copies of the indication of invalid blocks that were allocated to the production dataset at the point in time when said each snapshot dataset was created, writing to the specified block without copying the specified block to said at least the most recent snapshot dataset. - View Dependent Claims (36, 37, 38, 39, 40, 41, 42)
-
-
43. A method of operating a data storage system for providing access to a production dataset and a plurality of snapshot datasets, each snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, the data storage system including storage for storing data of the production dataset and the snapshot datasets, said method comprising:
-
maintaining a meta bit map indicating invalid blocks of the storage that are allocated to the production dataset, and for maintaining, for said each snapshot dataset, a snapshot copy of the meta bit map indicating invalid blocks of the storage that were allocated to the production dataset at the point of time when said each snapshot dataset was created, and using the snapshot copies of the meta bit map for deciding whether or not to copy blocks from the storage of the production dataset to storage of the snapshot datasets for saving the blocks to support the snapshot datasets. - View Dependent Claims (44, 45, 46)
-
Specification