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

A technology of distributed storage and target storage, applied in the online migration method, device and computer-readable storage medium of distributed storage volume, system field

Active Publication Date: 2021-09-17
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 0 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, device and readable storage medium
  • Distributed storage volume online migration method, system, device and readable storage medium
  • Distributed storage volume online migration method, system, 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 present application discloses a distributed storage volume online migration method, system, device, and computer-readable storage medium, including acquiring a metadata object storing metadata of the original volume; creating a metadata object in the target storage pool corresponding to the migration instruction; Data context handle and data context handle; store the metadata object to the metadata context handle; store the original volume information field in the metadata object to the target volume; copy the data objects in the original volume to the target volume in sequence; target The ID of the copied data object is recorded in the volume; this application stores the metadata object of the original volume to the target storage pool and the target volume, without destroying the original index relationship of the data in the original volume, and can use the information of the original volume to access the target At the same time, the ID of the data object is used to ensure that the data of the original volume can still be accessed during the migration process, and the data that has been migrated to the target volume is preferentially accessed, so as to realize the imperceptible online migration of storage volumes.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/0647G06F3/0644G06F3/0665G06F3/067G06F3/0601
Inventor 白战豪张端
Owner INSPUR SUZHOU INTELLIGENT 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