Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed storage method and system for a block device

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

Active Publication Date: 2018-08-21
UCLOUD TECH CO LTD
View PDF6 Cites 0 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 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). With high performance characteristics, 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, 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 for a block device
  • Distributed storage method and system for a block device
  • Distributed storage method and system for a 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). 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 single point of failure problem. Contents of the invention [0003] In order to overcome the deficien...

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 Patents(China)
IPC IPC(8): G06F3/06
Inventor 莫显峰蒙晓净马名莫灿
Owner UCLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products