Distributed storage volume creation method, system and device and computer medium

A distributed storage and computer program technology, applied in computing, special data processing applications, instruments, etc., can solve problems such as failure to create distributed storage volumes, volume ID conflicts, etc.

Active Publication Date: 2020-11-03
北京浪潮数据技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the application process of the distributed storage system, it is sometimes necessary to create distributed storage volumes. However, since there are multiple distributed storage nodes in the distributed storage system, multiple distributed storage nodes may require the creation of distributed storage volumes at the same time. In this case, volume ID conflicts may occur, causing the creation of distributed storage volumes to fail.

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 volume creation method, system and device and computer medium
  • Distributed storage volume creation method, system and device and computer medium
  • Distributed storage volume creation method, system and device and computer medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0051] see figure 1 , figure 1 It is a flow chart of a method for creating a distributed storage volume provided by the embodiment of the present application.

[0052] A method for creating a distributed storage volume provided in an embodiment of the present application may include the following steps:

[0053] Step S101: Obtain a target distributed storage volume creation request.

[0054] In practical applications, you can first obtain the target distributed storage volume cre...

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 distributed storage volume creation method, system and device and a computer medium. The method comprises the steps: obtaining a target distributed storage volume creation request; judging whether the target distributed storage volume creation request is legal or not; if the target distributed storage volume creation request is legal, selecting a volume ID in an unused state from preset volume IDs as a target volume ID according to a preset requirement; based on the target volume ID, creating a target volume according to the target distributed storage volume creationrequest, and marking the state of the target volume ID as an in-use state; judging whether the target volume is successfully created or not, and if the target volume is successfully created, marking the state of the target volume ID as a used state; if the target volume fails to be created, marking the state of the target volume ID as an unused state, wherein the initial state of the preset volumeID is unused. According to the volume creation method and device, the unused state, the in-use state and the used state are set for each volume ID, so the volume ID conflict condition is avoided, andthe volume creation success rate can be increased.

Description

technical field [0001] The present application relates to the technical field of distributed storage, and more specifically, to a method, system, device and computer medium for creating a distributed storage volume. Background technique [0002] Distributed storage system is to disperse and store data on multiple independent devices. Traditional network storage systems use centralized storage servers to store all data. Storage servers become the bottleneck of system performance and the focus of reliability and security, which cannot meet the needs of large-scale storage applications. The distributed network storage system adopts a scalable system structure, uses multiple storage servers to share the storage load, and uses the location server to locate and store information. It not only improves the reliability, availability and access efficiency of the system, but also is easy to expand, distributed storage The system is also being used more and more. [0003] In the appli...

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/06G06F16/185
CPCG06F3/067G06F3/0629G06F16/185G06F3/0644
Inventor 杨飞虎
Owner 北京浪潮数据技术有限公司
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