CN107391050A - A kind of data migration method, system, device and computer-readable recording medium - Google Patents

A kind of data migration method, system, device and computer-readable recording medium Download PDF

Info

Publication number
CN107391050A
CN107391050A CN201710828639.2A CN201710828639A CN107391050A CN 107391050 A CN107391050 A CN 107391050A CN 201710828639 A CN201710828639 A CN 201710828639A CN 107391050 A CN107391050 A CN 107391050A
Authority
CN
China
Prior art keywords
hard disk
data
data migration
destination end
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710828639.2A
Other languages
Chinese (zh)
Inventor
贾梦颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710828639.2A priority Critical patent/CN107391050A/en
Publication of CN107391050A publication Critical patent/CN107391050A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0625Power saving in storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Abstract

The invention discloses a kind of data migration method, applied to the scene using hard disk as unit migrating data, including:Hard disk list is created according to being identified correspondingly with the hard disk in storage system;The Data Migration instruction that user sends is received, wherein, Data Migration instruction includes the mark of source hard disk and the mark of destination end hard disk;Source hard disk and destination end hard disk are determined according to Data Migration instruction and hard disk list, and using data all on source hard disk as data to be migrated;It is determined that the storage system where destination end hard disk has access rights to source hard disk and after host side has access rights to destination end hard disk, by Data Migration to be migrated to destination end hard disk, to complete Data Migration.Present invention saves the resource consumption of data migration task, reduces risk caused by data migration task failure.Present invention also offers a kind of data mover system, data migration device and computer-readable recording medium, has such as above-mentioned method identical beneficial effect.

Description

