Uniform name space referrals with location independence
First Claim
1. A computer-implemented method of simulating client-side file system referral capability, comprising:
- receiving, at a first file system server from a legacy client, a request for a file system, wherein the legacy client does not support referral file access protocol;
determining, by the first file system server, that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral for the requested file system, the referral comprising a key value uniquely associated with the requested file system;
creating, by the first file system server responsive to the determining, a symbolic reference for the requested file system, the symbolic reference comprising the key value and a predetermined text string that signifies presence of the symbolic reference; and
returning, from the first file system server to the legacy client as a response to the request, the symbolic reference instead of the requested file system, wherein presence of the predetermined text string in a path name component provided in the response thereby signals that client-side resolution is needed, the client-side resolution comprising accessing a client-side mapping that uniquely associates the key value with location information that identifies a location of the requested file system on a second file system server that is distinct from the first file system server.
0 Assignments
0 Petitions
Accused Products
Abstract
Improved techniques are disclosed for accessing content in file systems, allowing file system clients to realize advantages of file system referrals even though a file access protocol used by the client is not specifically adapted for referral objects. (For example, the client may have a legacy file system protocol or a proprietary file system protocol which does not support referrals.) These advantages include a uniform name space view of content in a network file system, and an ability to locate content in a (nearly) seamless and transparent manner, even though the content may be dynamically moved from one location to another or replicated in different locations. A file system server returns a symbolic link in place of a referral, and an automated file mounting process on the client is leveraged to access the content using the link. Built-in crash recovery techniques of the file system client are leveraged to access moved content.
38 Citations
26 Claims
-
1. A computer-implemented method of simulating client-side file system referral capability, comprising:
-
receiving, at a first file system server from a legacy client, a request for a file system, wherein the legacy client does not support referral file access protocol; determining, by the first file system server, that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral for the requested file system, the referral comprising a key value uniquely associated with the requested file system; creating, by the first file system server responsive to the determining, a symbolic reference for the requested file system, the symbolic reference comprising the key value and a predetermined text string that signifies presence of the symbolic reference; and returning, from the first file system server to the legacy client as a response to the request, the symbolic reference instead of the requested file system, wherein presence of the predetermined text string in a path name component provided in the response thereby signals that client-side resolution is needed, the client-side resolution comprising accessing a client-side mapping that uniquely associates the key value with location information that identifies a location of the requested file system on a second file system server that is distinct from the first file system server. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method of simulating client-side file system referral capability, comprising:
-
requesting, by a client, a file system from a first file system server, wherein the client does not support referral file access protocol; receiving, at the client from the first file system server as a response to the request, a symbolic reference for the requested file system instead of the requested file system, wherein the symbolic reference comprises a predetermined text string and a key value and was created at the first file system server responsive to a determination that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral uniquely associated with the requested file system, the referral comprising the key value and the symbolic reference signalling that client-side resolution of the key value is needed; and responsive to detecting, at the client, the predetermined text string in a path name component provided in the received response, performing the client-side resolution by extracting the key value from the path name component and programmatically locating the requested file system using the extracted key value to retrieve location information for the requested file system from a key-to-location mapping that uniquely associates the key value with the location information. responsive to detecting, the client, the predetermined text - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system for simulating client-side file system referral capability, comprising:
-
a computer comprising a processor; and instructions which execute using the processor to implement functions comprising; receiving, at a first file system server from a legacy client, a request for a file system, wherein the legacy client does not support referral file access protocol; determining, by the first file system server, that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral for the requested file system, the referral comprising a key value uniquely associated with the requested file system; creating, by the first file system server responsive to the determining, a symbolic reference for the requested file system, the symbolic reference comprising the key value and a predetermined text string that signifies presence of the symbolic reference; and returning, from the first file system server to the legacy client as a response to the request, the symbolic reference instead of the requested file system, wherein presence of the predetermined text string in a path name component provided in the response thereby signals that client-side resolution is needed, the client-side resolution comprising accessing a client-side mapping that uniquely associates the key value with location information that identifies a location of the requested file system on a second file system server that is distinct from the first file system server. - View Dependent Claims (12, 13, 14)
-
-
15. A system for simulating client-side file system referral capability, comprising:
-
a computer comprising a processor; and instructions which execute using the processor to implement functions comprising; requesting, by a client, a file system from a first file system server, wherein the client does not support referral file access protocol; receiving, at the client from the first file system server as a response to the request, a symbolic reference for the requested file system instead of the requested file system, wherein the symbolic reference comprises a predetermined text string and a key value and was created at the first file system server responsive to a determination that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral uniquely associated with the requested file system, the referral comprising the key value and the symbolic reference signalling that client-side resolution of the key value is needed; and responsive to detecting, at the client, the predetermined text string in a path name component provided in the received response, performing the client-side resolution by extracting the key value from the path name component and programmatically locating the requested file system using the extracted key value to retrieve location information for the requested file system from a key-to-location mapping that uniquely associates the key value with the location information. - View Dependent Claims (16, 17, 18)
-
-
19. A computer program product for simulating client-side file system referral capability, the computer program product embodied on at least one computer-usable storage media and comprising computer-usable program code for:
-
receiving, at a first file system server from a legacy client, a request for a file system, wherein the legacy client does not support referral file access protocol; determining, by the first file system server, that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral for the requested file system, the referral comprising a key value uniquely associated with the requested file system; creating, by the first file system server responsive to the determining, a symbolic reference for the requested file system, the symbolic reference comprising the key value and a predetermined text string that signifies presence of the symbolic reference; and returning, from the first file system server to the legacy client as a response to the request, the symbolic reference instead of the requested file system, wherein presence of the predetermined text string in a path name component provided in the response thereby signals that client-side resolution is needed, the client-side resolution comprising accessing a client-side mapping that uniquely associates the key value with location information that identifies a location of the requested file system on a second file system server that is distinct from the first file system server. - View Dependent Claims (20, 21, 22)
-
-
23. A computer program product for simulating client-side file system referral capability, the computer program product embodied on at least one computer-usable storage media and comprising computer-usable program code for:
-
requesting, by a client, a file system from a first file system server, wherein the client does not support referral file access protocol; receiving, at the client from the first file system server as a response to the request, a symbolic reference for the requested file system instead of the requested file system, wherein the symbolic reference comprises a predetermined text string and a key value and was created at the first file system server responsive to a determination that the requested file system is not stored at the first file system server but that the first file system server instead stores a referral uniquely associated with the requested file system, the referral comprising the key value and the symbolic reference signalling that client-side resolution of the key value is needed; and responsive to detecting, at the client, the predetermined text string in a path name component provided in the received response, performing the client-side resolution by extracting the key value from the path name component and programmatically locating the requested file system using the extracted key value to retrieve location information for the requested file system from a key-to-location mapping that uniquely associates the key value with the location information. - View Dependent Claims (24, 25, 26)
-
Specification