Claims
- 1. A method of updating a replica on a destination storage system comprising the steps of:
reading, from changed data of the replica, identifiers related to deleted and modified logical groups of data on the replica and placing the deleted and modified logical groups in a temporary store separate from a main store of the replica; creating a set of references in the main store to the deleted and modified logical groups in the temporary store; and after the creating step, deallocating the temporary store while maintaining the references in the main store to the deleted and modified logical groups of data.
- 2. The method as set forth in claim 1 wherein the logical groups of data comprise files.
- 3. The method as set forth in claim 2 wherein the main store and the temporary store are each respectively organized as a directory.
- 4. The method as set forth in claim 3 wherein the identifiers comprise inodes.
- 5. The method as set forth in claim 1 wherein the replica on the destination storage system replicates data on a source storage system that is connected to the destination storage system through a network connection.
- 6. The method as set forth in claim 5 wherein the replica is transmitted to the destination storage system from the source storage system as a stream of deleted and modified logical groups of data at predetermined times that are each asynchronous with underlying deletions and modifications to corresponding logical groups of data on the source storage system.
- 7. The method as set forth in claim 1 wherein the destination storage system and the source storage system are each organized as a qtree.
- 8. The method as set forth in claim 1 wherein the step of reading includes reading entries in a map of identifiers that each have respective source identifier numbers and source generation numbers for respective logical groups of data and corresponding destination identifier numbers and destination generation numbers for the respective logical groups of data.
- 9. The method as set forth in claim 8 wherein the identifiers comprise inodes and the logical groups of data comprise files.
- 10. A computer-readable medium for updating a replica on a destination storage system, including program instructions for performing the steps of:
reading, from changed data of the replica, identifiers related to deleted and modified logical groups of data on the replica and placing the deleted and modified logical groups in a temporary store separate from a main store of the replica; creating a set of references in the main store to the deleted and modified logical groups in the temporary store; and after the creating step, deallocating the temporary store while maintaining the references in the main store to the deleted and modified logical groups of data.
- 11. The computer-readable medium as set forth in claim 10 wherein the logical groups of data comprise files.
- 12. The computer-readable medium as set forth in claim 11 wherein the main store and the temporary store are each respectively organized as a directory.
- 13. The computer-readable medium as set forth in claim 12 wherein the identifiers comprise inodes.
- 14. The computer-readable medium as set forth in claim 10 wherein the replica on the destination storage system replicates data on a source storage system that is connected to the destination storage system through a network connection.
- 15. The computer-readable medium as set forth in claim 14 wherein the replica is transmitted to the destination storage system from the source storage system as a stream of deleted and modified logical groups of data at predetermined times that asynchronous with underlying deletions and modifications to corresponding logical groups of data on the source storage system.
- 16. The computer-readable medium as set forth in claim 10 wherein the destination storage system and the source storage system are each organized as a qtree.
- 17. The computer-readable medium as set forth in claim 10 wherein the step of reading includes reading entries in a map of identifiers that each have respective source identifier numbers and source generation numbers for respective logical groups of data and corresponding destination identifier numbers and destination generation numbers for the respective logical groups of data.
- 18. The computer-readable medium as set forth in claim 17 wherein the identifiers comprise inodes and the logical groups of data comprise files.
- 19. A system for updating a replica on a destination storage system comprising:
means for reading, from changed data of the replica, identifiers related to deleted and modified logical groups of data on the replica and placing the deleted and modified logical groups in a temporary store separate from a main store of the replica; means for creating a set of references in the main store to the deleted and modified logical groups in the temporary store; and means for deallocating the temporary store, after creating the set of references, while maintaining the references in the main store to the deleted and modified logical groups of data.
- 20. The system as set forth in claim 19 wherein the logical groups of data comprise files.
- 21. The system as set forth in claim 20 wherein the main store and the temporary store are each respectively organized as a directory.
- 22. The system as set forth in claim 21 wherein the identifiers comprise inodes.
- 23. The system as set forth in claim 22 wherein the replica on the destination storage system is adapted to replicate data on a source storage system that is connected to the destination storage system through a network connection.
- 24. A temporary store for use in updating a set of replicated data on a destination storage system that is updated by changed and deleted logical groups of data from a remote storage system, the temporary store being separate from a main store in the destination storage system and the temporary store being adapted to store the deleted and modified logical groups of data based upon a reading of identifiers of changed data in the replica related to deleted and modified logical groups of data, and the temporary store being adapted to be deallocated after creation of a set of references in the main store to the deleted and modified logical groups in the temporary store while maintaining the references in the main store to the deleted and modified logical groups of data.
- 25. A method for receiving a data stream of changed data from a snapshot on the source file system and updating a replica file system on a destination file system associated with the source file system comprising:
reading, from the data stream, inodes related to deleted files and modified files on the replica file system and associating any read deleted files and modified files on the replica file system with a temporary directory separate from a directory tree of the replicated file system; reading, from the data stream, information retaining predetermined files of the deleted files and the modified files and, in response to the reading, linking the predetermined files of the deleted files and the modified files to respective new entries in the replicated file system; and when updating of the replica file system is complete, deleting the temporary directory, whereby the predetermined files of the deleted files and modified files remain associated with an updated version of the replicated file system.
- 26. The method as set forth in claim 25 wherein the step of reading inodes related to deleted files and modified files includes reading entries in an inode map that each have respective source inode numbers and source generation numbers for respective files and corresponding destination inode numbers and destination generation numbers for the respective files.
RELATED APPLICATIONS
[0001] This is a continuation of co-pending U.S. patent application Ser. No. 10/100,950, filed Mar. 19, 2002.
[0002] This application is related to the following United States patent applications:
[0003] Ser. No. 10/100,945, filed Mar. 19, 2002, entitled SYSTEM AND METHOD FOR STORAGE OF SNAPHOT METADATA IN A REMOTE FILE, by Stephen L. Manley, et al., the teachings of which are expressly incorporated herein by reference;
[0004] Ser. No. 10/100,434, filed Mar. 19, 2002, entitled SYSTEM AND METHOD FOR REDIRECTING ACCESS TO A REMOTE MIRRORED SNAPSHOT, by Raymond C. Chen, et al., the teachings of which are expressly incorporated herein by reference;
[0005] Ser. No. 10/100,879, filed Mar. 19, 2002, entitled FORMAT FOR TRANSMISSION OF FILE SYSTEM INFORMATION BETWEEN A SOURCE AND A DESTINATION, by Stephen L. Manley, et al., the teachings of which are expressly incorporated herein by reference;
[0006] Ser. No. 10/100,967, filed Mar. 19, 2002, entitled SYSTEM AND METHOD FOR DETERMINING CHANGES IN TWO SNAPSHOTS AND FOR TRANSMITTING CHANGES TO A DESTINATION SNAPSHOT, by Michael L. Federwisch, et al., the teachings of which are expressly incorporated herein by reference; and
[0007] Ser. No. 10/126,822, filed Apr. 19, 2002, entitled SYSTEM AND METHOD FOR CHECKPOINTING AND RESTARTING AN ASYNCHRONOUS TRANSFER OF DATA BETWEEN A SOURCE AND DESTINATION SNAPSHOT, by Michael L. Federwisch, et al., the teachings of which are expressly incorporated herein by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
10100950 |
Mar 2002 |
US |
Child |
10421419 |
Apr 2003 |
US |