Claims
- 1. In a NAS (Network Attached Storage) switch, a method for accessing an object in a storage network, the method comprising:
mapping a switch file handle that is independent of an object location to a first NAS file handle that is indicative of a location of the object on a primary file server; replicating the object on the primary file server to a replica object on a replica file server; and mapping the switch file handle to a second NAS file handle that is indicative of a location of the replica object on the replica file server.
- 2. The method of claim 1, wherein the object comprises a directory having objects representative of sub-directories and files.
- 3. The method of claim 1, wherein the object comprises a file.
- 4. The method of claim 1, further comprising receiving the switch file handle with a corresponding operation.
- 5. The method of claim 1, further comprising submitting the switch file handle including the NAS request to the replica server.
- 6. The method of claim 1, wherein the replicating the object comprises replicating a namespace containing the object by separately replicating a directory and data.
- 7. The method of claim 1, wherein the replicating the object comprises:
during the replicating, sending critical requests involving the object to both the primary file server and the replica file server, the critical request comprising one from the group consisting of a create request, a delete request, a move request, and a copy request.
- 8. The method of claim 1, wherein the replicating the object further comprises:
prior to replicating object, storing a file handle in the location on the replica file server, the stored file handle indicative of the location of the object on the primary file server.
- 9. The method of claim 1, wherein the replicating the object comprises updating a file handle replication table with an entry for the location on the primary file server and an entry for the location on the replica file server responsive to a successful migration.
- 10. The method of claim 1, further comprising:
receiving the switch file handle with a request from a client; looking-up the second NAS file handle in the file handle replication table with the switch file handle; and sending the request to the location on the replica file server.
- 11. The method of claim 1, further comprising:
receiving a request concerning a non-replicated object; looking-up the non-replicated object in the file replication table with a non-replicated file handle; and responsive to failing to find an entry for the non-replicated object in the file handle replication table, sending the second request to a second location on the primary file server.
- 12. The method of claim 1, wherein the request comprises one from the group consisting of a read request and a write request.
- 13. The method of claim 1, wherein the request comprises one from the group consisting of a create request, a delete request, a move request, and a copy request.
- 14. The method of claim 1, wherein the NAS file handle comprises one from the group consisting of a NFS (Network File System) file handle and a CIFS (Common Internet File System) file handle.
- 15. In a centralizing switch, a method for accessing an object in a decentralized storage network, the method comprising:
mapping a switch file handle that is independent of an object location to a first server file handle that is indicative of a location of the object on a primary file server; replicating the object on the primary file server to a replica object on a replica file server; and mapping the switch file handle to a second server file handle that is indicative of a location of the replica object on the replica file server.
- 16. The method of claim 1, wherein the first file handles is a first NAS (Network Attached Storage) file handle and the second file handle is a second NAS file handle.
- 17. A NAS (Network Attached Storage) switch to access an object in a storage network, comprising:
a file server interface to map a switch file handle that is independent of an object location to a first NAS file handle that is indicative of a location of the object on a primary file server; and a replication module to copy the object on the primary file server to a replica object on a replica file server; wherein the file server interface maps the switch file handle to a second NAS file handle that is indicative of a location of the replica object on the replica file server.
- 18. The NAS switch of claim 17, wherein the object comprises a directory having objects representative of sub-directories and files.
- 19. The NAS switch of claim 17, wherein the object comprises a file.
- 20. The NAS switch of claim 17, further comprising a client module to receive the switch file handle, with a corresponding operation, from a client.
- 21. The NAS switch of claim 17, wherein the file server module submits the second file handle including the NAS request to the replica server.
- 22. The NAS switch of claim 17, wherein the replicating module replicates a namespace containing the object by separately replicating a directory and data.
- 23. The NAS switch of claim 17, wherein a client module receives the switch file handle with a request from a client; a synchronization module looks-up the second NAS file handle in a file handle replication table with the switch file handle; and responsive to finding an entry in the file handle replication table, the server module also sends the request to the location on the replica file server.
- 24. The NAS switch of claim 17 wherein a client module receives a request concerning a non-replicated object; a synchronization modules looks-up the non-replicated object in the file replication table with a non-replicated file handle; and responsive to failing to find an entry for the non-replicated object in the file handle replication table, the file server module sends the non-replicated request to the primary file server location using the first NAS file handle.
- 25. The NAS switch of claim 17, wherein the request comprises one from the group consisting of a read request and a write request.
- 26. The NAS switch of claim 17, wherein the request comprises one from the group consisting of a create request, a delete request, a move request, and a copy request.
- 27. The NAS switch of claim 17, wherein the NAS file handle comprises one from the group consisting of a NFS (Network File System) file handle and a CIFS (Common Internet File System) file handle.
- 28. A computer program product, comprising a computer-readable medium having computer program instructions and data embodied thereon In a NAS (Network Attached Storage) switch, a method for accessing an object in a storage network, comprising:
mapping a switch file handle that is independent of an object location to a first NAS file handle that is indicative of a location of the object on a primary file server; replicating the object on the primary file server to a replica object on a replica file server; and mapping the switch file handle to a second NAS file handle that is indicative of a location of the replica object on the replica file server.
- 29. The computer program product of claim 28, wherein the object comprises a directory having objects representative of sub-directories and files..
- 30. The computer program product of claim 28, wherein the object comprises a file.
- 31. The computer program product of claim 28, further comprising receiving the switch file handle with a corresponding operation.
- 32. The computer program product of claim 28, further comprising submitting the switch file handle including the NAS request to the replica server.
- 33. The computer program product of claim 28, wherein the replicating the object comprises replicating a namespace containing the object by separately replicating a directory and data.
- 34. The computer program product of claim 28, further comprising:
receiving the switch file handle with a request from a client; looking-up the second NAS file handle in the file handle replication table with the switch file handle; and sending the request to the location on the replica file server.
- 35. The computer program product of claim 28, further comprising:
receiving a request concerning a non-replicated object; looking-up the non-replicated object in the file replication table with a non-replicated file handle; and responsive to failing to find an entry for the non-replicated object in the file handle replication table, sending the second request to a second location on the primary file server.
- 36. The computer program product of claim 28, wherein the request comprises one from the group consisting of a read request and a write request.
- 37. The computer program product of claim 28, wherein the request comprises one from the group consisting of a create request, a delete request, a move request, and a copy request.
- 38. The computer program product of claim 28, wherein the NAS file handle comprises one from the group consisting of a NFS (Network File System) file handle and a CIFS (Common Internet File System) file handle.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application is claims priority under 35 U.S.C. § 119(e) to: U.S. Provisional Patent Application No. 60/465,578, filed on Apr. 24, 2003, entitled “Method and Apparatus for Transparent File Replication Using the Technique of Namespace Replication,” by Thomas K. Wong et al.; U.S. Provisional Patent Application No. 60/465,579, filed on Apr. 24, 2003, entitled “Method and Apparatus for Transparent File Migration Using the Technique of Namespace Replication,” by Thomas K. Wong et al.; and is related to U.S. patent application Ser. No. [attorney docket #23313-07965], filed on [date even herewith], entitled “Transparent File Migration Using Namespace Replication,” by Thomas K. Wong et al., each of which applications are herein incorporated by reference in their entirety.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60465578 |
Apr 2003 |
US |
|
60465579 |
Apr 2003 |
US |