A kind of data migration method, system, device and computer-readable recording medium
Technical field
The present invention relates to storage system field, more particularly to a kind of data migration method.The invention further relates to a kind of number According to migratory system, device and computer-readable recording medium.
Background technology
In the current fast-developing epoch, storage system needs constantly to be upgraded or resource allocation adjusts to meet The demand of user.Specifically, the upgrading of storage system or resource allocation adjustment be unable to do without Data Migration, number of the prior art It is to be carried out with LUN (LogicalUnit Number, LUN) for unit according to migration, by data all on the LUN of source Complete copy completes transition process on target LUN.But in some application scenarios, LUN quantity is more, if still Data Migration is carried out in units of LUN, the quantity for migrating task will be more, and to the resource consumption of storage device also compared with Height, while the risk of data migration task failure is larger.
Therefore, how to provide a kind of scheme for solving above-mentioned technical problem is that those skilled in the art need to solve at present Problem.
The content of the invention
It is an object of the invention to provide a kind of data migration method, the quantity of the migration task of establishment wants much less;This hair Bright another object is to provide a kind of data mover system, device and computer-readable recording medium, has saved Data Migration and has appointed The resource consumption of business.
In order to solve the above technical problems, the invention provides a kind of data migration method, moved applied in units of hard disk The scene of data is moved, including:
Hard disk list is created according to being identified correspondingly with the hard disk in storage system;
Receive the Data Migration instruction that user sends, wherein, Data Migration instruction include the mark of source hard disk with The mark of destination end hard disk;
The source hard disk and the destination end hard disk are determined according to Data Migration instruction and the hard disk list, and Using data all on the source hard disk as data to be migrated;
It is determined that the storage system where the destination end hard disk has access rights and host side pair to the source hard disk After the destination end hard disk has access rights, by the Data Migration to be migrated to the destination end hard disk, to complete number According to migration.
Preferably, it is described to be specially as the process of data to be migrated using data all on the source hard disk:
Data in caching are write with a brush dipped in Chinese ink into the source hard disk, and data all on the source hard disk after writing with a brush dipped in Chinese ink As data to be migrated.
Preferably, when the non-interrupting service of the host side and when carrying out input/output I/O write requests, the reception After the Data Migration instruction that user sends, before the Data Migration is completed, this method also includes:
The ongoing I/O write requests of the host side are arranged to direct write write-through patterns, and are written into Data simultaneously write the source hard disk and the destination end hard disk.
Preferably, it is described determine the destination end hard disk where storage system have to the source hard disk access rights and The process that host side has access rights to the destination end hard disk is specially:
When the storage system where the destination end hard disk does not have access rights to the source hard disk, the mesh is established The storage system where the hard disk of end is marked to the access rights of the source hard disk;
When host side does not have access rights to the destination end hard disk, the host side is established to the destination end hard disk Access rights.
Preferably, after the migration is completed, this method also includes:
Delete access rights of the host side to the source hard disk.
In order to solve the above technical problems, present invention also offers a kind of data mover system, applied in units of hard disk The scene of migrating data, including:
Creating unit, identified correspondingly with the hard disk in storage system for basis and create hard disk list;
Receiving unit, for receiving the Data Migration instruction of user's transmission, wherein, the Data Migration instruction includes source The mark of hard disk and the mark of destination end hard disk;
Processing unit, the source hard disk and the target are determined according to Data Migration instruction and the hard disk list Hard disk is held, and using data all on the source hard disk as data to be migrated;
Migration units, for it is determined that the storage system where the destination end hard disk has access right to the source hard disk After limit and host side have access rights to the destination end hard disk, by the Data Migration to be migrated to the destination end hard disk On, to complete Data Migration.
Preferably, when the non-interrupting service of the host side and when carrying out input/output I/O write requests, the reception After the Data Migration instruction that user sends, before the Data Migration is completed, the processing unit is additionally operable to:
The ongoing I/O write requests of the host side are arranged to direct write write-through patterns, and are written into Data simultaneously write the source hard disk and the destination end hard disk.
Preferably, after the migration is completed, the migration units are additionally operable to delete the host side hard to the source The access rights of disk.
In order to solve the above technical problems, present invention also offers a kind of data migration device, applied in units of hard disk The scene of migrating data, including:
Memory, for storing computer program;
Processor, the step of realizing data migration method described in any of the above-described during for performing the computer program.
In order to solve the above technical problems, present invention also offers a kind of computer-readable recording medium, applied to hard disk For the scene of unit migrating data, computer program, the computer program are stored with the computer-readable recording medium The step of data migration method described in any of the above-described is realized when being executed by processor.
The invention provides a kind of data migration method, applied to the scene using hard disk as unit migrating data, including:Root Hard disk list is created according to being identified correspondingly with the hard disk in storage system;The Data Migration instruction that user sends is received, its In, Data Migration instruction includes the mark of source hard disk and the mark of destination end hard disk;According to Data Migration instruction and hard disk row Table determines source hard disk and destination end hard disk, and using data all on source hard disk as data to be migrated;It is determined that mesh Storage system where mark end hard disk has access rights to source hard disk and after host side has access rights to destination end hard disk, will Data Migration to be migrated is on destination end hard disk, to complete Data Migration.
It can be seen that when the quantity of LUN in some application scenarios is more with respect to the quantity of hard disk and it is all on hard disk to need to migrate Data when, user can select the present invention data migration method, Data Migration is carried out in units of hard disk.Due to hard disk Quantity of the quantity well below LUN, it is clear that the data migration task in units of hard disk is created, compared to establishment in units of LUN Data migration task, the quantity of the migration task of establishment wants much less, so as to save the resource consumption of data migration task, Risk caused by reducing data migration task failure.
Present invention also offers a kind of data mover system, data migration device and computer-readable recording medium, have Such as above-mentioned method identical beneficial effect.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to institute in prior art and embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of process flow diagram flow chart of data migration method provided by the invention;
Fig. 2 is a kind of structural representation of data mover system provided by the invention.
Embodiment
The core of the present invention is to provide a kind of data migration method, and the quantity of the migration task of establishment wants much less;This hair Bright another core is to provide a kind of data mover system, device and computer-readable recording medium, has saved Data Migration and has appointed The resource consumption of business.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is a kind of flow chart of data migration method provided by the invention, applied to using hard disk to be single The scene of position migrating data, including:
Step S11:Hard disk list is created according to being identified correspondingly with the hard disk in storage system;
Specifically, data migration method of the invention is applied to scene using hard disk as unit migrating data, when it is desired with When hard disk is that unit carries out Data Migration, then it is the hard disk establishment hard disk list in storage system in advance to need.Specifically, hard disk List includes identifying correspondingly with hard disk., can be accurate because the mark preserved in hard disk list is corresponding with hard disk The mark according to hard disk determine hard disk, ensure that the correct of the source hard disk determined in transition process and destination end hard disk Property.
Step S12:The Data Migration instruction that user sends is received, wherein, Data Migration instructs the mark for including source hard disk Know the mark with destination end hard disk;
Specifically, user selects data migration method according to the application scenarios and migration demand of reality, if application scenarios The capacity of middle hard disk is larger, and LUN quantity is more with respect to the quantity of hard disk, and what is migrated during migrating data is on DISK to Image Data, then user can select the present invention the data migration method based on hard disk.So, user determines to use the present invention's , it is necessary to send Data Migration instruction to storage end after data migration method, storage end is moved in the data for receiving user's transmission When moving instruction, data migration task is created, starts data migration process, ensure that the orderly progress of Data Migration.
Step S13:Source hard disk and destination end hard disk are determined according to Data Migration instruction and hard disk list, and source is hard All data are as data to be migrated on disk;
Specifically, storage end is after Data Migration instruction is received, in order to which the data completed between source and destination end are moved Move, then it needs to be determined that going out source hard disk and destination end hard disk.Because the Data Migration instruction that storage end of the present invention receives includes The mark of source hard disk and the mark of destination end hard disk, in mark and hard disk list that Data Migration is instructed to the hard disk included The mark of the hard disk of preservation is compared, you can determines source hard disk and destination end hard disk, ensure that actual carry out data are moved It is consistent that the source and destination end of shifting are wanted to carry out the source of Data Migration and destination end with user.
In addition, what is migrated during the data migration method migrating data of the present invention is the data on DISK to Image, i.e., by source All data complete copies are on destination end hard disk on hard disk.Therefore, data to be migrated are all on source hard disk Data, one time transition process can migrate data all on DISK to Image, and if using the Data Migration side based on LUN Method, a transition process migration is data all on LUN.It can be seen that hard disk includes multiple LUN and needs migration is whole hard During data on disk, need to create multiple transition processes using the data migration method based on LUN, hard disk is based on using the present invention Data migration method only need create a transition process, saved the resource consumption in data migration process.
Step S14:It is determined that the storage system where destination end hard disk has access rights and host side pair to source hard disk After destination end hard disk has access rights, by Data Migration to be migrated to destination end hard disk, to complete Data Migration.
Specifically, by before on Data Migration to be migrated to destination end hard disk, for being smoothed out for transition process, mesh Storage system where marking end is needed with the access rights to source hard disk.Simultaneously as Data Migration is entered in storage end Capable, the front-end business to host side is fully transparent, it is impossible to influences the business operation of host side, therefore, host side needs With the access rights to destination end hard disk, in such data migration process and after Data Migration completion, host side enters industry Can smoothly access target end hard disk during business operation.
The invention provides a kind of data migration method, applied to the scene using hard disk as unit migrating data, including:Root Hard disk list is created according to being identified correspondingly with the hard disk in storage system;The Data Migration instruction that user sends is received, its In, Data Migration instruction includes the mark of source hard disk and the mark of destination end hard disk;According to Data Migration instruction and hard disk row Table determines source hard disk and destination end hard disk, and using data all on source hard disk as data to be migrated;It is determined that mesh Storage system where mark end hard disk has access rights to source hard disk and after host side has access rights to destination end hard disk, will Data Migration to be migrated is on destination end hard disk, to complete Data Migration.
It can be seen that when the quantity of LUN in some application scenarios is more with respect to the quantity of hard disk and it is all on hard disk to need to migrate Data when, user can select the present invention data migration method, Data Migration is carried out in units of hard disk.Due to hard disk Quantity of the quantity well below LUN, it is clear that the data migration task in units of hard disk is created, compared to establishment in units of LUN Data migration task, the quantity of the migration task of establishment wants much less, so as to save the resource consumption of data migration task, Risk caused by reducing data migration task failure.
On the basis of above-described embodiment:
It is as a kind of preferred embodiment, data all on source hard disk are specific as the process of data to be migrated For:
Data in caching are write with a brush dipped in Chinese ink into source hard disk, and data all on the source hard disk after writing with a brush dipped in Chinese ink are as waiting to move The data of shifting.
Specifically, it is contemplated that in order to improve the performance of storage system, the data that are generally first written into when writing data Write-in caching, caching write Man Houzai and the data in caching are write into hard disk.Therefore, the data on hard disk may not be in real time most New data, and in order to realize that zero-data loss is needed on newest Data Migration to destination end hard disk during migrating data, institute So that after Data Migration instruction is received, the data in caching first are write with a brush dipped in Chinese ink into source hard disk, the source after then migration is write with a brush dipped in Chinese ink All data on hard disk.This is done so that the data of migration are newest data in real time, it ensure that and deposited on destination end hard disk The data of storage are consistent with data newest in the storage system where current source hard disk, realize zero-data loss.
As a kind of preferred embodiment, input/output I/O write requests are being carried out when the non-interrupting service of host side and When, after receiving the Data Migration instruction that user sends, before Data Migration is completed, this method also includes:
The ongoing I/O write requests of host side are arranged to direct write write-through patterns, and the number being written into According to simultaneously write source hard disk and destination end hard disk.
Specifically, Data Migration is carried out in the storage system of storage end, and the front-end business to host side is completely saturating It is bright, when carrying out Data Migration, host side may not interrupting service and carry out I/O (Input/Output, input/it is defeated Go out) write request.Based on this, in order to ensure that the data after the completion of migration on source hard disk and destination end hard disk are completely the same, this hair It is bright that the ongoing I/O write requests of host side are arranged to direct write write-through patterns, and the data being written into are simultaneously Write source hard disk and destination end hard disk.Under write-through patterns, it just looks like in the absence of one to cache for write operation Sample, the data that each write operation is all directly written into are write in hard disk, while the data that the present invention is also written into are same in real time Step write-in source hard disk and destination end hard disk so that the business operation of host side progress need not be interrupted it is also ensured that having migrated It is completely the same into the data on rear source hard disk and destination end hard disk, avoid the loss of data.
As a kind of preferred embodiment, the storage system where determining destination end hard disk has access rights to source hard disk And the process that host side has access rights to destination end hard disk is specially:
When the storage system where destination end hard disk does not have access rights to source hard disk, establish where destination end hard disk Storage system to the access rights of source hard disk;
When host side does not have access rights to destination end hard disk, access rights of the host side to destination end hard disk are established.
Specifically, when the storage system where source hard disk and the storage system where destination end hard disk are same storage When system, i.e. source hard disk and destination end hard disk are in a storage system, it is not necessary to extra setting, above-mentioned storage system pair Destination end hard disk just has access rights, while host side also has access rights to destination end hard disk.If source hard disk and target End hard disk belongs to different storage systems, then the storage system where destination end hard disk is no access rights to source hard disk , host side does not have access rights to destination end hard disk yet, in this case, it is necessary to storage system where establishing destination end hard disk Unite to the access rights and host side of source hard disk to the access rights of destination end hard disk, ensure that host side energy in transition process It is enough to access the source hard disk and destination end hard disk being distributed in two storage systems simultaneously.
As a kind of preferred embodiment, after migration is completed, this method also includes:
Delete access rights of the host side to source hard disk.
Specifically, it is contemplated that user carry out Data Migration, be because source hard disk can no longer meet the needs of user, it is necessary to By on the Data Migration on source hard disk to the new destination end hard disk that disclosure satisfy that user's request, host side pair after the completion of migration Destination end hard disk is operated when the data of migration are operated, so after migration is completed, host side can be deleted To the access rights of source hard disk, the resource consumption to storage end is reduced.
Fig. 2 is refer to, Fig. 2 is a kind of structural representation of data mover system provided by the invention, applied to hard disk For the scene of unit migrating data, the system includes:
Creating unit 1, identified correspondingly with the hard disk in storage system for basis and create hard disk list;
Receiving unit 2, for receiving the Data Migration instruction of user's transmission, wherein, it is hard that Data Migration instruction includes source The mark of disk and the mark of destination end hard disk;
Processing unit 3, source hard disk and destination end hard disk are determined according to Data Migration instruction and hard disk list, and by source All data are as data to be migrated on hard disk;
Migration units 4, for it is determined that the storage system where destination end hard disk has access rights and master to source hard disk After generator terminal has access rights to destination end hard disk, by Data Migration to be migrated to destination end hard disk, to complete Data Migration.
As a kind of preferred embodiment, input/output I/O write requests are being carried out when the non-interrupting service of host side and When, after receiving the Data Migration instruction that user sends, before Data Migration is completed, processing unit 3 is additionally operable to:
The ongoing I/O write requests of host side are arranged to direct write write-through patterns, and the number being written into According to simultaneously write source hard disk and destination end hard disk.
As a kind of preferred embodiment, after migration is completed, migration units 4 are additionally operable to delete host side to source hard disk Access rights.
Introduction for system provided by the invention refer to above method embodiment, and the present invention will not be repeated here.
The present invention also provides a kind of data migration device, applied to the scene using hard disk as unit migrating data, including:
Memory, for storing computer program;
Processor, the step of realizing any of the above-described data migration method during for performing computer program.
Introduction for data migration device provided by the invention refer to above method embodiment, and the present invention is herein no longer Repeat.
The present invention also provides a kind of computer-readable recording medium, applied to the scene using hard disk as unit migrating data, Computer program is stored with computer-readable recording medium, any of the above-described item number is realized when computer program is executed by processor The step of according to moving method.
Introduction for computer-readable recording medium provided by the invention refer to above method embodiment, and the present invention exists This is repeated no more.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For system disclosed in embodiment, For device and computer-readable recording medium, because it is corresponded to the method disclosed in Example, so the comparison of description is simple Single, related part is referring to method part illustration.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In the storage medium of any other forms well known in field.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. data migration method, applied to the scene using hard disk as unit migrating data, it is characterised in that including:
    Hard disk list is created according to being identified correspondingly with the hard disk in storage system;
    The Data Migration instruction that user sends is received, wherein, the Data Migration instruction includes the mark and target of source hard disk Hold the mark of hard disk;
    The source hard disk and the destination end hard disk are determined according to Data Migration instruction and the hard disk list, and by institute Data all on source hard disk are stated as data to be migrated;
    It is determined that the storage system where the destination end hard disk has access rights to the source hard disk and host side is to described After destination end hard disk there are access rights, by the Data Migration to be migrated to the destination end hard disk, moved with completing data Move.
  2. 2. data migration method according to claim 1, it is characterised in that described by number all on the source hard disk It is specially according to the process as data to be migrated:
    Data in caching are write with a brush dipped in Chinese ink into the source hard disk, and data all on the source hard disk after writing with a brush dipped in Chinese ink as Data to be migrated.
  3. 3. data migration method according to claim 2, it is characterised in that when the non-interrupting service of the host side and When carrying out input/output I/O write requests, after the Data Migration instruction for receiving user and sending, the Data Migration is completed Before, this method also includes:
    The ongoing I/O write requests of the host side are arranged to direct write write-through patterns, and the number being written into According to simultaneously write the source hard disk and the destination end hard disk.
  4. 4. data migration method according to claim 1, it is characterised in that where the determination destination end hard disk Storage system has access rights to the source hard disk and host side has the process of access rights specific the destination end hard disk For:
    When the storage system where the destination end hard disk does not have access rights to the source hard disk, the destination end is established The access rights of storage system where hard disk to the source hard disk;
    When host side does not have access rights to the destination end hard disk, visit of the host side to the destination end hard disk is established Ask authority.
  5. 5. according to the data migration method described in claim any one of 1-4, it is characterised in that, should after the migration is completed Method also includes:
    Delete access rights of the host side to the source hard disk.
  6. A kind of 6. data mover system, applied to the scene using hard disk as unit migrating data, it is characterised in that including:
    Creating unit, identified correspondingly with the hard disk in storage system for basis and create hard disk list;
    Receiving unit, for receiving the Data Migration instruction of user's transmission, wherein, the Data Migration instruction includes source hard disk Mark and destination end hard disk mark;
    Processing unit, determine that the source hard disk and the destination end are hard according to Data Migration instruction and the hard disk list Disk, and using data all on the source hard disk as data to be migrated;
    Migration units, for it is determined that the storage system where the destination end hard disk have to the source hard disk access rights and After host side has access rights to the destination end hard disk, by the Data Migration to be migrated to the destination end hard disk, To complete Data Migration.
  7. 7. data mover system according to claim 6, it is characterised in that when the non-interrupting service of the host side and When carrying out input/output I/O write requests, after the Data Migration instruction for receiving user and sending, the Data Migration is completed Before, the processing unit is additionally operable to:
    The ongoing I/O write requests of the host side are arranged to direct write write-through patterns, and the number being written into According to simultaneously write the source hard disk and the destination end hard disk.
  8. 8. according to the data mover system described in claim any one of 6-7, it is characterised in that after the migration is completed, institute Migration units are stated to be additionally operable to delete access rights of the host side to the source hard disk.
  9. A kind of 9. data migration device, applied to the scene using hard disk as unit migrating data, it is characterised in that including:
    Memory, for storing computer program;
    Processor, realizing the data migration method as described in any one of claim 1 to 5 during for performing the computer program Step.
  10. A kind of 10. computer-readable recording medium, applied to the scene using hard disk as unit migrating data, it is characterised in that institute State and computer program is stored with computer-readable recording medium, such as right is realized when the computer program is executed by processor It is required that the step of any one of 1 to 5 data migration method.
