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

RAID volume forming method, system and device and readable storage medium

A technology for grouping volumes and storing data. It is applied in the field of logical volume grouping and can solve the problems of storage data and space utilization that cannot meet expectations.

Pending Publication Date: 2020-04-28
SANGFOR TECH INC
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But for logical volume 2, it can only accept up to 30GB of data from the upper layer. Therefore, for the two physical disks on the lower layer, each of the 5GB space cannot actually be used to store data. For the same reason, when the logical volume is released The same problem may also exist when a part of the storage space is used, making the space utilization rate unable to meet expectations

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
  • RAID volume forming method, system and device and readable storage medium
  • RAID volume forming method, system and device and readable storage medium
  • RAID volume forming method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] The following combination figure 2 , figure 2 A flow chart of a method for configuring a RAID volume provided in an embodiment of the present application, which specifically includes the following steps:

[0058] S101: Determine the actual size of the complete data to be stored according to the issued new data writing task;

[0059] The purpose of this step is to determine the actual size of the complete data to be stored according to the issued new data writing task. It is usually the upper-layer application that is responsible for issuing the new data writing task. To store data, the actual size of a 10GB data to be stored is 10GB. The purpose of this step is to determine the size of the object. The object referred to here is the data to be stored, and the data to be stored can be expressed in various forms of objects.

[0060] S102: Calculate the size of each data block according to the actual size and the number of target physical disks to obtain the target siz...

Embodiment 2

[0071] The following combination Figure 5 , Figure 5 The flow chart of another RAID volume assembly method provided by the embodiment of this application is different from the first embodiment. This embodiment adds erasure code technology through S203 and S204, and uses data blocks and checksums at the same time in S205. Blocks are formed at the same time to obtain an erasure RAID volume. The specific implementation steps are as follows:

[0072] S201: Determine the actual size of the complete data to be stored according to the issued new data writing task;

[0073] S202: Calculate the size of each data block according to the actual size and the number of target physical disks to obtain the target size;

[0074] S203: Using erasure code technology to calculate a preset number of check blocks from each data fragment consistent with the number of target physical disks;

[0075] Among them, the erasure correction algorithm is a preset number of check blocks calculated from a...

Embodiment 3

[0081] The following combination Figure 6 , Figure 6 A flowchart for adjusting the size of a RAID volume based on the above-mentioned RAID volume grouping method provided by the embodiment of the present application. The technology provided by this embodiment can be based on any of the above-mentioned embodiments, and the specific steps are as follows:

[0082] S301: When the storage space of the target RAID volume is adjusted, calculate the total space adjustment size according to the received adjustment instruction;

[0083] For easy understanding, for example, a RAID volume needs to be adjusted from the original 30GB to 20GB. According to the calculation formula: 30GB-20GB=10GB, the calculated total space adjustment size is 10GB.

[0084] S302: Calculate and obtain the data block resize according to the total space resize and the quantity of each target physical disk;

[0085] Assuming that the number of target physical disks constituting the RAID volume is 2, according...

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 discloses a RAID (Redundant Array of Independent Disks) volume forming method different from a method for establishing a RAID volume by using a data block which has a preset size and serves as a minimum unit. The RAID volume is no longer established by using data blocks with fixed sizes; after the actual size of the to-be-stored data is determined, the size of the data block servingas each minimum unit is dynamically determined according to the number of the physical disks for constructing the RAID volume; the invention discloses an object-based data block size determination mode and an RAID volume establishment method based on the object-based data block size determination mode. High-precision storage and test paper composition can be carried out by taking the minimum 4K (SSD minimum data storage unit) as the minimum unit, dynamic adjustment of the size of each RAID test paper becomes possible, the space utilization rate of a disk is improved as much as possible, and cost reduction and benefit increase are facilitated. The invention further discloses a RAID volume forming system and device and a computer readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of logical volume formation, and in particular to a RAID volume formation method, system, device and computer-readable storage medium. Background technique [0002] In order to store the explosively increasing amount of data in the information age and to provide better protection and redundancy for the stored data, RAID technology is gradually being widely used. [0003] RAID, Redundant Arrays of Independent Drives, the Chinese name is disk array. A disk array is composed of a lot of cheap disks combined into a large-capacity disk group, and the performance of the entire disk system is improved by using the bonus effect generated by the data provided by individual disks. The RAID0 mode is a mode widely used in RAID technology. [0004] In RAID0 mode, a complete data file will be divided into multiple data fragments and stored in different physical disks. This method is the easiest way to increase...

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/06G06F11/10
CPCG06F3/0608G06F3/0604G06F3/064G06F3/0689G06F11/10
Inventor 吴大立郑炎亭
Owner SANGFOR TECH INC
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