[go: up one dir, main page]

CN111475111A - A RAID group pairing method and device for avoiding destruction of hard disk data - Google Patents

A RAID group pairing method and device for avoiding destruction of hard disk data Download PDF

Info

Publication number
CN111475111A
CN111475111A CN202010250401.8A CN202010250401A CN111475111A CN 111475111 A CN111475111 A CN 111475111A CN 202010250401 A CN202010250401 A CN 202010250401A CN 111475111 A CN111475111 A CN 111475111A
Authority
CN
China
Prior art keywords
hard disk
raid
hard
paired
unpaired
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
CN202010250401.8A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010250401.8A priority Critical patent/CN111475111A/en
Publication of CN111475111A publication Critical patent/CN111475111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a RAID group pairing method and device for avoiding damage to hard disk data, wherein when a hard disk to be paired which is subjected to RAID is inserted into a server, whether the hard disk which is not subjected to RAID exists in the hard disks connected with a server RAID card is judged; if not, giving out a disk dropping warning of the hard disks to be paired, and judging whether unpaired hard disks exist in the hard disks connected with the RAID card of the server; and if so, giving an unpaired hard disk alarm. According to the invention, the condition that the hard disks to be paired are blindly paired to other unpaired hard disks to cause data damage is avoided, and the worker can judge the reason for the disk dropping of the hard disks to be paired according to the related warning.

Description

一种避免破坏硬盘数据的RAID组配对方法及装置A RAID group pairing method and device for avoiding destruction of hard disk data

技术领域technical field

本发明涉及硬盘RAID配对领域,具体涉及一种避免破坏硬盘数据的RAID组配对方法及装置。The invention relates to the field of hard disk RAID pairing, in particular to a RAID group pairing method and device for avoiding the destruction of hard disk data.

背景技术Background technique

为了扩大存储能力,提高服务器硬盘的读写速度以及增强硬盘的容错能力,通常将若干块硬盘组成不同的RAID(Redundant Array of Independent Disks)阵列,即独立磁盘冗余阵列。In order to expand the storage capacity, improve the read and write speed of the server hard disk and enhance the fault tolerance of the hard disk, several hard disks are usually formed into different RAID (Redundant Array of Independent Disks) arrays, that is, redundant array of independent disks.

RAID技术支持自动故障检测、重建硬盘坏道的资料、不停机硬盘备援、不停机硬盘替换以及在线扩容等,极大地保障了服务器的稳定运行。然而,在使用而过程中这项技术也有一些不可控的方面,比如在重建硬盘坏道的资料的时候,如果插入的单个硬盘A有做一个RAID 1,而且服务器其他另一块硬盘B恰好也是做的RAID 1且缺少一块预期配对的硬盘,那么这个时候就会出现不确定性,无论是A硬盘的数据重建到B硬盘上,还是B硬盘上的数据重建到A硬盘上,都有可能破坏掉其中一个盘上的数据。RAID technology supports automatic fault detection, data reconstruction of hard disk bad sectors, non-stop hard disk backup, non-stop hard disk replacement and online expansion, etc., which greatly guarantees the stable operation of the server. However, there are also some uncontrollable aspects of this technology in the process of use. For example, when rebuilding the data of the bad sectors of the hard disk, if the single hard disk A inserted has a RAID 1, and the other hard disk B of the server also happens to do RAID 1 and lack of an expected paired hard disk, then uncertainty will arise at this time, whether the data of hard disk A is reconstructed to hard disk B, or the data of hard disk B is reconstructed to hard disk A, it may be damaged. data on one of the disks.

发明内容SUMMARY OF THE INVENTION

为解决上述问题,本发明提供一种避免破坏硬盘数据的RAID组配对方法及装置,给出相关警示,避免直接配对,以保护数据免受破坏。In order to solve the above problems, the present invention provides a RAID group pairing method and device for avoiding the destruction of hard disk data, giving relevant warnings, avoiding direct pairing, and protecting data from being destroyed.

本发明的技术方案是:一种避免破坏硬盘数据的RAID组配对方法,包括以下步骤:The technical scheme of the present invention is: a RAID group pairing method for avoiding destruction of hard disk data, comprising the following steps:

