CN103729150A - Method for processing Write Hole in memory array - Google Patents

Method for processing Write Hole in memory array Download PDF

Info

Publication number
CN103729150A
CN103729150A CN201410016709.0A CN201410016709A CN103729150A CN 103729150 A CN103729150 A CN 103729150A CN 201410016709 A CN201410016709 A CN 201410016709A CN 103729150 A CN103729150 A CN 103729150A
Authority
CN
China
Prior art keywords
controller
data
write
raid5
local
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
CN201410016709.0A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410016709.0A priority Critical patent/CN103729150A/en
Publication of CN103729150A publication Critical patent/CN103729150A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for processing a Write Hole in a memory array. The processing method comprises the steps that data written by a controller of a home terminal is backed up into a controller of an opposite terminal during RAID 5 degradation in memory systems which form a mutually redundant controller pair, and the controller of the opposite terminal is informed of the releasing of the backed up data after writing is conducted successfully by the controller of the home terminal. If the controller of the home terminal fails when the controller writes on a magnetic disk and the controller of the opposite terminal takes over memory resources of the controller of the home terminal, an RAID 5 is restarted to write the backed up data into a corresponding magnetic disk. Compared with the prior art, the method for processing the Write Hole in the memory array has the advantages that data consistency and data stability of an RAID 5 magnetic disk array are improved, practicality is high, and popularization is easy to achieve.

Description

A kind of method of processing Write Hole in storage array
Technical field
The present invention relates to Computer Storage array technique field, more specifically say the method for processing Write Hole in storage array.
Background technology
RAID5 is " adopting piece interleaving access and check information to be uniformly distributed " pattern.
RAID5 read-write operation is to take band as base unit, and the width of band is 4KB, and the length of band is member's disk number.For the write operation of data in magnetic disk in band, all to upgrade check disk data, to guarantee the consistance of strip data.There is Write Hole problem when reading to rewrite in its write operation.
What is Write Hole? we know in a band of RAID5, must meet D1 ⊕ D2 ⊕ D3 ⊕ D4 ⊕ P=0, and any one data Dx could be calculated by other data and P like this.But the in the situation that of Power Failure, can make D1 ⊕ D2 ⊕ D3 ⊕ D4 ⊕ P unequal to 0.Why? suppose such a case: we will write D1', it is upper that so new P' can write disk, yet unfortunately in the situation that also not writing, just the power supply failed.The situation D1 that at this time may occur and P will become unknown data X and Y.X is likely that D1 is likely also D1' certainly, may be more the potpourri of D1 and D1', and Y is also like this.Data on this band are inconsistent in this case, and if now to have a dish in RAID5 be (the RAID5 degradation) losing efficacy, it is wrong utilizing failure disc that the disk of inefficacy the do not calculate data on this band.Write Hole problem that Here it is.
Based on this, now need a kind of disposal route that can guarantee data consistency on RAID5 band, solve Write Hole problem.
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, and a kind of method of processing Write Hole in storage array is provided.
Technical scheme of the present invention realizes in the following manner, a kind of this method of processing Write Hole in storage array, and its concrete processing procedure is:
The controller storage system of redundancy is each other set, in RAID5 module, increase the data backup operation under degrading state: the RAID5 under degradation writes data and the proof test value that data all will be write at every turn, the band of take is transferred in the redundant manipulator of opposite end as units synchronization, after local controller successfully writes, reinform opposite terminal controller and discharge backed-up data;
If when writing with a brush dipped in Chinese ink disk, controller failure, during redundant manipulator taking over fault controller storage resource, restarts RAID5, before RAID5 provides exterior read-write request, the Backup Data and the verification that do not discharge is write on corresponding disk.
The controller of redundancy is in the situation that RAID5 demotes each other, local controller and opposite terminal controller are Sever/Client pattern, data that local terminal is write are backuped in opposite terminal controller: local controller Client connects with opposite terminal controller Sever, and by local terminal RAID5 information, and the institute band of writing and data send to opposite end backup; Local Data has been write with a brush dipped in Chinese ink, and sends a command to opposite end, allows opposite end discharge backed-up data.
The beneficial effect that the present invention compared with prior art produced is:
A kind of method of processing Write Hole in storage array of the present invention is when local controller is being write with a brush dipped in Chinese ink disk, controller failure, when opposite terminal controller is taken over local controller storage resources, restarting RAID5 writes Backup Data on corresponding disk, and then data consistency, the stability of raising RAID5 disk array, practical, be easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is implementation structure schematic block diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, a kind of method of processing Write Hole in storage array of the present invention is described in detail below.
As shown in Figure 1, now provide a kind of fan design implementation method of effective reduction server energy consumption, its concrete processing procedure is:
The controller storage system of redundancy is each other set, when storage array is paired redundant manipulator, between two redundant manipulators, is designed to high speed interconnected.In RAID5 module, increase the data backup operation under degrading state: the RAID5 under degradation writes data and the proof test value that data all will be write at every turn, the band of take is transferred in the redundant manipulator of opposite end as units synchronization, after local controller successfully writes, reinform opposite terminal controller and discharge backed-up data;
If when writing with a brush dipped in Chinese ink disk, controller failure.During redundant manipulator taking over fault controller storage resource, restart RAID5, before RAID5 provides exterior read-write request, the Backup Data and the verification that do not discharge are write on corresponding disk.So just guarantee the consistance of data on RAID5 band, solved Write Hole problem.
The controller of redundancy is in the situation that RAID5 demotes each other, local controller and opposite terminal controller are Sever/Client pattern, data that local terminal is write are backuped in opposite terminal controller: local controller Client connects with opposite terminal controller Sever, and by local terminal RAID5 information, and the institute band of writing and data send to opposite end backup; Local Data has been write with a brush dipped in Chinese ink, and sends a command to opposite end, allows opposite end discharge backed-up data.
The foregoing is only embodiments of the invention, within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (2)

