Fast migration of metadata
US-10254996-B1 · Apr 9, 2019 · US
US2023114326A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2023114326-A1 |
| Application number | US-202117801278-A |
| Country | US |
| Kind code | A1 |
| Filing date | Jan 7, 2021 |
| Priority date | Feb 21, 2020 |
| Publication date | Apr 13, 2023 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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
Improving or facilitating administration, e.g. storage management · CPC title
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
Interfaces specially adapted for storage systems · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.