当服务器上插入一块做过RAID的待配对硬盘时,判断服务器RAID卡所连接硬盘中是否存在没有做过RAID的硬盘;When a RAID-ready hard disk is inserted into the server to be paired, determine whether there are hard disks without RAID in the hard disks connected to the server's RAID card;

若不存在,则给出待配对硬盘掉盘警示,并判断服务器RAID卡所连接硬盘中是否存在未配对硬盘;If it does not exist, it will give a warning that the hard disk to be paired is dropped, and determine whether there is an unpaired hard disk among the hard disks connected to the server RAID card;

若存在,则给出未配对硬盘警示。If it exists, it will give an unpaired hard disk warning.

进一步地,该方法还包括:Further, the method also includes:

若服务器RAID卡所连接硬盘中存在没有做过RAID的硬盘,则将没有做过RAID的硬盘作为目标硬盘;If there is a hard disk that has not been RAIDed in the hard disks connected to the server RAID card, the hard disk that has not been RAIDed will be used as the target hard disk;

判断目标硬盘中是否存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘;Determine whether there is a matching hard disk in the target hard disk with the same model as the hard disk to be paired, and the capacity is not less than that of the hard disk to be paired;

若存在,则选取任一可匹配硬盘与待配对硬盘配对,将待配对硬盘上的数据重建到该可匹配硬盘上;If it exists, select any matchable hard drive to pair with the to-be-paired hard drive, and rebuild the data on the to-be-paired hard drive to the matchable hard drive;

若不存在,则给出待配对硬盘掉盘警示,并判断服务器RAID卡所连接做过RAID的硬盘中是否存在未配对硬盘;If it does not exist, it will give a warning that the hard disk to be paired is dropped, and determine whether there is an unpaired hard disk among the hard disks connected to the server RAID card that have been RAIDed;

若存在,则给出未配对硬盘警示。If it exists, it will give an unpaired hard disk warning.

进一步地,待配对硬盘掉盘警示是指使待配对硬盘亮起相关指示灯。Further, the warning of the disk loss of the hard disk to be paired refers to lighting up the relevant indicator lights of the hard disk to be paired.

进一步地,未配对硬盘警示是指使未配对硬盘亮起相关指示灯。Further, the unpaired hard disk warning refers to causing the unpaired hard disk to light up a relevant indicator light.

本发明的技术方案还包括一种避免破坏硬盘数据的RAID组配对装置,包括:The technical solution of the present invention also includes a RAID group pairing device that avoids destroying hard disk data, including:

RAID硬盘判断模块:当服务器上插入一块做过RAID的待配对硬盘时,判断服务器RAID卡所连接硬盘中是否存在没有做过RAID的硬盘;RAID hard disk judgment module: When a hard disk that has been paired with RAID is inserted into the server, it can judge whether there is a hard disk without RAID among the hard disks connected to the RAID card of the server;

待配对硬盘掉盘警示模块:服务器RAID卡所连接硬盘中不存在没有做过RAID的硬盘时,给出待配对硬盘掉盘警示;Disk drop warning module for paired hard disk: When there is no hard disk that has not been RAIDed in the hard disk connected to the server RAID card, it will give a disk drop warning for the hard disk to be paired;

未配对硬盘判断模块:待配对硬盘掉盘时,判断服务器RAID卡所连接做过RAID的硬盘中是否存在未配对硬盘;Unpaired hard disk judging module: When the paired hard disk is lost, it determines whether there is an unpaired hard disk among the hard disks connected to the server RAID card that have been RAIDed;

未配对硬盘警示模块:服务器RAID卡所连接做过RAID的硬盘存在未配对硬盘时,给出未配对硬盘警示。Unpaired hard disk warning module: When there are unpaired hard disks in the RAID-ready hard disks connected to the server RAID card, an unpaired hard disk warning is given.

进一步地,该装置还包括:Further, the device also includes:

