Distributed file system supporting data block dispatching and file processing method thereof
First Claim
1. A distributed file system supporting data block dispatching, comprising at least two file nodes, each file node comprising a metadata server, a file access client, a file access server and a storage medium;
- whereinthe metadata server is arranged to manage metadata of a file stored in a file node to which the metadata server belongs;
the file access client is arranged to provide a calling interface for a user of the file node to which the file access client belongs, read and write metadata in the metadata server of the file node or metadata servers of other file nodes, and send a request for reading and writing relevant valid data to the file access server of the file node or file access servers of other file nodes according to the metadata;
the file access server is arranged to interact with the storage medium in the file node to which the file access server belongs, complete reading and writing of valid data, respond to the request for accessing valid data from the file access client of the file node or file access clients of other file nodes, and read relevant valid data from the storage medium of the file node, according to the metadata in the metadata server and return the valid data to the file access client(s); and
the storage medium is arranged to store the valid data of the file stored in the file node to which the storage medium belongs.
1 Assignment
0 Petitions
Accused Products
Abstract
A distributed file system and a file processing method thereof are disclosed. The distributed file system comprises at least two file nodes (1, 2, . . . , n), and each file node comprises a metadata server (12, 22, . . . , n2), a file access client (11, 21, . . . , n1), a file access server (13, 23, . . . , n3) and a storage medium (14, 24, . . . , n4), and file nodes can access each other. The file processing method comprises the steps of: storing different files in each file node in a scattered way; for each file node, users of the current file node firstly accessing metadata/valid data of a required file in the file node through the file access client of the file node; if the metadata/valid data of the required file are not found in the file node, the users access other nodes through the file access clients. The present invention effectively solves the problem that a metadata server is easy to become a performance bottleneck when a great number of users access hot data concurrently, and can furthest release the storage space of some file nodes by the file processing methods, such as data block dispatching and data block aging, thereby is greatly increasing the utilization ratio.
73 Citations
18 Claims
-
1. A distributed file system supporting data block dispatching, comprising at least two file nodes, each file node comprising a metadata server, a file access client, a file access server and a storage medium;
- wherein
the metadata server is arranged to manage metadata of a file stored in a file node to which the metadata server belongs; the file access client is arranged to provide a calling interface for a user of the file node to which the file access client belongs, read and write metadata in the metadata server of the file node or metadata servers of other file nodes, and send a request for reading and writing relevant valid data to the file access server of the file node or file access servers of other file nodes according to the metadata; the file access server is arranged to interact with the storage medium in the file node to which the file access server belongs, complete reading and writing of valid data, respond to the request for accessing valid data from the file access client of the file node or file access clients of other file nodes, and read relevant valid data from the storage medium of the file node, according to the metadata in the metadata server and return the valid data to the file access client(s); and the storage medium is arranged to store the valid data of the file stored in the file node to which the storage medium belongs. - View Dependent Claims (2, 3, 4, 5, 11, 12, 13, 14)
- wherein
-
6. A file processing method of a distributed file system, the distributed file system comprising at least two file nodes, each file node comprising a metadata server, a file access client, a file access server and a storage medium;
- the file processing method comprising;
storing different files in each file node in a scattered way; for each file node, firstly accessing metadata/valid data of a required file in the file node by a user through the file access client of the file node;
if the metadata/valid data of the required file are not found in the file node, accessing other nodes by the user through file access clients. - View Dependent Claims (7, 8, 9, 10, 15, 16, 17, 18)
- the file processing method comprising;
Specification