Aliasing of exported paths in a storage system
First Claim
Patent Images
1. A method comprising:
- storing, by a storage system, a resource in the storage system according to a firstpathname;
configuring one or more entries of an exports table based upon one or more respective export rules for resources to be exported, wherein each of the entries of the exports table includes a filehandle of a resource, wherein each of the export rules includes an advertised path of a respective resource, and wherein said configuring comprises, for each of the one or more entries of the exports table,selecting one of the one or more export rules,when the selected export rule includes a directive identifying a physical path of the resource that is different than the advertised path of the selected export rule, storing, as the filehandle of the exports table entry, a filehandle retrieved using the physical path, andwhen the export rule does not include the directive, storing, as the filehandle of the exports table entry, a filehandle retrieved using the advertised path;
receiving, by the storage system, a mount request from a client that specifies a secondpathname, wherein the second pathname is the advertised path of the resource and does not exist in physical storage of the storage system;
in response to the mount request, mapping, by the storage system, the second pathname to a filehandle using an entry of the exports table; and
returning the filehandle from the storage system to the client in response to the mount request, without the client having knowledge that the resource is stored according to the firstpathname, to enable the client to access the resource in the storage system with the filehandle.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage system, such as a file server, uses pathname aliasing and exports a stored resource to clients by advertising to the clients a different pathname than the actual pathname of the resource.
37 Citations
14 Claims
-
1. A method comprising:
-
storing, by a storage system, a resource in the storage system according to a firstpathname; configuring one or more entries of an exports table based upon one or more respective export rules for resources to be exported, wherein each of the entries of the exports table includes a filehandle of a resource, wherein each of the export rules includes an advertised path of a respective resource, and wherein said configuring comprises, for each of the one or more entries of the exports table, selecting one of the one or more export rules, when the selected export rule includes a directive identifying a physical path of the resource that is different than the advertised path of the selected export rule, storing, as the filehandle of the exports table entry, a filehandle retrieved using the physical path, and when the export rule does not include the directive, storing, as the filehandle of the exports table entry, a filehandle retrieved using the advertised path; receiving, by the storage system, a mount request from a client that specifies a secondpathname, wherein the second pathname is the advertised path of the resource and does not exist in physical storage of the storage system; in response to the mount request, mapping, by the storage system, the second pathname to a filehandle using an entry of the exports table; and returning the filehandle from the storage system to the client in response to the mount request, without the client having knowledge that the resource is stored according to the firstpathname, to enable the client to access the resource in the storage system with the filehandle. - View Dependent Claims (2, 3, 4, 5, 7, 8)
-
-
6. A storage server comprising:
-
a processor; a storage interface through which to couple the storage server to a plurality of mass storage devices storing a plurality of exported resources; and a memory having stored therein instructions which, when executed by the processor, cause the storage server to, configure one or more entries of an exports table based upon one or more respective export rules for resources to be exported by performing a configuration process, wherein each of the entries of the exports table includes a filehandle of a resource, wherein each of the export rules includes an advertised path of a respective resource, wherein the configuration process includes, for each of the one or more entries, selecting one of the one or more export rules, when the selected export rule includes a directive identifying a physical path of the resource that is different than the advertised path of the selected export rule, storing, as the filehandle of the exports table entry, a filehandle retrieved using the physical path, and when the export rule does not include the directive, storing, as the filehandle of the exports table entry, a filehandle retrieved using the advertised path; and responsive to receiving mount requests that include advertised paths of the exported resources from one or more clients, return the filehandles of entries of the exports table identified using the advertised paths, wherein at least some of the advertised paths of the received mount requests are not the same as the physical paths of the respective exported resources. - View Dependent Claims (9, 10)
-
-
11. A method, comprising:
-
configuring an entry of an exports table based upon an export rule for a resource to be exported from a storage system, wherein the entry of the exports table includes a filehandle of the resource, wherein the export rule includes an advertised path of the resource, and wherein said configuring comprises, selecting the export rule, when the selected export rule includes a directive identifying a physical path of the resource that is different than the advertised path of the selected export rule, storing, as the filehandle of the entry of the exports table, a filehandle retrieved using the physical path, and when the export rule does not include the directive, storing, as the filehandle of the entry of the exports table, a filehandle retrieved using the advertised path; advertising, by the storage system to a client, an export point for the resource stored by the storage system, wherein the client is not aware that the advertised path is not the physical path of the resource; receiving, by the storage system from the client, a mount request for the resource that includes the advertised path; responsive to the receipt of the mount request, using the advertised path to identify the entry in the exports table including the filehandle for the resource; and returning, by the storage system, the filehandle to the client. - View Dependent Claims (12)
-
-
13. A storage server comprising:
-
a processor; a storage interface through which to couple the storage server to a plurality of mass storage devices storing a plurality of exported resources; and a memory having stored therein instructions which, when executed by the processor, cause the storage server to, configure an entry of an exports table based upon an export rule for a resource to be exported, wherein the entry of the exports table includes a filehandle of the resource, wherein the export rule includes an advertised path of the resource, and wherein said configure comprises, select the export rule, when the selected export rule includes a directive identifying a physical path of the resource that is different than the advertised path of the selected export rule, store, as the filehandle of the entry of the exports table, a filehandle retrieved using the physical path, and when the export rule does not include the directive, store, as the filehandle of the entry of the exports table, a filehandle retrieved using the advertised path; advertise, to a client, an export point for the resource, wherein the client is not aware that the advertised path is not the actual physical path of the resource, responsive to the receipt, from the client, of a mount request for the resource that includes the advertised path, use the advertised path to identify the entry in the exports table including the filehandle for the resource, and return the filehandle to the client. - View Dependent Claims (14)
-
Specification