Loading...
Please wait, while we are loading the content...
Mechanism for Converting One Type of Mirror to Another Type of Mirror on A Storage System Without Transferring Data
| Content Provider | The Lens |
|---|---|
| Abstract | Embodiments of the present invention provide a mechanism for converting an existing mirror relationship between an original dataset at a source storage system and a copy of the original dataset at a destination system to a new mirror without discarding the existing copy of the original dataset and without transferring data to create a new dataset to replace the copy of the original dataset at the destination storage system. Rather, a directory structure (including file attributes) of the source storage system is transferred to the destination storage system and a comparison is made to identify file attributes at the destination system that match the transferred file attributes. If a match is found, a mapping between the matched file attributes is created. Subsequent updates to the to destination storage system can be done using a technique other than the one that was used to create a copy of the source dataset. |
| Related Links | https://www.lens.org/lens/patent/010-512-274-879-297/frontpage |
| Language | English |
| Publisher Date | 2019-04-02 |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Patent |
| Jurisdiction | United States of America |
| Date Applied | 2017-02-13 |
| Agent | Cooper Legal Group, Llc |
| Applicant | Netapp Inc |
| Application No. | 201715430876 |
| Claim | A method, comprising: creating a mapping using matching data container attributes that are within both first data container attributes of a first data structure stored by a first device and second data container attributes of a second data structure stored by a second device, the mapping comprising a first entry mapping a first file of an original dataset within the first data structure to a second file of a copy dataset within the second data structure maintained as a mirrored backup for the first data structure using an existing mirror relationship between the original dataset and the copy dataset; converting the existing mirror relationship, corresponding to a first mirror at the first device having a first layout for the copy dataset that is the same as an original layout of the original dataset, to a new mirror relationship having a second mirror with a second layout for the copy dataset that is different than the first layout; and utilizing the mapping to facilitate mirroring of changes to the original dataset to the copy dataset using the new mirror relationship. The method of claim 1 , wherein the first data container attributes comprise directory and file attributes of directories and files of the original dataset stored by the first device. The method of claim 1 , wherein the second data container attributes comprise directory and file attributes of directories and files of the copy dataset stored by the second device. The method of claim 1 , wherein the creating a mapping comprises: mapping a first inode number of the first file, of the original dataset within the first data structure at the first device, to a second inode number of the second file of the copy dataset within the second data structure at the second device. The method of claim 4 , wherein the first inode number is different than the second inode number. The method of claim 1 , wherein the second layout, provided by the second mirror for the copy dataset, is different than the original layout of the original dataset. The method of claim 1 , comprising: adding the first data container attributes to a hash table. The method of claim 1 , wherein the mapping comprises an inode map. The method of claim 7 , comprising: traversing the hash table to compare hash table entries, corresponding to data container attributes of the first data container attributes, to the second data container attributes. The method of claim 1 , comprising: transferring a file, associated with a first data container attribute, from the original dataset to the copy dataset based upon the first data container attribute of the first data container attributes not matching a second data container attribute of the second data container attributes. The method of claim 1 , comprising: marking the second mirror as read only. The method of claim 1 , wherein the converting the existing mirror relationship comprises: retaining a state of the second data structure and the copy dataset before the conversion as the mirrored backup for use by the new mirror relationship after the conversion. The method of claim 1 , wherein the utilizing the mapping to facilitate mirroring comprises: transferring changed data of the original dataset, but not unchanged data of the original data, to the copy dataset using the new mirror relationship and the mapping. The method of claim 1 , wherein the creating a mapping comprises: modifying a second inode number of the second file to a first inode number of the first file. The method of claim 14 , wherein the modifying a second inode number comprises: copying an inode of the second file to a new location identified by the first inode number. The method of claim 14 , wherein the modifying a second inode number comprises: modifying a directory entry to indicate that the second inode number has been modified. A non-transitory computer readable medium having stored thereon executable program instructions for performing a method which when executed by at least one processor, causes the processor to: create a mapping using matching data container attributes that are within both first data container attributes of a first data structure stored by a first device and second data container attributes of a second data structure stored by a second device, the mapping comprising a first entry mapping a first logical unit of an original dataset within the first data structure to a second logical unit of a copy dataset within the second data structure maintained as a mirrored backup for the first data structure using an existing mirror relationship between the original dataset and the copy dataset; convert the existing mirror relationship, corresponding to a first mirror at the first device having a first layout that is different than an original layout of the original dataset and created utilizing a first mirroring technique, to a new mirror relationship associated with a second mirroring technique different than the first mirroring technique; and utilize the mapping to facilitate mirroring of changes to the original dataset to the copy dataset using the new mirror relationship. The non-transitory computer readable medium of claim 17 , wherein the executable program instructions causes the processor to: convert the existing mirror relationship to the new mirror relationship while the second logical unit is in a connected state. The non-transitory computer readable medium of claim 17 , wherein the executable program instructions causes the processor to: transfer updates to data blocks at the first device to replicated data blocks at the second device using the second mirroring technique, wherein the replicated data blocks were created using the first mirroring technique. A computing device comprising: a memory containing a computer readable medium comprising executable program instructions for performing a method; and a processor coupled to the memory, the processor configured to execute the executable program instructions to cause the processor to: create a mapping using matching data container attributes that are within both first data container attributes of a first data structure stored by a first device and second data container attributes of a second data structure stored by a second device, the mapping comprising a first entry that maps a first file of an original dataset within the first data structure to a second file of a copy dataset within the second data structure maintained as a mirrored backup for the first data structure using an existing mirror relationship between the original dataset and the copy dataset; convert the existing mirror relationship, corresponding to a first mirror at the first device having a first layout for the copy dataset that is the same as an original layout of the original dataset, to a new mirror relationship having a second mirror with a second layout for the copy dataset that is different than the first layout; and utilize the mapping to facilitate mirroring of changes to the original dataset to the copy dataset using the new mirror relationship. |
| CPC Classification | ELECTRIC DIGITAL DATA PROCESSING |
| Examiner | Mark D Featherstone Navneet Gmahl |
| Extended Family | 010-512-274-879-297 161-272-623-427-439 118-942-915-737-026 019-235-782-126-325 |
| Patent ID | 10248660 |
| Inventor/Author | Yadav Vikas Arur Raghu R Chitre Amol |
| IPC | G06F3/06 G06F11/20 |
| Status | Active |
| Simple Family | 010-512-274-879-297 161-272-623-427-439 118-942-915-737-026 019-235-782-126-325 |
| CPC (with Group) | G06F16/184 G06F11/2069 G06F11/2082 G06F16/128 G06F16/137 G06F3/0619 G06F3/0643 G06F3/065 G06F3/0683 |
| Issuing Authority | United States Patent and Trademark Office (USPTO) |
| Kind | Patent/New European patent specification (amended specification after opposition procedure) |