OSD process deployment method and device of distributed block storage system and medium

A block storage and distributed technology, applied in the input/output process of data processing, instruments, electrical and digital data processing, etc. The effect of ensuring stability and availability

Inactive Publication Date: 2018-03-30
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the nodes of the distributed block storage system are restarted, the drive letter of the disk partition may drift, that is, the name of the disk partition after the restart is different from that before the restart, which will cause the OSD process to fail to find the original There is a path and it cannot be started normally, which will cause serious problems such as system crash and data loss, which will reduce the overall stability and availability of the system and cannot guarantee the security of data in the system

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
  • OSD process deployment method and device of distributed block storage system and medium
  • OSD process deployment method and device of distributed block storage system and medium
  • OSD process deployment method and device of distributed block storage system and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] figure 1 It is a flow chart of an OSD process deployment method for a distributed block storage system provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the OSD process deployment method of the distributed block storage system include:

[0040] Step S10: Divide the space of the preset disk in the system to obtain logically independent disk partitions.

[0041] It should be noted that this step is to divide the space in the physical disk into multiple logical spaces. The multiple logical spaces are disk partitions. The disk partitions are independent of each other and serve as working nodes in the entire distributed block system. Therefore, On the whole, it is equivalent to dividing a large disk into multiple small disks. It can be understood that the size of the disk partition should be determined according to actual usage requirements, and is not specifically limited here. The selection of the disk may be an SSD or...

Embodiment 2

[0049] figure 2 It is a flow chart of another OSD process deployment method for a distributed block storage system provided by an embodiment of the present invention. figure 2 In steps S10 to S12 with figure 1 Same, no more details here.

[0050] Such as figure 2 As shown, as a preferred implementation manner, after recording the correspondence between the UUID and the OSD process, the method further includes:

[0051] Step S20: Restart the system.

[0052] Step S21: Obtain the UUID corresponding to the OSD process according to the corresponding relationship, and use the UUID as the mounting path of the OSD process to restart the OSD process.

[0053] It is understandable that when the drive letter of the disk partition is used as the mounting path of the OSD process, after restarting the system, the drive letter of the disk partition may drift, causing the OSD process to fail to work normally. Since this method uses the UUID as the mounting path of the OSD process, an...

Embodiment 3

[0065] The embodiment of the OSD process deployment method for the distributed block storage system has been described in detail above, and the present invention also provides an OSD process deployment device for the distributed block storage system corresponding to the method. Due to the implementation of the device part The examples and the embodiments of the method part correspond to each other, so for the embodiments of the device part, please refer to the description of the embodiments of the method part, and details will not be repeated here.

[0066] image 3 It is a structural diagram of an OSD process deployment device for a distributed block storage system provided by an embodiment of the present invention. The OSD process deployment device of the distributed block storage system provided by the embodiment of the present invention specifically includes:

[0067] The partition division module 10 is configured to divide the space of the preset disk in the system to ob...

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 an OSD process deployment method and device of a distributed block storage system and a medium. The method comprises the steps that space of a preset disk in the system is divided to obtain disk partitions which are mutually independent logically; the target disk partition is selected, and a UUID of the target disk partition is obtained; an OSD process is built in the target disk partition, the UUID is regarded as a mount path of the OSD process, and the corresponding relationship between the UUID and the OSD process is recorded. The UUID is regarded as the mount path of the OSD process, so that a mount path of the target OSD process before system reboot is successfully found, then the stability and usability of the whole system are ensured, and security of data inthe system is guaranteed; moreover, the invention further provides the OSD process deployment device of the distributed block storage system and the medium which have the advantages.

Description

technical field [0001] The present invention relates to the field of data storage, in particular to an OSD process deployment method, device and medium of a distributed block storage system. Background technique [0002] With the advent of the big data era, the added value of data continues to increase, and the storage performance of data has gradually become the focus of enterprises. [0003] The distributed block storage system is an effective solution for processing big data. The distributed block storage system can divide the completed physical disk into multiple logical partitions, and the multiple logical partitions can coordinate data storage and backup through RAID or LVM. , while ensuring the efficiency of data reading and writing, it also provides corresponding protection for data security. In addition, the distributed block storage system can be composed of multiple cheap disks, which can expand the system capacity at a relatively low cost. It is precisely becau...

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
CPCG06F3/0614G06F3/0631G06F3/064G06F3/067G06F3/0674
Inventor 李军站
Owner ZHENGZHOU YUNHAI INFORMATION 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