可匹配硬盘查找模块:判断目标硬盘中是否存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘;目标硬盘是指服务器RAID卡所连接硬盘中没有做过RAID的硬盘;Matchable hard disk search module: determine whether there is a matching hard disk in the target hard disk with the same model as the hard disk to be paired, and the capacity is not smaller than the hard disk to be paired; the target hard disk refers to the hard disk connected to the server RAID card that has not been RAIDed;

配对重建模块:若目标硬盘中存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘,则选取任一可匹配硬盘与待配对硬盘配对,将待配对硬盘上的数据重建到该可匹配硬盘上。Pairing reconstruction module: If there is a matching hard disk in the target hard disk with the same model as the hard disk to be paired, and the capacity is not smaller than that of the hard disk to be paired, select any matching hard disk to pair with the hard disk to be paired, and rebuild the data on the hard disk to be paired to This can be matched on the hard disk.

进一步地,待配对硬盘掉盘警示模块给出待配对硬盘掉盘警示是指将待配对硬盘亮起相关指示灯。Further, when the to-be-paired hard disk drop warning module gives a to-be-paired hard disk drop warning, it means to turn on the relevant indicator lights of the to-be-paired hard disk.

进一步地,未配对硬盘判断模块给出未配对硬盘警示是指使未配对硬盘亮起相关指示灯。Further, the unpaired hard disk judging module giving an unpaired hard disk warning means that the unpaired hard disk lights up a relevant indicator light.

本发明提供的一种避免破坏硬盘数据的RAID组配对方法及装置,在插入一块做过RAID的待配对硬盘时,若判断服务器RAID卡所连接所有硬盘均做过RAID,则不对待配对硬盘配对,给出待配对硬盘掉盘警示,避免待配对硬盘盲目配对到其他未配对的硬盘上,造成数据损坏。另外,在待配对硬盘掉盘时,同时判断服务器RAID卡所连接硬盘中存在做过RAID但未配对硬盘,则给出未配对硬盘警示,可同时提醒工作人员对该未配对硬盘进行处理,避免待配对硬盘与该未配对硬盘进行配对,损坏两者数据。且工作人员可根据相关警示判断待配对硬盘的掉盘原因。The present invention provides a RAID group pairing method and device for avoiding damage to hard disk data. When inserting a hard disk to be paired with RAID, if it is judged that all hard disks connected to the server RAID card are RAID, the paired hard disk will not be paired. , to give a warning that the hard drive to be paired is dropped, to avoid blindly pairing the hard drive to be paired to other unpaired hard drives, resulting in data damage. In addition, when the to-be-paired hard disk is dropped, it is judged that there are hard disks connected to the server RAID card that have been RAIDed but not paired, and an unpaired hard disk warning will be given, which can also remind staff to deal with the unpaired hard disk to avoid The hard disk to be paired is paired with the unpaired hard disk, which damages the data of both. And the staff can judge the reason for the drop of the hard disk to be paired according to the relevant warnings.

附图说明Description of drawings

图1是本发明具体实施例一方法流程示意图。FIG. 1 is a schematic flowchart of a method according to a specific embodiment of the present invention.

图2是本发明具体实施例二结构示意框图。FIG. 2 is a schematic block diagram of the structure of the second embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图并通过具体实施例对本发明进行详细阐述,以下实施例是对本发明的解释,而本发明并不局限于以下实施方式。The present invention will be described in detail below with reference to the accompanying drawings and specific examples. The following examples are to explain the present invention, but the present invention is not limited to the following embodiments.

实施例一Example 1

如图1所示,本实施例针对两块盘都有RAID组的情况下,避免两块硬盘数据损坏的问题,提供一种避免破坏硬盘数据的RAID组配对方法,包括以下步骤:As shown in FIG. 1 , the present embodiment provides a RAID group pairing method for avoiding the damage of hard disk data in the case that both disks have RAID groups, and avoids the problem of data damage on the two hard disks, including the following steps:

S1,当服务器上插入一块做过RAID的待配对硬盘时,判断服务器RAID卡所连接硬盘中是否存在没有做过RAID的硬盘;S1, when a hard disk to be paired with RAID is inserted into the server, determine whether there is a hard disk without RAID in the hard disks connected to the RAID card of the server;

