Unlock instant, AI-driven research and patent intelligence for your innovation.

Data migration method, device and equipment based on nbd equipment and storage medium

A device and data technology, applied in the computer field, can solve problems such as low efficiency and affecting business continuity

Active Publication Date: 2019-10-15
PING AN TECH (SHENZHEN) CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a data migration method, device, device, and storage medium based on nbd equipment, aiming to solve the problem of low efficiency and impact on the process of migrating data from local disks to distributed storage systems in the prior art. Business Continuity Technical Issues

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
  • Data migration method, device and equipment based on nbd equipment and storage medium
  • Data migration method, device and equipment based on nbd equipment and storage medium
  • Data migration method, device and equipment based on nbd equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0060] The present invention provides a data migration method based on nbd equipment. In the first embodiment of the data migration method based on nbd equipment in the present invention, refer to figure 1 , the data migration method based on the nbd device is applied to the Ceph client in the Ceph distributed system, the Ceph client includes a local disk, the Ceph distributed system also includes a Ceph cluster, and the data based on the nbd device Migration methods include:

[0061] Step S10, when detecting that the rbd-nbd process starts, obtain the target nbd device corresponding to the rbd-nbd process at the Ceph client;

[0062] Step S20, if it is detected that a read-write service processing request is performed based on the target nbd device, determine whether the target data requested by the read-write servi...

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 data migration method, device and equipment based on nbd equipment and a storage medium. The data migration method comprises the following steps: when it is detected that an rbd-nbd process is started, obtaining a target nbd device corresponding to the rbd-nbd process at a Ceph client side; if a read-write service processing request based on the target nbd device is detected, judging whether target data requested by the read-write service processing request is migrated to the Ceph cluster from the local disk; if the target data is not migrated to the Ceph cluster from the local disk, sending the target data to the local disk; and if so, reading the target data from the local disk, and sending the target data to the Ceph cluster based on the rbd-nbd process. The datamigration method solves the technical problems that in the prior art, in the process of migrating the data of the local disk to a distributed storage system, the efficiency is low, and service continuity is affected.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data migration method, device, device and storage medium based on nbd equipment. Background technique [0002] The Ceph distributed system includes the Ceph client and the Ceph cluster. The Ceph client includes the network block device (network block device). A block device, where the Ceph client can select a created nbd device locally and connect to the rbd device of the Ceph cluster through the preset nbd protocol. Specifically, the rbd device can be understood as a storage device in the Ceph cluster , it should be noted that in the Ceph distributed system, reading and writing on the Ceph client nbd device needs to be converted into reading and writing to the rbd device in the Ceph cluster. After the reading and writing of the rbd device in the Ceph cluster is completed, obtain the rbd device The read and write content of the Ceph client nbd device is returned to t...

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
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/061G06F3/0647G06F3/067
Inventor 王新
Owner PING AN TECH (SHENZHEN) CO LTD