Claims
- 1. A method of accessing content in file systems, comprising steps of:
receiving, at a first location, a request for a file object; determining that the requested file object is stored as a referral to a different location; and returning, as a response to the request, a symbolic reference for the requested file object, where the symbolic reference can be used by a function at a receiver of the response to locate the requested file object.
- 2. The method according to claim 1, wherein the function at the receiver is an automounter.
- 3. The method according to claim 1, wherein the function at the receiver is a file locating component.
- 4. The method according to claim 1, wherein the receiving, determining, and returning steps operate at a file system server and the request is received from a file system client.
- 5. The method according to claim 1, wherein the requested file object is a file system.
- 6. A method of accessing content in file systems, comprising steps of:
determining that a hosted file system is to be moved from a first hosting location; preventing updates from being made to the hosted file system, responsive to the determining step; moving the hosted file system from the first hosting location to a second hosting location; preventing all access to the hosted file system, responsive to the moving step; updating location information to reflect the hosted file system being moved to the second hosting location; simulating a system failure at the first hosting location; and allowing, and programmatically transferring from the first hosting location to the second hosting location, all access requests for the hosted file system after the simulated system failure.
- 7. The method according to claim 6, wherein the simulated system failure allows requesters of the hosted file system to automatically access the hosted file system at its updated location information.
- 8. The method according to claim 6, wherein the simulating step further comprises sending messages indicating that a hosting server at the first hosting location has recovered.
- 9. The method according to claim 8, wherein the messages are sent only to systems holding locks on the hosted file system.
- 10. The method according to claim 6, wherein the simulated system failure allows the requesters to continue to access the hosted file system at the second hosting location.
- 11. The method according to claim 6, wherein the second hosting location accepts, for a limited time, lock reclaim requests from the requesters following the simulated system failure.
- 12. The method according to claim 11, wherein the limited time is adaptable based on how many requesters are holding locks on the hosted file system.
- 13. A method of accessing content in file systems, comprising steps of:
determining that a replica of hosted file system is to be deleted from a hosting location; preventing all access to the hosted file system replica; deleting the hosted file system replica from the hosting location; updating location information to reflect the deletion of the hosted file system replica from the hosting location; simulating a system failure at the hosting location; and programmatically transferring access requests for the deleted file system replica to another replica of the hosted file system, if another replica exists, after the simulated system failure.
- 14. The method according to claim 13, wherein the simulated system failure allows requesters of the hosted file system to automatically access the hosted file system at the other replica.
- 15. The method according to claim 13, wherein the programmatically transferring step identifies a plurality of replicas of the hosted file system, in order that a selection can be made from the plurality by senders of the access requests.
- 16. A method of accessing content in file systems, comprising steps of:
requesting a file object from a first location; receiving, as a response to the request, a symbolic reference for the requested file object, where the symbolic reference was created responsive to a determination that the requested file object is stored as a referral to a different location; and programmatically locating, using function at the receiver, the requested file object using the symbolic reference.
- 17. The method according to claim 16, wherein the function is an automounter.
- 18. The method according to claim 16, further comprising the step of mounting the located file object at the receiver.
- 19. The method according to claim 16, wherein the requesting, receiving, and programmatically locating steps operate at a file system client and the response is received from a file system server.
- 20. A method of accessing content in file systems, comprising steps of:
requesting, by a requester, a hosted file system from a hosting location; receiving, by the requester, notification that the hosting location is recovering from a system outage, wherein the notification was triggered by a simulated system outage because a location of the hosted file system is being changed; automatically issuing a subsequent request for the hosted file system, responsive to receiving the notification; and receiving a response to the subsequent request, wherein the response to the subsequent request allows the requester to dynamically access the hosted file system at the changed location.
- 21. The method according to claim 20, wherein the location is being changed by moving the hosted file system from the hosting location to a different hosting location and the response to the subsequent request enables the requester to locate the different hosting location.
- 22. The method according to claim 21, further comprising the step of locating, by the requester, the requested file system at the different hosting location.
- 23. The method according to claim 20, wherein:
the requested file system is a replica; the location of the replica is being changed due to deletion of the replica from the hosting location; and the response to the subsequent request identifies one or more other replicas of the requested file system.
- 24. The method according to claim 23, further comprising the step of locating, by the requester, the requested file system using one of the other replicas of the file system.
- 25. The method according to claim 21, further comprising the step of updating location information to reflect the hosted file system being moved to the different hosting location.
- 26. The method according to claim 23, further comprising the step of updating location information to reflect the replica being deleted from the hosting location.
- 27. A system for accessing content in file systems, comprising:
means for receiving, at a first location, a request for a file object; means for determining that the requested file object is stored as a referral to a different location; and means for returning, as a response to the request, a symbolic reference for the requested file object, where the symbolic reference can be used by a function at a receiver of the response to locate the requested file object.
- 28. A system for accessing content in file systems, comprising:
means for determining that a hosted file system is to be moved from a first hosting location; means for preventing updates from being made to the hosted file system, responsive to operation of the means for determining; means for moving the hosted file system from the first hosting location to a second hosting location; means for preventing all access to the hosted file system, responsive to operation of the means for moving; means for updating location information to reflect the hosted file system being moved to the second hosting location; means for simulating a system failure at the first hosting location; and means for allowing, and programmatically transferring from the first hosting location to the second hosting location, all access requests for the hosted file system after the simulated system failure.
- 29. A system for accessing content in file systems, comprising:
means for determining that a replica of hosted file system is to be deleted from a hosting location; means for preventing all access to the hosted file system replica; means for deleting the hosted file system replica from the hosting location; means for updating location information to reflect the deletion of the hosted file system replica from the hosting location; means for simulating a system failure at the hosting location; and means for programmatically transferring access requests for the deleted file system replica to another replica of the hosted file system, if another replica exists, after the simulated system failure.
- 30. A system for accessing content in file systems, comprising:
means for requesting a file object from a first location; means for receiving, as a response to the request, a symbolic reference for the requested file object, where the symbolic reference was created responsive to a determination that the requested file object is stored as a referral to a different location; and means for programmatically locating, using function at the receiver, the requested file object using the symbolic reference.
- 31. A system for accessing content in file systems, comprising:
means for requesting, by a requester, a hosted file system from a hosting location; means for receiving, by the requester, notification that the hosting location is recovering from a system outage, wherein the notification was triggered by a simulated system outage because a location of the hosted file system is being changed; means for automatically issuing a subsequent request for the hosted file system, responsive to receiving the notification; and means for receiving a response to the subsequent request, wherein the response to the subsequent request allows the requester to dynamically access the hosted file system at the changed location.
- 32. A computer program product for accessing content in file systems, the computer program product embodied on one or more computer-readable media and comprising:
computer readable program code means for receiving, at a first location, a request for a file object; computer readable program code means for determining that the requested file object is stored as a referral to a different location; and computer readable program code means for returning, as a response to the request, a symbolic reference for the requested file object, where the symbolic reference can be used by a function at a receiver of the response to locate the requested file object.
- 33. A computer program product for accessing content in file systems, the computer program product embodied on one or more computer-readable media and comprising:
computer readable program code means for determining that a hosted file system is to be moved from a first hosting location; computer readable program code means for preventing updates from being made to the hosted file system, responsive to operation of the computer readable program code means for determining; computer readable program code means for moving the hosted file system from the first hosting location to a second hosting location; computer readable program code means for preventing all access to the hosted file system, responsive to operation of the computer readable program code means for moving; computer readable program code means for updating location information to reflect the hosted file system being moved to the second hosting location; computer readable program code means for simulating a system failure at the first hosting location; and computer readable program code means for allowing, and programmatically transferring from the first hosting location to the second hosting location, all access requests for the hosted file system after the simulated system failure.
- 34. A computer program product for accessing content in file systems, the computer program product embodied on one or more computer-readable media and comprising:
computer readable program code means for determining that a replica of hosted file system is to be deleted from a hosting location; computer readable program code means for preventing all access to the hosted file system replica; computer readable program code means for deleting the hosted file system replica from the hosting location; computer readable program code means for updating location information to reflect the deletion of the hosted file system replica from the hosting location; computer readable program code means for simulating a system failure at the hosting location; and computer readable program code means for programmatically transferring access requests for the deleted file system replica to another replica of the hosted file system, if another replica exists, after the simulated system failure.
- 35. A computer program product for accessing content in file systems, the computer program product embodied on one or more computer-readable media and comprising:
computer readable program code means for requesting a file object from a first location; computer readable program code means for receiving, as a response to the request, a symbolic reference for the requested file object, where the symbolic reference was created responsive to a determination that the requested file object is stored as a referral to a different location; and computer readable program code means for programmatically locating, using function at the receiver, the requested file object using the symbolic reference.
- 36. A computer program product for accessing content in file systems, the computer program product embodied on one or more computer-readable media and comprising:
computer readable program code means for requesting, by a requester, a hosted file system from a hosting location; computer readable program code means for receiving, by the requester, notification that the hosting location is recovering from a system outage, wherein the notification was triggered by a simulated system outage because a location of the hosted file system is being changed; computer readable program code means for automatically issuing a subsequent request for the hosted file system, responsive to receiving the notification; and computer readable program code means for receiving a response to the subsequent request, wherein the response to the subsequent request allows the requester to dynamically access the hosted file system at the changed location.
RELATED INVENTION
[0001] The present invention is related to U. S. Pat. No. ______ (Ser. No. is 10/044,730, filed Jan. 11, 2002), entitled “Method, Apparatus, and Program for Separate Representations of File System Locations from Referring File Systems”. This patent is commonly assigned to the International Business Machines Corporation (“IBM”) and is hereby incorporated herein by reference. Hereinafter, this patent is referred to as “the related invention”.