Abstract:
A data storage method is used to improve storage consistency of a distributed storage system. The method includes: a primary storage node performs EC coding on a to-be-stored data segment to obtain a target EC stripe; determines in a storage node group to which the primary storage node belongs, m+k target storage nodes used to store m+k target EC blocks of the target EC stripe; sends a preparation message to the target storage nodes; receives a response message sent by a target storage node; and sends an execution message to the target storage nodes to instruct the target storage nodes to write target EC blocks that are in preparation logs.
Abstract:
The storage method according to the present invention includes: partitioning raw data into several data blocks; calculating, according to a preset mapping algorithm, three consecutive virtual storage partitions to which a first data block is mapped, where a virtual storage partition is a partition obtained by dividing a virtual storage area, each of the virtual storage partitions is mapped to one physical disk, physical disks have consecutive sequence numbers, and sequence numbers of three physical disks that are mapped to the three consecutive virtual storage partitions are in an arithmetic sequence with a non-zero common difference; and storing, according to the calculated three consecutive virtual storage partitions and the three physical disks that are mapped to the three consecutive virtual storage partitions, the first data block and a first copy and a second copy of the first data block in the three physical disks in sequence.
Abstract:
The distributed data processing method includes receiving storage information of a logical volume; receiving a data reading or writing command sent by the user, and determining a first storage information according to the data reading or writing command and the storage information of the logical volume; determining a data processing node corresponding to each group of four-tuple storage information according to the tree identifier and the data block identifier in each group of four-tuple information; and sending, by the cluster client processing apparatus, a data processing command to the data processing node corresponding to each group of four-tuple information. The distributed data processing method and apparatus avoid a resource consumption problem brought by a need for global setting or Bitmap reading/writing in a distributed storage system, and improve data processing efficiency.
Abstract:
The present disclosure provides a data read and write method and apparatus and a storage system. The data read and write method includes: receiving, by a block storage driver of an origination device, a request for an LBA-based operation on a volume; converting the LBA-based operation request into a Key addressing-based operation request; and sending the Key addressing-based operation request to a routing library. Therefore, according to the present disclosure, reliability, availability, extensibility, and cheapness of the storage system may be improved, satisfying mass storage requirements for high extensibility, high reliability, high availability, and cheapness.