1. in storage array, process a method of Write Hole, it is characterized in that its concrete processing procedure is:
The controller storage system of redundancy is each other set, in RAID5 module, increase the data backup operation under degrading state: the RAID5 under degradation writes data and the proof test value that data all will be write at every turn, the band of take is transferred in the redundant manipulator of opposite end as units synchronization, after local controller successfully writes, reinform opposite terminal controller and discharge backed-up data;
If when writing with a brush dipped in Chinese ink disk, controller failure, during redundant manipulator taking over fault controller storage resource, restarts RAID5, before RAID5 provides exterior read-write request, the Backup Data and the verification that do not discharge is write on corresponding disk.
2. a kind of method of processing Write Hole in storage array according to claim 1, it is characterized in that: the controller of redundancy is in the situation that RAID5 demotes each other, local controller and opposite terminal controller are Sever/Client pattern, data that local terminal is write are backuped in opposite terminal controller: local controller Client connects with opposite terminal controller Sever, and by local terminal RAID5 information, and the institute band of writing and data send to opposite end backup; Local Data has been write with a brush dipped in Chinese ink, and sends a command to opposite end, allows opposite end discharge backed-up data.
CN201410016709.0A 2014-01-14 2014-01-14 Method for processing Write Hole in memory array Pending CN103729150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410016709.0A CN103729150A (en) 2014-01-14 2014-01-14 Method for processing Write Hole in memory array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410016709.0A CN103729150A (en) 2014-01-14 2014-01-14 Method for processing Write Hole in memory array

Publications (1)

Publication Number Publication Date
CN103729150A true CN103729150A (en) 2014-04-16

Family

ID=50453241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410016709.0A Pending CN103729150A (en) 2014-01-14 2014-01-14 Method for processing Write Hole in memory array

Country Status (1)

Country Link
CN (1) CN103729150A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094629A (en) * 2016-06-28 2016-11-09 北京安控科技股份有限公司 A kind of two functional safety controllers taking a framework
CN108008909A (en) * 2016-10-31 2018-05-08 杭州海康威视数字技术股份有限公司 A kind of date storage method, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020170017A1 (en) * 2001-05-09 2002-11-14 Busser Richard W. Parity mirroring between controllers in an active-active controller pair
CN101840309A (en) * 2009-10-28 2010-09-22 创新科存储技术有限公司 Access control method and system of double control disk array in multipath environment
CN101923441A (en) * 2009-06-17 2010-12-22 成都市华为赛门铁克科技有限公司 Method for processing writing request of redundant array of hybrid magnetic disc, controller and storage system thereof
CN102681794A (en) * 2012-04-23 2012-09-19 浪潮(北京)电子信息产业有限公司 Method and system for realizing redundant array protection of a disk based on double controllers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020170017A1 (en) * 2001-05-09 2002-11-14 Busser Richard W. Parity mirroring between controllers in an active-active controller pair
CN101923441A (en) * 2009-06-17 2010-12-22 成都市华为赛门铁克科技有限公司 Method for processing writing request of redundant array of hybrid magnetic disc, controller and storage system thereof
CN101840309A (en) * 2009-10-28 2010-09-22 创新科存储技术有限公司 Access control method and system of double control disk array in multipath environment
CN102681794A (en) * 2012-04-23 2012-09-19 浪潮(北京)电子信息产业有限公司 Method and system for realizing redundant array protection of a disk based on double controllers

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094629A (en) * 2016-06-28 2016-11-09 北京安控科技股份有限公司 A kind of two functional safety controllers taking a framework
CN108008909A (en) * 2016-10-31 2018-05-08 杭州海康威视数字技术股份有限公司 A kind of date storage method, apparatus and system
CN108008909B (en) * 2016-10-31 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of date storage method, apparatus and system

Similar Documents

Publication Publication Date Title
US9519554B2 (en) Storage system with rebuild operations
CN103513942B (en) The reconstructing method of raid-array and device
US10067844B2 (en) Method of channel content rebuild in ultra-high capacity SSD
CN109344094B (en) Address mapping relation feedback method, device and equipment and readable storage medium
US20110016260A1 (en) Managing backup device metadata in a high availability disk subsystem
CN110058791B (en) Storage system and corresponding method and computer readable medium
JP2013041455A (en) Storage system, storage control device, and storage control method
CN106557145A (en) Circuit breaking protective system and its method
CN101923499A (en) Techniques to perform power fail-safe caching without atomic metadata
CN102541690B (en) Intelligent card and method for recovering data
CN105302667A (en) Cluster architecture based high-reliability data backup and recovery method
US10324782B1 (en) Hiccup management in a storage array
CN104615381B (en) A kind of redundant arrays of inexpensive disks of video monitoring system
US9292204B2 (en) System and method of rebuilding READ cache for a rebooted node of a multiple-node storage cluster
CN105653345A (en) Method and device supporting data nonvolatile random access
US9519545B2 (en) Storage drive remediation in a raid system
CN103092765B (en) Solid-state memory system, device and method for writing data
US20140089563A1 (en) Configuration information backup in memory systems
CN104503781A (en) Firmware upgrading method for hard disk and storage system
US8639968B2 (en) Computing system reliability
CN102880530B (en) Terminal and terminal backup and restoration methods
CN103049407B (en) Date storage method, Apparatus and system
CN106919339B (en) Hard disk array and method for processing operation request by hard disk array
CN103530242A (en) Method for power down protection in write operation process of NandFlash memory
CN103729150A (en) Method for processing Write Hole in memory array

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140416

WD01 Invention patent application deemed withdrawn after publication