Instantaneous restoration of a production copy from a snapshot copy in a data storage system
First Claim
1. A data storage system for providing access to a production dataset and at least one snapshot dataset, the data storage system comprising storage containing the production dataset and the snapshot dataset, the snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created,the data storage system being programmed for instantaneous restoration of the production dataset with the state of the snapshot dataset by initiating read/write access through a foreground routine to what appears to be a restored version of the production dataset while the production dataset is being restored by a background routine, the foreground routine keeping a record of data blocks that have been modified by the read/write access through the foreground routine since initiating the read/write access through the foreground routine, the background routine copying data blocks from the snapshot dataset to the production dataset if said record of the data blocks indicates that the data blocks have not yet been modified by the read/write access through the foreground routine since initiating the read/write access through the foreground routine.
9 Assignments
0 Petitions
Accused Products
Abstract
A data storage system maintains a production dataset supported by a clone volume, and multiple snapshot datasets supported by respective save volumes in a snapshot queue. In order to instantaneously restore the production dataset with the state of any specified snapshot, the data storage system responds to requests for read/write access to the production dataset by reading from the specified snapshot dataset and writing to the production dataset. The data storage system keeps a record of data blocks that have been modified by writing to the production dataset. The data storage system initiates a process of copying data blocks from the specified snapshot dataset to the production dataset if the record of the data blocks indicates that the data blocks have not yet been modified by writing to the production dataset.
-
Citations
31 Claims
-
1. A data storage system for providing access to a production dataset and at least one snapshot dataset, the data storage system comprising storage containing the production dataset and the snapshot dataset, the snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created,
the data storage system being programmed for instantaneous restoration of the production dataset with the state of the snapshot dataset by initiating read/write access through a foreground routine to what appears to be a restored version of the production dataset while the production dataset is being restored by a background routine, the foreground routine keeping a record of data blocks that have been modified by the read/write access through the foreground routine since initiating the read/write access through the foreground routine, the background routine copying data blocks from the snapshot dataset to the production dataset if said record of the data blocks indicates that the data blocks have not yet been modified by the read/write access through the foreground routine since initiating the read/write access through the foreground routine.
- 6. A data storage system for providing access to a production dataset and at least one snapshot dataset, the data storage system comprising storage containing the production dataset and the snapshot dataset, the snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, the data storage system being programmed for instantaneous restoration of the production dataset with the state of the snapshot dataset by responding to requests for read/write access to the production dataset by reading from the snapshot dataset and writing to the production dataset, and keeping a record of data blocks that have been modified by said writing to the production dataset, and initiating a process of copying data blocks from the snapshot dataset to the production dataset if said record of the data blocks indicates that the data blocks have not yet been modified by said writing to the production dataset.
-
11. A file server for providing access to a production file system and a plurality of snapshot file systems, each of the snapshot file systems being the state of the production file system at a respective point in time when said each of the snapshot file systems was created,
said file server comprising storage containing a clone volume of data blocks supporting the production file system, and the storage containing, for each of the snapshot file systems, a respective save volume of data blocks supporting said each of the snapshot file systems, the respective save volume of said each of the snapshot file systems containing data blocks having resided in the clone volume at the respective point in time when said each of the snapshot file systems was created, the file server being programmed for maintaining the save volumes in a snapshot queue in a chronological order of the respective points in time when the snapshot file systems were created, the save volume supporting the oldest one of the snapshot file systems residing at the head of the snapshot queue, and the save volume supporting the youngest one of the snapshot file systems residing at the tail of the snapshot queue, the file server being programmed for performing a read access upon the production file system by reading from the clone volume, the file server being programmed for performing a write access upon the production file system by writing to the clone volume but before modifying a block of production file system data in the clone volume, copying the block of production file system data from the clone volume to the save volume at the tail of the snapshot queue if said block of production file system data in the clone volume has not yet been modified since the respective point in time of creation of the snapshot file system supported by the save volume at the tail of the snapshot queue, the file server being programmed for performing a read access upon a specified data block of a first specified one of the snapshot file systems by reading from the save volume supporting the first specified one of the snapshot file systems if the specified data block is found in the save volume supporting the first specified one of the snapshot file systems, and if the specified data block is not found in the save volume supporting the first specified one of the snapshot file systems, searching for the specified data block in a next subsequent save volume in the snapshot queue, and if the specified data block is found in the next subsequent save volume in the snapshot queue, reading the specified data block from the next subsequent save volume in the snapshot queue, and if the specified data block is not found in any subsequent save volume in the snapshot queue, then reading the specified data block from the clone volume; wherein the file server is programmed for instantaneous restoration of the production file system with the state of a second specified one of the snapshot file systems by creating a new snapshot file system and responding to subsequent requests for access to the production file system by reading from the second specified one of the snapshot file systems and writing to the production file system, the new snapshot file system keeping a record of data blocks that have been modified by the writing to the production file system, and initiating a background process of copying data blocks from the second specified one of the snapshot file systems to the production file system if the data blocks have not been modified by the writing to the production file system, wherein the process of copying data blocks from the second specified one of the snapshot file systems to the production file system copies the data blocks in at least the save volume supporting the second specified one of the snapshot file systems, each data block in the respective save volume supporting the second specified one of the snapshot file systems being copied to the clone volume if said record of data blocks indicates that said each data block has not yet been modified by the writing to the production file system, and prior to said each data block in the respective save volume supporting the second specified one of the snapshot file systems being copied to the clone volume, the original content of said each data block in the clone volume being copied from the clone volume to a save volume supporting the new snapshot file system. - View Dependent Claims (12, 13, 14, 15)
- 16. A method of operating a data storage system providing access to a production dataset and at least one snapshot dataset, the data storage system including storage containing the production dataset and the snapshot dataset, the snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, wherein the method comprises instantaneous restoration of the production dataset with the state of the snapshot dataset by initiating read/write access through a foreground routine to what appears to be a restored version of the production dataset while the production dataset is being restored by a background routine, the foreground routine keeping a record of data blocks that have been modified by the read/write access through the foreground routine since initiating the read/write access through the foreground routine, the background routine copying data blocks from the snapshot dataset to the production dataset if said record of the data blocks indicates that the data blocks have not yet been modified by the read/write access through the foreground routine since initiating the read/write access through the foreground routine.
- 22. A method of operating a data storage system for providing access to a production dataset and at least one snapshot dataset, the data storage system including storage containing the production dataset and the snapshot dataset, the snapshot dataset being the state of the production dataset at a point in time when the snapshot dataset was created, said method comprising instantaneous restoration of the production dataset with the state of the snapshot dataset by responding to requests for read/write access to the production dataset by reading from the snapshot dataset and writing to the production dataset, and keeping a record of data blocks that have been modified by said writing to the production dataset, and initiating a process of copying data blocks from the snapshot dataset to the production dataset if said record of the data blocks indicates that the data blocks have not yet been modified by said writing to the production dataset.
-
27. A method of operating a file server for providing access to a production file system and a plurality of snapshot file systems, each of the snapshot file systems being the state of the production file system at a respective point in time when said each of the snapshot file systems was created, the file server including storage containing a clone volume of data blocks supporting the production file system, and the storage containing, for said each of the snapshot file systems, a respective save volume of data blocks supporting said each of the snapshot file systems, the respective save volume of said each of the snapshot file systems containing data blocks having resided in the clone volume at the respective point in time when said each of the snapshot file systems was created, wherein said method comprises:
-
maintaining the save volumes in a snapshot queue in a chronological order of the respective points in time when the snapshot file systems were created, the save volume supporting the oldest one of the snapshot file systems residing at the head of the snapshot queue, and the save volume supporting the youngest one of the snapshot file systems residing at the tail of the snapshot queue, performing a read access upon the production file system by reading from the clone volume, performing a write access upon the production file system by writing to the clone volume but before modifying a block of production file system data in the clone volume, copying the block of production file system data from the clone volume to the save volume at the tail of the snapshot queue if said block of production file system data in the clone volume has not yet been modified since the respective point in time of creation of the snapshot file system supported by the save volume at the tail of the snapshot queue, performing a read access upon a specified data block of a first specified one of the snapshot file systems by reading from the save volume supporting the first specified one of the snapshot file systems if the specified data block is found in the save volume supporting the first specified one of the file systems, and if the specified data block is not found in the save volume supporting the first specified one of the file systems, searching for the specified data block in a next subsequent save volume in the snapshot queue, and if the specified data block is found in the next subsequent save volume in the snapshot queue, reading the specified data block from the next subsequent save volume in the snapshot queue, and if the specified data block is not found in any subsequent save volume in the snapshot queue, then reading the specified data block from the clone volume;
wherein said method further includes instantaneous restoration of the production file system with the state of a second specified one of the snapshot file systems by creating a new snapshot file system and responding to subsequent requests for access to the production file system by reading from the second specified one of the snapshot file systems and writing to the production file system, the new snapshot file system keeping a record of data blocks that have been modified by the writing to the production file system, and initiating a background process of copying data blocks from the second specified one of the snapshot file systems to the production file system if the data blocks have not been modified by the writing to the production file system, wherein the process of copying data blocks from the second specified one of the snapshot file systems to the production file system copies the data blocks in at least the save volume supporting the second specified one of the snapshot file systems, each data block in the respective save volume supporting the second specified one of the snapshot file systems being copied to the clone volume if said record of data blocks indicates that said each data block has not yet been modified by the writing to the production file system, and prior to said each data block in the respective save volume supporting the second specified one of the snapshot file systems being copied to the clone volume, the original content of said each data block in the clone volume being copied from the clone volume to a save volume supporting the new snapshot file system. - View Dependent Claims (28, 29, 30, 31)
-
Specification