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

RBD data storage method and system based on Ceph, server and storage medium

A data storage and memory technology, applied in the field of data backup and recovery, can solve the problems of data loss and inability to recover data in time, and achieve the effect of protecting data, preventing data loss, and recovering data in time

Inactive Publication Date: 2020-02-07
柏科数据技术(深圳)股份有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the backup and recovery technology for the RBD device in Ceph has the technical problem that once a failure occurs, the data cannot be recovered in time and the data is lost

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
  • RBD data storage method and system based on Ceph, server and storage medium
  • RBD data storage method and system based on Ceph, server and storage medium
  • RBD data storage method and system based on Ceph, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flowchart of a Ceph-based RBD data storage method provided by Embodiment 1 of the present invention. This embodiment is applicable to data backup and reading, and the method can be executed by a host. Such as figure 1 As shown, the Ceph-based RBD data storage method includes:

[0041] Step S110, acquiring RBD block data;

[0042] Specifically, Ceph is a unified, distributed file system designed for excellent performance, reliability, and scalability. The Ceph storage system can simultaneously provide three functions of object storage, block storage and file system storage to meet different application requirements. RBD is the block device in Ceph. The function of a 4T block device is similar to that of a 4T SATA. The mounted RBD can be used as a disk.

[0043] Step S120, splitting the RBD block data according to the first order to obtain multiple RBD sub-data;

[0044] Specifically, before splitting the RBD block data, the RBD block data may be enc...

Embodiment 2

[0049] The second embodiment is further optimized on the basis of the first embodiment. figure 2 It is a flowchart of a Ceph-based RBD data storage method provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the Ceph-based RBD data storage method of the present embodiment includes:

[0050] Step S210, acquiring RBD block data;

[0051]Specifically, Ceph is a unified, distributed file system designed for excellent performance, reliability, and scalability. The Ceph storage system can simultaneously provide three functions of object storage, block storage and file system storage to meet different application requirements. RBD is the block device in Ceph. The function of a 4T block device is similar to that of a 4T SATA. The mounted RBD can be used as a disk.

[0052] Step S220, encrypting the RBD block data to ensure the security of the RBD block data;

[0053] Specifically, encrypting the RBD block data before splitting can effectively guarantee ...

Embodiment 3

[0075] Figure 4 A schematic structural diagram of a Ceph-based RBD data storage system provided by Embodiment 3 of the present invention. Such as Figure 4 As shown, the Ceph-based RBD data storage system 300 includes:

[0076] An acquisition module 310, configured to acquire RBD block data;

[0077] A splitting module 320, configured to split the RBD block data in a first order to obtain multiple RBD sub-data;

[0078] The storage module 330 is configured to store multiple RBD sub-data in at least one storage pool in a second order.

[0079] In this embodiment, the splitting module 320 includes:

[0080] The first judging unit is used to judge whether the RBD block data can be evenly split into a plurality of RBD sub-data of a preset size;

[0081] The first splitting unit is used to split the RBD block data according to the first order to obtain multiple RBD sub-data;

[0082] The second splitting unit is used to determine the number of RBD sub-data according to the f...

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 embodiment of the invention discloses a RBD data storage method and system based on Ceph, a server and a storage medium. The method comprises the following steps: acquiring RBD block data; splitting the RBD block data according to a first sequence to obtain a plurality of RBD sub-data; and storing the plurality of RBD sub-data into at least one storage pool according to a second sequence. By providing safety protection for the RBD equipment in the Ceph distributed cluster file system, the technical effects that when the distributed cluster file system breaks down, data cannot be lost, andthe data can be recovered in time are achieved.

Description

technical field [0001] The embodiment of the present invention relates to data backup and recovery technology, and in particular to a Ceph-based RBD data storage method, system, server and storage medium. Background technique [0002] With the development of cluster storage technology, the distribution of the cluster file system is particularly important to the scalability of the cluster. Since most cluster file systems are implemented by means of central nodes and metadata servers. Its defect is that the expansion of the cluster file system is limited by the central node and the metadata server. Based on this background, Ceph is a better choice. Ceph is a unified, distributed storage system designed for excellent performance, reliability, and scalability. Specifically, "unified" means that Ceph can provide three functions of object storage, block storage and file system storage at the same time in one storage system to meet different application requirements. Block stor...

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): G06F16/182G06F16/11G06F21/60G06F21/62G06F11/14
CPCG06F11/1446G06F16/128G06F16/182G06F21/602G06F21/6218
Inventor 龚立义谢俊
Owner 柏科数据技术(深圳)股份有限公司
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