需要说明的是,可监测是否有做过RAID的待配对硬盘插入,当有做过RAID的待配对硬盘插入时,为进行配对,可在插入后获取待配对硬盘的型号及容量。It should be noted that it can monitor whether the hard disk to be paired with RAID has been inserted. When the hard disk to be paired with RAID has been inserted, in order to perform pairing, the model and capacity of the hard disk to be paired can be obtained after insertion.

S2,若不存在,则给出待配对硬盘掉盘警示,并判断服务器RAID卡所连接硬盘中是否存在未配对硬盘;S2, if it does not exist, it will give a warning that the hard disk to be paired is dropped, and determine whether there is an unpaired hard disk among the hard disks connected to the server RAID card;

需要说明的是,在服务器RAID卡所连接做过RAID的硬盘中查找是否存在未配对硬盘,本步骤中因服务器RAID卡所连接硬盘均做过RAID,所以在所有硬盘中查找为配对硬盘。It should be noted that, check whether there are unpaired hard disks among the hard disks connected to the server RAID card that have been RAIDed. In this step, because the hard disks connected to the server RAID card have been RAIDed, all hard disks are found to be paired hard disks.

S3,若存在,则给出未配对硬盘警示。S3, if it exists, it will give an unpaired hard disk warning.

为实现配对,本实施例还包括以下步骤:To realize pairing, this embodiment further includes the following steps:

S4,若服务器RAID卡所连接硬盘中存在没有做过RAID的硬盘,则将没有做过RAID的硬盘作为目标硬盘;S4, if there is a hard disk without RAID in the hard disk connected to the server RAID card, the hard disk without RAID is used as the target hard disk;

S5,判断目标硬盘中是否存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘;S5, determine whether there is a matching hard disk in the target hard disk with the same model as the hard disk to be paired, and the capacity is not less than that of the hard disk to be paired;

S6,若存在,则选取任一可匹配硬盘与待配对硬盘配对,将待配对硬盘上的数据重建到该可匹配硬盘上;S6, if it exists, select any matching hard disk to be paired with the to-be-paired hard disk, and reconstruct the data on the to-be-paired hard disk to the matched hard disk;

S7,若不存在,则给出待配对硬盘掉盘警示,并判断服务器RAID卡所连接做过RAID的硬盘中是否存在未配对硬盘;S7, if it does not exist, it will give a warning that the hard disk to be paired is dropped, and judge whether there is an unpaired hard disk among the hard disks connected to the server RAID card that have been RAIDed;

S8,若存在,则给出未配对硬盘警示。S8, if it exists, it will give an unpaired hard disk warning.

需要说明的是,上述步骤S7和S8即步骤S5判断目标硬盘中不存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘时返回步骤S2。It should be noted that the above steps S7 and S8, namely step S5, return to step S2 when it is determined that the target hard disk does not have a matching hard disk with the same model as the hard disk to be paired and the capacity is not smaller than that of the hard disk to be paired.

本实施例中,待配对硬盘掉盘警示是指使待配对硬盘亮起相关指示灯,如待配对硬盘亮起黄色指示灯表示掉盘。未配对硬盘警示是指使未配对硬盘亮起相关指示灯,如未配对硬盘亮起白色指示灯,表示其做了RAID但未配对。In this embodiment, the warning of the disk loss of the hard disk to be paired means that the related indicator lights of the hard disk to be paired are turned on. The unpaired hard disk warning refers to the related indicator lights of the unpaired hard disk. If the unpaired hard disk lights up a white indicator, it means that it is RAID but not paired.

实施例二Embodiment 2

如图2所示,本实施例提供一种避免破坏硬盘数据的RAID组配对装置,包括:As shown in FIG. 2 , this embodiment provides a RAID group pairing device that avoids destroying hard disk data, including:

RAID硬盘判断模块1:当服务器上插入一块做过RAID的待配对硬盘时,判断服务器RAID卡所连接硬盘中是否存在没有做过RAID的硬盘;RAID hard disk judgment module 1: When a hard disk to be paired with RAID is inserted into the server, determine whether there is a hard disk without RAID in the hard disks connected to the RAID card of the server;