CN201710828639.2A 2017-09-14 2017-09-14 A kind of data migration method, system, device and computer-readable recording medium Pending CN107391050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710828639.2A CN107391050A (en) 2017-09-14 2017-09-14 A kind of data migration method, system, device and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710828639.2A CN107391050A (en) 2017-09-14 2017-09-14 A kind of data migration method, system, device and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107391050A true CN107391050A (en) 2017-11-24

Family

ID=60351839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710828639.2A Pending CN107391050A (en) 2017-09-14 2017-09-14 A kind of data migration method, system, device and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107391050A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228102A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 Internodal data moving method, device, computing device and computer storage media
CN109521967A (en) * 2018-11-15 2019-03-26 郑州云海信息技术有限公司 A kind of moving method and device of data
CN111078121A (en) * 2018-10-18 2020-04-28 深信服科技股份有限公司 Data migration method, system and related components of distributed storage system
CN111158603A (en) * 2019-12-30 2020-05-15 北京浪潮数据技术有限公司 Data migration method, system, electronic equipment and storage medium
CN112650440A (en) * 2019-10-10 2021-04-13 成都华为技术有限公司 Path replacing method and device
CN114968667A (en) * 2022-05-30 2022-08-30 江苏安超云软件有限公司 Backup management method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101416195A (en) * 2005-12-19 2009-04-22 英特尔公司 Mechanism to control access to a storage device
CN102741820A (en) * 2010-02-08 2012-10-17 微软公司 Background migration of virtual storage
CN106302607A (en) * 2015-06-05 2017-01-04 腾讯科技(深圳)有限公司 It is applied to block storage system and the method for cloud computing
CN106843755A (en) * 2017-01-04 2017-06-13 北京百度网讯科技有限公司 For the data balancing method and device of server cluster

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101416195A (en) * 2005-12-19 2009-04-22 英特尔公司 Mechanism to control access to a storage device
CN102741820A (en) * 2010-02-08 2012-10-17 微软公司 Background migration of virtual storage
CN106302607A (en) * 2015-06-05 2017-01-04 腾讯科技(深圳)有限公司 It is applied to block storage system and the method for cloud computing
CN106843755A (en) * 2017-01-04 2017-06-13 北京百度网讯科技有限公司 For the data balancing method and device of server cluster

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228102A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 Internodal data moving method, device, computing device and computer storage media
CN108228102B (en) * 2017-12-29 2021-07-23 北京奇虎科技有限公司 Method and device for data migration between nodes, computing equipment and computer storage medium
CN111078121A (en) * 2018-10-18 2020-04-28 深信服科技股份有限公司 Data migration method, system and related components of distributed storage system
CN109521967A (en) * 2018-11-15 2019-03-26 郑州云海信息技术有限公司 A kind of moving method and device of data
CN112650440A (en) * 2019-10-10 2021-04-13 成都华为技术有限公司 Path replacing method and device
CN111158603A (en) * 2019-12-30 2020-05-15 北京浪潮数据技术有限公司 Data migration method, system, electronic equipment and storage medium
CN114968667A (en) * 2022-05-30 2022-08-30 江苏安超云软件有限公司 Backup management method and system
CN114968667B (en) * 2022-05-30 2023-07-25 安超云软件有限公司 Backup management method and system

