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

Distributed storage volume online migration method, system and device and readable storage medium

A technology of distributed storage and target storage, applied in the field of systems, devices and computer-readable storage media, and methods for online migration of distributed storage volumes

Active Publication Date: 2020-07-03
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing technology only supports offline migration

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 online migration method, system and device and readable storage medium
  • Distributed storage volume online migration method, system and device and readable storage medium
  • Distributed storage volume online migration method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0049] The embodiment of the present invention discloses a distributed storage volume online migration method, see figure 1 As shown, the method includes:

[0050] S11: Receive a migration instruction sent by the user terminal.

[0051] It can be understood that when a user needs to migrate data from one volume to another volume, a migration command can be sent through the user terminal to perform data migration, wherein the migration command records the orig...

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 online migration method, system and device and a computer readable storage medium. The method comprises the steps of obtaining a metadata object storing metadata of an original volume; creating a metadata context handle and a data context handle in a target storage pool corresponding to the migration instruction; storing the metadata object to ametadata context handle; storing an original volume information field in the metadata object to the target volume; copying the data objects in the original volume into a target volume in sequence; wherein the ID of the copied data object is recorded in the target volume; according to the method, the metadata object of the original volume is stored in the target storage pool and the target volume;according to the method, the original index relationship of data in the original volume is not damaged, the target volume can be accessed by utilizing the information of the original volume, and meanwhile, the ID of the data object is utilized to ensure that the data of the original volume can still be accessed in the migration process and the data migrated to the target volume is preferentiallyaccessed, so that non-perception online migration of the storage volume is realized.

Description

technical field [0001] The present invention relates to the field of distributed storage, in particular to a distributed storage volume online migration method, system, device and computer-readable storage medium. Background technique [0002] RBD block storage is the most widely used and stable storage type among the 3 storage types provided by ceph. RBD blocks are similar to disks and can be mounted to physical or virtual machines. [0003] iSCSI (Internet Small Computer System Interface, small computer system interface) mainly uses TCP / IP technology to make the storage device (RBD) end through the iSCSI target (iSCSI target) function to make a server end that can provide disks, and then Through the iSCSI initiator (iSCSI initialization user) function, the client that can mount the iSCSI target can be made, so that the disk application can be performed through the iSCSI protocol. [0004] The client can establish a connection with tgt to access the underlying librbd thro...

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/0647G06F3/0644G06F3/0665G06F3/067G06F3/0601
Inventor 白战豪张端
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
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