Distributed storage method and system of block device

A distributed storage and block device technology, applied in the storage field, can solve the problems of poor performance, inconvenient large-scale deployment, low efficiency, etc., achieve high reliability, and solve the problem of single point of failure.

Active Publication Date: 2014-06-18
UCLOUD TECH CO LTD
View PDF6 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In distributed storage, there are two main storage methods, one is file-based storage, such as NAS (Network Attached Storage), which is characterized by low cost , easy to implement, but in some scenarios that need to provide a large amount of data transmission and frequent IO, the efficiency is not high and the performance is poor; the other is block-based storage, such as SAN (Storage Area Network), and the cost of FC SAN is relatively high. High, not convenient for large-scale deployment, and IP SAN has the characteristics of low cost and high performance, very suitable for large-scale deployment as a cloud storage solution
However, because the traditional IP SAN is usually directly connected to the block device on the iSCSI Target side, it is not easy to maintain and expand functions, such as snapshots, clones, etc., and there is no distributed data redundancy to solve the single point of failure problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed storage method and system of block device
  • Distributed storage method and system of block device
  • Distributed storage method and system of block device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to clarify the method and system described in the present invention, further detailed description will be given below in conjunction with the accompanying drawings and implementation cases.

[0039] This embodiment provides a method for distributed storage of block devices, the relationship of key objects is as follows figure 1 As shown, the specific adoption scheme is as follows:

[0040] Define the storage space of the block device as a logical volume, and divide it into N logical blocks according to a fixed size;

[0041] Each logical block is actually stored on multiple physical hard disks distributed in the system, and these actual physical storage addresses are physical blocks;

[0042] The mapping relationship between the logical block and its corresponding physical blocks is saved through the index, and the corresponding physical block information is obtained according to the relevant index when processing the read and write requests of the block devic...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is applicable to the storage field, particularly relates to distributed storage systems and discloses a distributed storage method and system of a block device. The method comprises defining the storage space of the block device as a logical volume and segmenting the logical volume into N logical blocks in a fixed size; actually storing the logical blocks in a plurality of physical storages, and associating the mapping relations of the logical blocks and a plurality of corresponding physical storage addresses through indexing. The system comprises a data access layer, an index server and a storage server, wherein the data access layer processes a read-write request of the block device on the basis of an iSCSI (Internet small computer system interface) protocol; after analyzing the protocol, the data access layer obtains the actual physical storage position of the logical block involved in the request from the index server; after receiving the request, the index server queries associated indexes to find a corresponding storage server and feeds information back to the data access layer; after receiving information fed back by the index server, the data access layer accesses the storage server to complete subsequent data reading and writing tasks.

Description

technical field [0001] The invention belongs to the technical field of storage, and in particular relates to distributed storage of block devices. Background technique [0002] In distributed storage, there are two main storage methods. One is file-based storage, such as NAS (Network Attached Storage), which is characterized by low cost and easy implementation. In the IO scenario, the efficiency is not high and the performance is poor; the other is block-based storage, such as SAN (Storage Area Network), in which FC SAN is expensive and not easy to deploy on a large scale, while IP SAN has low cost and With the characteristics of high performance, it is very suitable for large-scale deployment as a cloud storage solution. However, because the traditional IP SAN is usually directly connected to the block device on the iSCSI Target side, it is not easy to maintain and expand functions, such as snapshots and clones, and there is no distributed data redundancy to solve the sing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
Inventor 莫显峰蒙晓净马名莫灿
Owner UCLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products