Data migration method and data migration device

A data and hard disk technology, applied in the field of data migration methods and data migration devices, can solve the problems of increasing the load of the hard disk where the data is located, low storage space utilization, only considering the hard disk space utilization, etc., so as to reduce the load and improve the overall performance. Effect

Inactive Publication Date: 2014-01-08
HUAWEI TECH CO LTD
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing data migration method is to migrate data from a hard disk with a high storage space utilization rate to a hard disk with a low storage space utilization rate. During the migration process, only the space utilization rate of the hard disk is considered
When the hard disk participating in the migration is the data with high frequency of IO access (IO: Input Output input and output access) during the system migration, the hard disk storing the data must not only respond to IO access frequently, but also need to perform data migration, which increases the burden on the data location. Hard disk load, which will lead to a decline in the overall performance of the system

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
  • Data migration method and data migration device
  • Data migration method and data migration device
  • Data migration method and data migration device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] This embodiment proposes a method for data migration, which is applied to a storage device. The storage device includes at least one hard disk group, and each hard disk group includes multiple hard disks. See figure 2 , the method includes the following steps:

[0043] Step 201: Divide multiple hard disks in each hard disk group into a first hard disk set and a second hard disk set, wherein the space utilization rate of each hard disk in the first hard disk set is higher than a first threshold.

[0044] Step 202: Divide the first set of hard disks into a first subset of hard disks and a second subset of hard disks, and the IO access frequency of each hard disk in the first subset of hard disks is lower than a second threshold.

[0045] Step 203: Migrate the data stored in the hard disks in the first hard disk subset to the hard disks in the second hard disk set.

[0046] by the above figure 2It can be seen from the flow shown that in the embodiment of the present in...

Embodiment 2

[0052] This embodiment proposes another data migration method, which is applied to a storage device. Take the storage device including a hard disk group 1, and the hard disk group 1 includes 10 hard disks as an example, see image 3 and Figure 4 , the method includes the following steps:

[0053] Step 301: Divide the 10 hard disks in hard disk group 1 into hard disk set 1 and hard disk set 2 in real time, wherein the space utilization rate of each hard disk in hard disk set 1 is higher than threshold 1, and the space utilization rate of each hard disk in hard disk set 2 is The space utilization rate of the hard disk is not higher than threshold 1.

[0054] In this step, the threshold value 1 can be set according to factors such as the storage capacity of the hard disk, the amount of stored data, and the like. The threshold 1 may be a preset static value, or may be a value dynamically set according to demand synchronization.

[0055] Since the space utilization rate of the ...

Embodiment 3

[0071] This embodiment proposes a data migration device, see Figure 5 , including: a set division unit 501, a migration processing unit 502,

[0072] A collection dividing unit 501, configured to divide the hard disk group into a first hard disk collection and a second hard disk collection, the space utilization rate of each hard disk in the first hard disk collection is higher than the first threshold; and divide the first hard disk collection into the second hard disk collection A hard disk sub-set and a second hard disk sub-set, the IO access frequency of each hard disk in the first hard disk sub-set is lower than the second threshold;

[0073] The migration processing unit 502 is configured to migrate the data stored on the hard disks in the first hard disk subset to the hard disks in the second hard disk set.

[0074] In order to further ensure the orderliness of data migration and facilitate the management and maintenance of the migration process, in this embodiment, s...

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 data migration method and a data migration device. The data migration method is used in storage equipment. The storage equipment comprises at least one hard-disk pack, and each hard-disk pack comprises a plurality of hard disks. The method includes the steps that the hard disks are divided into a first hard disk set and a second hard disk set, wherein the space utilization rate of each hard disk in the first hard disk set is higher than a first threshold; the first hard disk set is divided into a first hard disk subset and a second hard disk subset, wherein the IO accessing frequency of each hard disk in the first hard disk subset is lower than a second threshold; data stored in the hard disks in the first hard disk subset are migrated to the hard disks in the second hard disk set. The data migration method and the data migration device can avoid weighing load of the hard disks during data migration.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a data migration method and a data migration device. Background technique [0002] A storage device usually includes a plurality of hard disks. When storing data in the hard disks, the data is usually stored randomly, which will lead to unbalanced storage of data among the hard disks. The amount of data stored in a certain hard disk is too large, which will lead to the concentration of data operations on this hard disk, resulting in slow system response, and may cause damage to the hard disk due to excessive read and write operations on the hard disk, resulting in data failure and storage failure. . Therefore, a method of data migration is proposed to migrate data between hard disks, so as to achieve the purpose of evenly distributing data in each hard disk. [0003] The existing data migration method is to migrate data from a hard disk with a high storage space utilization rate to ...

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 Applications(China)
IPC IPC(8): G06F3/06
Inventor 雷延钊曹红强熊伟
Owner HUAWEI 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