Method for accessing distributed file system
First Claim
1. A gateway apparatus coupled to a client computer and a file server via a network comprising:
- a first interface, coupled to the client computer via the network, 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 via the network, 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 interface and the 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, the file name being 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, the file ID being used between the file server and the second client computer for accessing the file,wherein the memory stores information of a correspondence between a set of path name and 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 already exists in the file server and is assigned to a first file ID, which is different from the second file ID, andwherein the processing unit recognizes a completion of updating of the first file indicated by the first command of the first type file access request if contents of the first file are not updated within a predetermined period of time.
0 Assignments
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.
139 Citations
27 Claims
-
1. A gateway apparatus coupled to a client computer and a file server via a network comprising:
-
a first interface, coupled to the client computer via the network, 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 via the network, 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 interface and the 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, the file name being 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, the file ID being used between the file server and the second client computer for accessing the file, wherein the memory stores information of a correspondence between a set of path name and 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 already exists in the file server and is assigned to a first file ID, which is different from the second file ID, and wherein the processing unit recognizes a completion of updating of the first file indicated by the first command of the first type file access request if contents of the first file are not updated within a predetermined period of time. - View Dependent Claims (2, 3, 4)
-
-
5. A gateway apparatus coupled to a client computer and a file server via a network comprising:
-
a first interface, coupled to the client computer via the network, 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 via the network, 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 interface and the 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, the file name being 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, the file ID being used between the file server and the second client computer for accessing the file, wherein the memory stores information of a correspondence between a set of path name and 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 already exists in the file server and is assigned to a first file ID, which is different from the second file ID, wherein the first command includes a plurality of write commands, and wherein the processing unit recognizes a completion of updating of the first file indicated by the first command of the first type file access request if the first interface does not receive one of the plurality of write commands within a predetermined time interval. - View Dependent Claims (6, 7)
-
-
8. A gateway apparatus coupled to a client computer and a file server via a network comprising:
-
a first interface, coupled to the client computer via the network, 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 via the network, 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 interface 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, the file name being 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, the file ID being used between the file server and the second client computer for accessing the file, wherein the memory stores information of a correspondence between a set of path name and 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 recognizes a completion of updating of the first file indicated by the first command of the first type file access request if contents of the first file are not updated within a predetermined period of time and 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 complete 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 already exists in the file server and is assigned to a first file ID, which is different from the second file ID. - View Dependent Claims (9, 10, 11)
-
-
12. A gateway apparatus coupled to a client computer and a file server via a network 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; a processing unit coupled to the interface; and a memory coupled to the processing unit, wherein a read request of the first type protocol uses a set of a path name and a file name, the file name being a first type of unique identifier in a directory which is indicated by the path name, wherein a read request of the second type protocol uses a file ID which is a second type of unique identifier in the file server, wherein the memory stores information of correspondence between the set of the path name and the file name of the first type protocol and the file ID of the second type protocol, and wherein, if the interface receives a first write request of the first type access request from the client computer, the first write 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 write request of the second type access request to the file server via the interface, the second write request indicates the file server to store a second contents in the file server which includes the update data for the first contents, the second contents is assigned to a second file ID, which is different from the first file ID, of the second type protocol. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A gateway apparatus coupled to a client computer and a server providing data of a file comprising:
-
an interface, coupled to the client computer and the server, 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 server in accordance with a second type protocol; a processing unit coupled to the interface; and a memory coupled to the processing unit, wherein the memory stores information of correspondence between a set of a path name and a file name, which is a first type of unique identifier in a directory indicated by the path name, of the first type protocol and an ID, which is a second type of unique identifier in the server, of the second type protocol, and wherein, if the interface receives a first write request of the first type access request from the client computer, the first write 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 ID of the second type protocol in the server, the processing unit issues a second write request of the second type access request to the server via the interface, the second write request indicates the server to store a second contents in the server which includes the update data for the first contents, the second contents is assigned to a second ID, which is different from the first ID, of the second type protocol by the server. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27)
-
Specification