DISK FAULT TOLERANCE METHOD, DEVICE AND SYSTEM
First Claim
1. A disk fault tolerance method, comprising:
- receiving a file access request, in which an identifier of a file is carried;
according to a pre-stored correspondence between identifiers of files and node lists as well as the identifier of the file, acquiring one or more node lists corresponding to the file, wherein each node list comprises at least two nodes, each node comprises a plurality of disks, there is a one-to-one correspondence between the disks included in the respective nodes in a single node list, and the mutually corresponding disks between the respective nodes store the same contents;
selecting a node from each of the acquired node lists respectively, and accessing data chunks included in the file from respective nodes selected from each of the node lists according to the identifier of the file; and
when an accessing from a certain node fails, selecting another node from the node list that comprises the certain node, and accessing a respective data chunk included in the file from the selected node according to the identifier of the file.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to disk fault tolerance method, device and system which relates to a field of computer. The method comprises: receiving a file access request; acquiring one or more node lists corresponding to the file, wherein each node list comprises at least two nodes, and the mutually corresponding disks between the respective nodes store the same contents; accessing data chunks included in the file from the respective nodes selected from each of the node lists; and when an accessing from a certain node fails, selecting another node from the node list that comprises the certain node, and accessing a respective data chunk included in the file from the selected node according to the identifier of the file. The present invention proposes a multilevel pairing storage technology in combination with advantages of the dual machine duplexing mechanism, wherein a plurality of completely independent machines are mutually backed up from a node level to a disk level. This solves problems of data read-write fault, a disk fault, single node fault and the like in a large-scale distributed storage system, ensures a data reliability in any scene, and improves a disk availability and read-write performance.
-
Citations
25 Claims
-
1. A disk fault tolerance method, comprising:
-
receiving a file access request, in which an identifier of a file is carried; according to a pre-stored correspondence between identifiers of files and node lists as well as the identifier of the file, acquiring one or more node lists corresponding to the file, wherein each node list comprises at least two nodes, each node comprises a plurality of disks, there is a one-to-one correspondence between the disks included in the respective nodes in a single node list, and the mutually corresponding disks between the respective nodes store the same contents; selecting a node from each of the acquired node lists respectively, and accessing data chunks included in the file from respective nodes selected from each of the node lists according to the identifier of the file; and when an accessing from a certain node fails, selecting another node from the node list that comprises the certain node, and accessing a respective data chunk included in the file from the selected node according to the identifier of the file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A disk fault tolerance device, comprising:
-
a receiving module, for receiving a file access request, in which an identifier of a file is carried; a first acquiring module, configured to acquire one or more node lists corresponding to the file according to a pre-stored correspondence between identifiers of the files and node lists as well as the identifier of the file, wherein each node list comprises at least two nodes, each node comprises a plurality of disks, there is a one-to-one correspondence between the disks included in respective nodes, and the mutually corresponding disks between the respective nodes store same contents; an accessing module, configured to select a node from each of the acquired node lists respectively, and access data chunks included in the file from the respective nodes selected from each of the node lists according to the identifier of the file; and a fault tolerance module, configured to select another node from the node list that comprises the certain node, and access a respective data chunk included in the file from the selected node according to the identifier of the file, when an accessing from a certain node fails. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A disk fault tolerance system, characterized in that the system comprises a client, a storage server cluster and a management server;
-
the client is configured to send a file access request to the management server, wherein an identifier of a file is carried in the file access request; the storage server cluster comprises a plurality of storage server groups, wherein each storage server group comprises at least two storage servers, each storage server comprises a plurality of disks, there is a one-to-one correspondence between the disks included in the respective storage servers, and the mutually corresponding disks between the respective storage servers store the same contents; and the management server is configured to; receive the file access request sent from the client; acquire one or more storage server groups corresponding to the file according to a pre-stored correspondence between identifiers of the files and the storage server groups included in the storage server cluster as well as the identifier of the file; select a storage server from each of the acquired storage server groups respectively, and access data chunks included in the file from the respective storage servers selected from each of the storage server groups according to the identifier of the file; and select another storage server from the storage server group that comprises a certain storage server, and access a respective data chunk included in the file from the selected storage server according to the identifier of the file, when an accessing from the certain storage server fails. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25)
-
Specification