待配对硬盘掉盘警示模块2:服务器RAID卡所连接硬盘中不存在没有做过RAID的硬盘时,给出待配对硬盘掉盘警示;Disk drop warning module 2 of the paired hard disk: When there is no hard disk that has not been RAIDed in the hard disks connected to the server RAID card, it will give a disk drop warning of the hard disk to be paired;

未配对硬盘判断模块3:待配对硬盘掉盘时,判断服务器RAID卡所连接做过RAID的硬盘中是否存在未配对硬盘;Unpaired hard disk determination module 3: When the paired hard disk is dropped, determine whether there is an unpaired hard disk among the hard disks connected to the server RAID card that have been RAIDed;

未配对硬盘警示模块4:服务器RAID卡所连接做过RAID的硬盘存在未配对硬盘时,给出未配对硬盘警示;Unpaired hard disk warning module 4: When there is an unpaired hard disk in the RAID-ready hard disk connected to the server RAID card, an unpaired hard disk warning is given;

可匹配硬盘查找模块5:判断目标硬盘中是否存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘;目标硬盘是指服务器RAID卡所连接硬盘中没有做过RAID的硬盘;Matching hard disk search module 5: Determine whether there is a matching hard disk in the target hard disk with the same model as the hard disk to be paired, and the capacity is not less than that of the hard disk to be paired; the target hard disk refers to the hard disk connected to the server RAID card without RAID;

配对重建模块6:若目标硬盘中存在与待配对硬盘型号一致,且容量不小于待配对硬盘的可匹配硬盘,则选取任一可匹配硬盘与待配对硬盘配对,将待配对硬盘上的数据重建到该可匹配硬盘上。Pairing reconstruction module 6: If there is a matching hard disk in the target hard disk with the same model as the hard disk to be paired and the capacity is not smaller than that of the hard disk to be paired, select any compatible hard disk to pair with the hard disk to be paired, and rebuild the data on the hard disk to be paired to the compatible hard drive.

需要说明的是,在服务器RAID卡所连接硬盘均做过RAID时,未配对硬盘判断模块3在服务器RAID卡所连接所有硬盘中查找未配对硬盘;在服务器RAID卡所连接硬盘部分做过RAID时,未配对硬盘判断模块3在服务器RAID卡所连接做个RAID的硬盘中查找未配对硬盘。It should be noted that when all the hard disks connected to the server RAID card have done RAID, the unpaired hard disk judgment module 3 searches for unpaired hard disks among all the hard disks connected to the server RAID card; , the unpaired hard disk determination module 3 searches for unpaired hard disks among the hard disks connected to the server RAID card for RAID.

待配对硬盘掉盘警示模块2给出待配对硬盘掉盘警示是指将待配对硬盘亮起相关指示灯,如待配对硬盘亮起黄色指示灯表示掉盘。未配对硬盘警示模块4给出未配对硬盘警示是指使未配对硬盘亮起相关指示灯,如未配对硬盘亮起白色指示灯,表示其做了RAID但未配对。The warning module 2 of the hard disk to be paired loses the disk to give the warning that the hard disk to be paired is dropped, that is, to turn on the relevant indicator lights of the hard disk to be paired. The unpaired hard disk warning module 4 gives an unpaired hard disk warning, which means that the unpaired hard disk lights up the relevant indicators. If the unpaired hard disk lights up a white indicator, it means that it has RAID but is not paired.

以上公开的仅为本发明的优选实施方式,但本发明并非局限于此,任何本领域的技术人员能思之的没有创造性的变化,以及在不脱离本发明原理前提下所作的若干改进和润饰,都应落在本发明的保护范围内。The above disclosure is only the preferred embodiment of the present invention, but the present invention is not limited thereto, any non-creative changes that can be conceived by those skilled in the art, and some improvements and modifications made without departing from the principles of the present invention , should fall within the protection scope of the present invention.

Claims (8)

