Dual-control RAID synchronization method and device

A synchronization device and synchronization module technology, applied in the direction of input/output to record carrier, etc., can solve the problems of slow synchronization speed, unfavorable user experience, and inability to fully utilize dual-control RAID resources, so as to achieve rapid synchronization, improve user experience, The effect of reducing the time to risk

Active Publication Date: 2017-05-10
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since only one controller is used to run synchronization on one node, the resources of the two nodes of dual-contro...

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
  • Dual-control RAID synchronization method and device
  • Dual-control RAID synchronization method and device
  • Dual-control RAID synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0046] Please refer to figure 1 , figure 1 It is a flowchart of a dual-controller RAID synchronization method provided by an embodiment of the present invention. The method can include:

[0047] Step 101: the master node and the slave node load the dirty bitmap from the metadata area of ​​the disk.

[0048]Wherein, the bitmap after being ...

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 dual-control RAID synchronization method and device. The method includes the steps that a master node and a slave node load a dirty bitmap from a metadata area of a disk; the master node and the slave node synchronize an even number of pairs of even data blocks in the bitmap and an odd number of pairs of odd data blocks in the bitmap respectively; every time after the master node and the slave mode synchronize one data block, the bitmap of the metadata area is updated once; after valid bits of the bitmap of the metadata area are emptied, the master node and the slave node load a bitmap of the metadata area again. The master node and the slave node synchronize an even number of pairs of even data blocks in the bitmap and an odd number of pairs of odd data blocks in the bitmap respectively, so dual-control RAID synchronization can be conducted on the two nodes according to an odd number of bits and an even number of bits on the bitmap, load balance is achieved, the phenomenon that the nodes are idle is avoided, dual-control RAID synchronization can be quicker, the time of data loss risks is shortened, and user experience is improved.

Description

technical field [0001] The invention relates to the technical field of computer storage, in particular to a dual-controller RAID synchronization method and device. Background technique [0002] RAID (Redundant Arrays of Independent Disks, RAID), a redundant independent disk array, is a large-capacity disk group composed of many relatively cheap disks. It can use the bonus effect generated by individual disks to provide data to improve the overall Disk system performance. Using this technology, data can be cut into many sections and stored on each hard disk. At the same time, RAID also provides different levels of redundancy capabilities (except RAID0). When a disk in the array fails, the data in the failed disk can be restored to the hot spare disk through redundant data. Thereby ensuring the integrity of user data. [0003] There are two main technologies for implementing RAID, one is mirroring technology, like RAID1, and the other is striping technology, like RAID5 and ...

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
IPC IPC(8): G06F3/06
Inventor 侯英利张永锋刘浩
Owner ZHENGZHOU YUNHAI INFORMATION 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