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

US2023114326A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2023114326-A1
Application numberUS-202117801278-A
CountryUS
Kind codeA1
Filing dateJan 7, 2021
Priority dateFeb 21, 2020
Publication dateApr 13, 2023
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A distributed storage volume online migration method, system, and apparatus, and a computer-readable storage medium, include: obtaining a metadata object that stores metadata of an original volume; creating a metadata context handle and a data context handle in a target storage pool corresponding to a migration instruction; storing the metadata object to the metadata context handle; storing, to a target volume, an original volume information field in the metadata object; sequentially copying data objects in the original volume to the target volume; and recording an Identifier (ID) of a completely copied data object in the target volume.

First claim

Opening claim text (preview).

1 . A distributed storage volume online migration method, comprising: receiving a migration instruction sent by a user terminal; obtaining, by use of the migration instruction, a metadata object that stores metadata of an original volume, wherein the original volume is a volume that corresponds to the migration instruction and comprises data required to be migrated to a target volume; creating a metadata context handle and a data context handle in a target storage pool corresponding to the migration instruction, wherein the target storage pool corresponds to the target volume corresponding to the migration instruction; storing the metadata object to the metadata context handle such that the target storage pool is accessible by use of information corresponding to the metadata object; storing, to the target volume, an original volume information field in the metadata object such that the target volume is accessible by use of information corresponding to the original volume information field; sequentially copying data objects in the original volume to the target volume in order of Identifiers (IDs) of the data objects in the original volume; and recording the ID of a latest completely copied data object in the target volume so as to determine a migration progress of the data objects by use of the ID of the data object. 2 . The distributed storage volume online migration method according to claim 1 , wherein the metadata object comprises a volume name object, a volume ID object, and a volume header object. 3 . The distributed storage volume online migration method according to claim 1 , wherein the method further comprises: setting a migration flag for the target volume. 4 . The distributed storage volume online migration method according to claim 1 , wherein the step of sequentially copying the data objects in the original volume to the target volume comprises: sequentially copying the data objects in the original volume to the target volume through a memory. 5 . The distributed storage volume online migration method according to claim 4 , wherein after the step of recording the ID of the latest completely copied data object in the target volume, the method further comprises: recording the ID of the latest completely copied data object in the memory so as to determine the migration progress of the data objects by use of the ID of the data object in the memory. 6 . The distributed storage volume online migration method according to claim 1 , wherein the method further comprises: deleting the original volume after the data of the original volume is all migrated. 7 . The distributed storage volume online migration method according to claim 1 , wherein the step of creating the metadata context handle and the data context handle in the target storage pool corresponding to the migration instruction comprises: creating the metadata context handle in a target metadata storage pool corresponding to the migration instruction; and creating the data context handle in a target data storage pool corresponding to the migration instruction. 8 . (canceled) 9 . A distributed storage volume online migration apparatus, comprising: a memory, configured to store a computer program; and a processor, configured to execute the computer program, and upon execution of the computer program, is configured to: receive a migration instruction sent by a user terminal; obtain, by use of the migration instruction, a metadata object that stores metadata of an original volume, wherein the original volume is a volume that corresponds to the migration instruction and comprises data required to be migrated to a target volume; create a metadata context handle and a data context handle in a target storage pool corresponding to the migration instruction, wherein the target storage pool corresponds to the target volume corresponding to the migration instruction; store the metadata object to the metadata context handle such that the target storage pool is accessible by use of information corresponding to the metadata object; store, to the target volume, an original volume information field in the metadata object such that the target volume is accessible by use of information corresponding to the original volume information field; sequentially copy data objects in the original volume to the target volume in order of Identifiers (IDs) of the data objects in the original volume; and record the ID of a latest completely copied data object in the target volume so as to determine a migration progress of the data objects by use of the ID of the data object. 10 . A non-transitory computer-readable storage medium, storing a computer program that is executable by a processor, and upon execution by the processor, is configured to cause the processor to: receive a migration instruction sent by a user terminal; obtain, by use of the migration instruction, a metadata object that stores metadata of an original volume, wherein the original volume is a volume that corresponds to the migration instruction and comprises data required to be migrated to a target volume; create a metadata context handle and a data context handle in a target storage pool corresponding to the migration instruction, wherein the target storage pool corresponds to the target volume corresponding to the migration instruction; store the metadata object to the metadata context handle such that the target storage pool is accessible by use of information corresponding to the metadata object; store, to the target volume, an original volume information field in the metadata object such that the target volume is accessible by use of information corresponding to the original volume information field; sequentially copy data objects in the original volume to the target volume in order of Identifiers (IDs) of the data objects in the original volume; and record the ID of a latest completely copied data object in the target volume so as to determine a migration progress of the data objects by use of the ID of the data object. 11 . The distributed storage volume online migration apparatus according to claim 9 , wherein the metadata object comprises a volume name object, a volume ID object, and a volume header object. 12 . The distributed storage volume online migration apparatus according to claim 9 , wherein the processor, upon execution of the computer program, is further configured to: set a migration flag for the target volume. 13 . The distributed storage volume online migration apparatus according to claim 9 , wherein the processor, upon execution of the computer program, is further configured to: sequentially copy the data objects in the original volume to the target volume through a second memory. 14 . The distributed storage volume online migration apparatus according to claim 13 ,: record the ID of the latest completely copied data object in the second memory so as to determine the migration progress of the data objects by use of the ID of the data object in the second memory. 15 . The distributed storage volume online migration apparatus according to claim 9 , wherein the processor, upon execution of the computer program, is further configured to: delete the original volume after the data of the original volume is all migrated. 16 . The distributed storage volume online migration apparatus according to claim 9 , wherein the processor, upon execution of the computer program, is further configured to: create the metadata context handle in a target metadata storage pool corresponding to the migration instruction; and create the

Assignees

Inventors

Classifications

  • G06F3/0604Primary

    Improving or facilitating administration, e.g. storage management · CPC title

  • G06F3/067Primary

    Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS] · CPC title

  • Migration mechanisms · CPC title

  • Management of space entities, e.g. partitions, extents, pools · CPC title

  • G06F3/0601Primary

    Interfaces specially adapted for storage systems · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2023114326A1 cover?
A distributed storage volume online migration method, system, and apparatus, and a computer-readable storage medium, include: obtaining a metadata object that stores metadata of an original volume; creating a metadata context handle and a data context handle in a target storage pool corresponding to a migration instruction; storing the metadata object to the metadata context handle; storing, to…
Who is the assignee on this patent?
Inspur Suzhou Intelligent Technology Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/0604. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Apr 13 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).