1. A RAID group pairing method for avoiding damage to hard disk data is characterized by comprising the following steps:
when a hard disk to be paired which is subjected to RAID is inserted into the server, judging whether the hard disk which is not subjected to RAID exists in the hard disks connected with the RAID card of the server;
if not, giving out a disk dropping warning of the hard disks to be paired, and judging whether unpaired hard disks exist in the hard disks connected with the RAID card of the server;
and if so, giving an unpaired hard disk alarm.
2. The RAID group pairing method of avoiding corruption of hard disk data of claim 1, the method further comprising:
if the hard disk which is not subjected to RAID exists in the hard disks connected with the server RAID card, taking the hard disk which is not subjected to RAID as a target hard disk;
judging whether a matchable hard disk with the capacity not less than that of the hard disk to be matched exists in the target hard disk, wherein the model of the matchable hard disk is consistent with that of the hard disk to be matched;
if yes, selecting any one of the matchable hard disks to be matched with the hard disk to be matched, and reconstructing data on the hard disk to be matched onto the matchable hard disk;
if not, giving out a disk dropping warning of the hard disks to be paired, and judging whether unpaired hard disks exist in the hard disks which are connected with the RAID card of the server and are subjected to RAID;
and if so, giving an unpaired hard disk alarm.
3. RAID group pairing method avoiding corrupting hard disk data according to claim 1 or 2,
the warning of the disk dropping of the hard disks to be paired refers to lighting a related indicator lamp of the hard disks to be paired.
4. RAID group pairing method avoiding corrupting hard disk data according to claim 1 or 2,
unpaired hard disk warning means that an unpaired hard disk lights up a related indicator light.
5. A RAID group pairing apparatus for avoiding damage to hard disk data, comprising:
RAID hard disk judgment module: when a hard disk to be paired which is subjected to RAID is inserted into the server, judging whether the hard disk which is not subjected to RAID exists in the hard disks connected with the RAID card of the server;
the hard disk falling warning module to be paired: when no hard disk which is not subjected to RAID does not exist in the hard disks connected with the server RAID card, giving out a disk-dropping warning of the hard disk to be paired;
unpaired hard disk judgment module: when the paired hard disks are disqualified, judging whether unpaired hard disks exist in the hard disks connected with the RAID card of the server and subjected to RAID;
unpaired hard disk warning module: and when the hard disk connected with the RAID card of the server and used for RAID has an unpaired hard disk, giving an unpaired hard disk alarm.
6. A RAID group pairing apparatus for avoiding corruption of hard disk data according to claim 5 further comprising:
matchable hard disk search module: judging whether a matchable hard disk with the capacity not less than that of the hard disk to be matched exists in the target hard disk, wherein the model of the matchable hard disk is consistent with that of the hard disk to be matched; the target hard disk refers to a hard disk which is not subjected to RAID in the hard disks connected with the server RAID card;
a pairing reestablishment module: if the target hard disk has the matched hard disk which is consistent with the hard disk to be matched in model and the capacity of which is not less than that of the hard disk to be matched, selecting any matched hard disk to be matched with the hard disk to be matched, and reconstructing data on the hard disk to be matched to the matched hard disk.
7. A RAID group pairing apparatus according to claim 5 or 6 for avoiding corruption of hard disk data,
the hard disk dropping warning module to be paired gives a warning of dropping of the hard disk to be paired, namely, the hard disk to be paired lights up a related indicator lamp.
8. A RAID group pairing apparatus according to claim 5 or 6 for avoiding corruption of hard disk data,
the unpaired hard disk warning given by the unpaired hard disk judgment module is that the unpaired hard disk lights up a related indicator lamp.
CN202010250401.8A 2020-04-01 2020-04-01 A RAID group pairing method and device for avoiding destruction of hard disk data Pending CN111475111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010250401.8A CN111475111A (en) 2020-04-01 2020-04-01 A RAID group pairing method and device for avoiding destruction of hard disk data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010250401.8A CN111475111A (en) 2020-04-01 2020-04-01 A RAID group pairing method and device for avoiding destruction of hard disk data