Similar Documents

Publication Publication Date Title
CN107391050A (en) A kind of data migration method, system, device and computer-readable recording medium
CN106843755B (en) Data balancing method and device for server cluster
CN109614377A (en) File delet method, device, equipment and the storage medium of distributed file system
CN108647151A (en) It is a kind of to dodge system metadata rule method, apparatus, equipment and storage medium entirely
CN106126374B (en) Method for writing data, method for reading data and device
US9684465B2 (en) Memory power management and data consolidation
CN103064797B (en) Data processing method and virtual machine management platform
CN105516230B (en) A kind of data processing method and device
US10534714B2 (en) Allocating cache memory on a per data object basis
CN110008142A (en) Storing data management method, device, equipment and computer readable storage medium
CN109240617A (en) Distributed memory system write request processing method, device, equipment and storage medium
CN109388478A (en) Method and apparatus for migrating virtual machine in OpenStack environment
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
JP7176209B2 (en) Information processing equipment
US9122689B1 (en) Recovering performance of a file system post-migration
CN107632791A (en) The distribution method and system of a kind of memory space
KR20180089273A (en) Method and apparatus for implementing out-of-order resource allocation
CN110109868A (en) Method, apparatus and computer program product for index file
CN108021333A (en) The system of random read-write data, device and method
US9164885B2 (en) Storage control device, storage control method, and recording medium
JP5969122B2 (en) Host bus adapter and system
CN110515546A (en) A kind of method, apparatus, equipment and the storage medium of inter-system data migration
CN107885580A (en) A kind of cloud moving method, device, equipment and storage medium
CN109086462A (en) The management method of metadata in a kind of distributed file system
US10387043B2 (en) Writing target file including determination of whether to apply duplication elimination

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124