Method for accessing distributed file system
First Claim
1. A gateway apparatus coupled to a client computer and a file server comprising:
- a first interface, coupled to the client computer, which receives a first type file access request from the client computer based on a first type protocol;
a second interface, coupled to the file server, which outputs a second type file access request to the file server based on a second type protocol, the second type protocol being used between the file server and a second client computer which is adapted to use the second type protocol;
a processing unit coupled to the first and second interface; and
a memory coupled to the processing unit,wherein the first type file access request specifies a path name indicating a directory including a file to be accessed and a file name indicating the file, and the file name is a first type of unique identifier in the directory,wherein the second type file access request specifies a file ID which is a second type of unique identifier in the file server and indicates the file,wherein the memory stores information of correspondence between a set of the path name and the file name of the first type protocol and file ID of the second type protocol,wherein, when the first interface receives a first command of the first type file access request from the client computer, the first command specifies a first set of a first path name and a first file name related to a first file, the processing unit sends a second command of the second type file access request to the file server via the second interface, the second command indicates the file server to create a second file which includes update data of the first file and which is assigned to a second file ID of the second type protocol in the file server if the first file which is assigned to a first file ID, which is different from the second file ID, of the second type protocol already exists in the file server.
1 Assignment
0 Petitions
Accused Products
Abstract
In order to access a distributed file system (DFS) of the present invention using a conventional protocol such as the one for an NFS or a CIFS without making a modification on a client side, a gateway unit for receiving a conventional protocol and performing processing in conformity the protocol is provided for a DFS server. The gateway unit emulates a directory structure in a file system such as the NFS or CIFS. When the DFS is a write-once read-many file system, update processing is converted into processing for creating a new generation file, and reference processing is converted into access to a latest generation file in a generation-managed file group. The gateway unit then accesses a DFS file via a DFS processing unit.
118 Citations
13 Claims
-
1. A gateway apparatus coupled to a client computer and a file server comprising:
-
a first interface, coupled to the client computer, which receives a first type file access request from the client computer based on a first type protocol; a second interface, coupled to the file server, which outputs a second type file access request to the file server based on a second type protocol, the second type protocol being used between the file server and a second client computer which is adapted to use the second type protocol; a processing unit coupled to the first and second interface; and a memory coupled to the processing unit, wherein the first type file access request specifies a path name indicating a directory including a file to be accessed and a file name indicating the file, and the file name is a first type of unique identifier in the directory, wherein the second type file access request specifies a file ID which is a second type of unique identifier in the file server and indicates the file, wherein the memory stores information of correspondence between a set of the path name and the file name of the first type protocol and file ID of the second type protocol, wherein, when the first interface receives a first command of the first type file access request from the client computer, the first command specifies a first set of a first path name and a first file name related to a first file, the processing unit sends a second command of the second type file access request to the file server via the second interface, the second command indicates the file server to create a second file which includes update data of the first file and which is assigned to a second file ID of the second type protocol in the file server if the first file which is assigned to a first file ID, which is different from the second file ID, of the second type protocol already exists in the file server. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A gateway apparatus coupled to a client computer and a file server comprising:
-
an interface, coupled to the client computer and the file server via the network, which receives a first type access request from the client computer in accordance with a first type protocol and outputs a second type access request to the file server in accordance with a second type protocol, the second type protocol being used between the file server and a second client computer which is adapted to use the second type protocol; a processing unit coupled to the interface; and a memory coupled to the processing unit, wherein the first type access request specifies a path name and a file name, and the file name is a first type of unique identifier in a directory, wherein the second type access request specifies a file ID which is a second type of unique identifier in the file server, wherein the memory stores information of correspondence between a set of path name and file name of the first type protocol and file ID information of the second type protocol, wherein, if the interface receives a first request of the first type access request from the client computer, the first request specifies a first set of a first path name and a first file name related to a first contents and instructs to update the first contents by an update data, the first contents is assigned to a first file ID of the second type protocol in the file server, the processing unit issues a second request of the second type access request to the file server via the interface, the second request indicates the file server to store a second contents in the file server which includes the update data for the first contents in connection with the first request, the second contents is assigned to a second file ID, which is different from the first file ID, of the second type protocol by the file server. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
Specification