Publications (1)

Publication Number Publication Date
CN111475111A true CN111475111A (en) 2020-07-31

Family

ID=71749443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010250401.8A Pending CN111475111A (en) 2020-04-01 2020-04-01 A RAID group pairing method and device for avoiding destruction of hard disk data

Country Status (1)

Country Link
CN (1) CN111475111A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901623A (en) * 2009-05-25 2010-12-01 奥泰瑞系统技术(北京)有限公司 External storage system, server and data storage method
CN102270105A (en) * 2011-08-08 2011-12-07 东软集团股份有限公司 Independent disc array as well as method and system for processing network acquired data
CN105117172A (en) * 2015-08-31 2015-12-02 北京神州云科数据技术有限公司 RAID (Redundant Arrays of Inexpensive Disks) historical non-identification record storage method
CN105824572A (en) * 2015-01-05 2016-08-03 中兴通讯股份有限公司 Disk storage space managing method, apparatus and storage device
CN109783022A (en) * 2019-01-02 2019-05-21 郑州云海信息技术有限公司 A kind of method and device of more hard-disc storage fast assembling multiplicity RAID
US20190384532A1 (en) * 2018-06-15 2019-12-19 Samsung Electronics Co., Ltd. Method of nvme over fabric raid implementation for read command execution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901623A (en) * 2009-05-25 2010-12-01 奥泰瑞系统技术(北京)有限公司 External storage system, server and data storage method
CN102270105A (en) * 2011-08-08 2011-12-07 东软集团股份有限公司 Independent disc array as well as method and system for processing network acquired data
CN105824572A (en) * 2015-01-05 2016-08-03 中兴通讯股份有限公司 Disk storage space managing method, apparatus and storage device
CN105117172A (en) * 2015-08-31 2015-12-02 北京神州云科数据技术有限公司 RAID (Redundant Arrays of Inexpensive Disks) historical non-identification record storage method
US20190384532A1 (en) * 2018-06-15 2019-12-19 Samsung Electronics Co., Ltd. Method of nvme over fabric raid implementation for read command execution
CN109783022A (en) * 2019-01-02 2019-05-21 郑州云海信息技术有限公司 A kind of method and device of more hard-disc storage fast assembling multiplicity RAID

Similar Documents

Publication Publication Date Title
US9529543B1 (en) Concurrent upgrade and backup of non-volatile memory
TWI479309B (en) Apparatus and method for controlling a solid state disk
US7010645B2 (en) System and method for sequentially staging received data to a write cache in advance of storing the received data
US20110225453A1 (en) System and method for optimizing redundancy restoration in distributed data layout environments
MX2014002960A (en) Nonvolatile media dirty region tracking.
US20050283654A1 (en) Method and apparatus for decreasing failed disk reconstruction time in a raid data storage system
US12229055B2 (en) Persistent storage device management
JPWO2006123416A1 (en) Disk failure recovery method and disk array device
CN102012847A (en) Improved disk array reconstruction method
TW201535382A (en) DRAM row sparing
CN103699457A (en) Method and device for restoring disk arrays based on stripping
CN107291593A (en) The replacing options and device of failed disk in a kind of RAID system
CN113626248B (en) Method and system for repairing inconsistency of stripe data in RAID
CN105426288A (en) Optimization method of memory alarm
CN108874312B (en) Data storage method and storage device
CN105183583A (en) Method for data reconstruction of disk array, and disk array system
CN114995760B (en) Backup recovery method, device and medium
CN111475111A (en) A RAID group pairing method and device for avoiding destruction of hard disk data
CN103778968A (en) Detection device and method for solid state disk combined with multiple flash memory cards
CN104035840B (en) A kind of method and apparatus for recovering band read error
US9036444B1 (en) Redundant memory system and associated method thereof
CN103823637B (en) A kind of data processing method and equipment
CN108170375A (en) Transfinite guard method and device in a kind of distributed memory system
CN110737408A (en) hard disk cleaning method, system and device
CN102981921A (en) Restoring method and device for failure reading of IO (image orthicon) by Raid5 array

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: 20200731