WO2016112824A1 - Storage processing method and apparatus, and storage device - Google Patents

Storage processing method and apparatus, and storage device Download PDF

Info

Publication number
WO2016112824A1
WO2016112824A1 PCT/CN2016/070392 CN2016070392W WO2016112824A1 WO 2016112824 A1 WO2016112824 A1 WO 2016112824A1 CN 2016070392 W CN2016070392 W CN 2016070392W WO 2016112824 A1 WO2016112824 A1 WO 2016112824A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
capacity
partition
storage device
hard disks
Prior art date
Application number
PCT/CN2016/070392
Other languages
French (fr)
Chinese (zh)
Inventor
杨天文
黄庆成
毕德春
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016112824A1 publication Critical patent/WO2016112824A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a storage processing method, apparatus, and storage device.
  • a storage device is a device for storing information, usually by digitizing information and then storing it by means of electrical, magnetic or optical means.
  • FIG. 1 is a schematic structural diagram of a storage device in the prior art.
  • the storage device 1 includes a plurality of hard disk modules 2 , and each of the hard disk modules 2 includes a plurality of hard disk units 3 and a plurality of hot spare disks 4 .
  • the system automatically replaces the failed disk unit 3 with the hot spare disk 4 and stores the data in the failed disk unit in the hot spare disk.
  • the maintenance personnel will use the new hard drive to replace the failed hard drive.
  • the hard drive is designed with a handle bar to replace the failed hard drive with hot swap.
  • the embodiment of the invention provides a storage processing method, a device, and a storage device.
  • the hard disk is fixed in the storage device, and the storage device is expanded by using the scattered capacity of the hard disk, thereby avoiding the direct replacement of the new hard disk by the prior art.
  • the hard disk adds technical problems of maintenance cost and equipment cost, thereby effectively saving maintenance costs and hardware costs.
  • a first aspect of the embodiments of the present invention provides a storage processing method, which is applied to a storage device, where the storage device includes a plurality of hard disks, and the plurality of hard disks are fixed inside the storage device, and the hard disks include an integer capacity and a scattered capacity. And the integer capacity of each hard disk includes N Blocks, where N is a positive integer, the method includes:
  • the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the multiple hard disks Scattered capacity;
  • the method further includes:
  • LBA mapping table Establishing a logical block address LBA mapping table; wherein the LBA mapping table is configured to store a mapping relationship between the LBA of the first partition and the LBA of the second partition.
  • the method further includes:
  • All the blocks of the integer capacity of the plurality of hard disks are divided into M block groups; wherein M is a positive integer, and M ⁇ N;
  • the reconfiguring the data in the first partition includes:
  • a second aspect of the present invention provides a storage processing apparatus, including:
  • a determining module configured to determine, when the first one of the plurality of hard disks fails, to determine that the failed block is the first block;
  • An acquiring module configured to acquire a second partition in a redundant capacity pool of the storage device, where a capacity of the second partition is not less than a capacity of the first partition, and the redundant capacity pool includes a discrete capacity of the plurality of hard disks;
  • a reconstruction module configured to reconstruct data in the first partition and store the data in the second partition.
  • the acquiring module is further configured to establish a logical block address LBA mapping table, where the LBA mapping table is configured to store the LBA of the first partition and the The mapping relationship between the LBAs of the second partition.
  • the device further includes a dividing module, configured to divide all the blocks of the multiple hard disks into M Blocking groups and assigning one logical unit number LUN to each of the blocking groups; where M is a positive integer and M ⁇ N.
  • the reconfigurable module is further configured to reconfigure the first partition according to the LUN of the block group The data in .
  • a third aspect of the embodiments of the present invention provides a storage device, including: a disk array controller and a disk array, wherein the disk array includes a plurality of hard disks; and the disk array controller is configured to fail in the first hard disk in the disk array. Determining that the failed block is the first block;
  • the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the multiple hard disks Scattered capacity;
  • the disk array controller is configured to establish a logical block address LBA mapping table, where the LBA mapping table is configured to store the LBA of the first partition and the The mapping relationship between the LBAs of the second partition.
  • the disk array controller is configured to divide all the blocks of the integer capacity of the multiple hard disks into M Blocking groups and assigning one logical unit number LUN to each of the blocking groups; where M is a positive integer and M ⁇ N.
  • the disk array controller is further configured to reconfigure the first point according to the LUN of the block group The data in the block.
  • the hard disk is fixed inside the storage device.
  • the first hard disk of the plurality of hard disks fails, determining that the failed block is the first block and the redundancy of the storage device
  • the second partition is obtained in the capacity pool, the data in the first partition is reconstructed, and the data is stored in the second partition.
  • the redundant capacity of the hard disk is used as the redundant capacity pool of the storage device.
  • the hard disk fails only the second capacity corresponding to the capacity of the failed block is obtained in the redundant capacity pool.
  • the block and the reconfigured data are stored in the second block, which effectively utilizes the fragmented capacity of the hard disk to expand the storage device. Therefore, maintenance personnel are not required to replace the failed hard disk in the storage device, thereby effectively saving maintenance costs and Hardware cost.
  • FIG. 1 is a schematic structural diagram of a storage device in the prior art
  • FIG. 2 is a schematic structural diagram of an application scenario of a storage processing method according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a processing method of storage according to Embodiment 1 of the present invention.
  • Figure 4 is a schematic diagram of capacity allocation before a hard disk failure
  • Figure 5 is a schematic diagram of capacity allocation after a hard disk failure
  • FIG. 6 is a flowchart of a processing method for storing according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of a storage processing apparatus according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a storage processing apparatus according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic structural diagram of a storage device according to Embodiment 5 of the present invention.
  • the scenario includes a host 11, a disk array controller 12, and a storage device 13, wherein the host 11 can be a computer (personal The computer (referred to as PC) can also be a server.
  • the storage device includes a plurality of hard disks 14 and the data is stored in the hard disk 14.
  • the disk array controller 12 is configured to implement data storage and forwarding and management of the hard disk in the storage device. A "bridge" between storage devices.
  • FIG. 3 is a flowchart of a processing method of storage according to Embodiment 1 of the present invention.
  • the storage processing method provided in this embodiment is applied to a storage device, where the storage device includes multiple hard disks, and multiple hard disks are fixed in the storage device.
  • the hard disks include integer capacity and scattered capacity, and the integer capacity of each hard disk includes N Blocking, where N is a positive integer.
  • the main body of the method is a disk array controller. As shown in FIG. 3, the method in this embodiment includes:
  • Step 101 When a fault occurs in the first hard disk of the plurality of hard disks, determining that the failed block is the first block.
  • the hard disk may be a hard disk with a capacity marked as Xy TB type, for example, a shingled magnetic recording (SMR) hard disk, where X is an integer capacity of the hard disk, and y is a discrete capacity of the hard disk.
  • SMR shingled magnetic recording
  • the scattered capacity is generated when the hard disk is produced, and the discrete capacity of each hard disk may be different or the same.
  • the integer capacity of each hard disk in the storage device includes N blocks, and the capacity size of the N and the block can be adjusted according to actual conditions, which is not limited in the present invention.
  • most of the hard disk failures are caused by the failure of a certain magnetic head or a certain disk, and the rest.
  • the head or disc can continue to be used, that is, one of the hard disks Blocking fails, and other blocks that have not failed can still be used.
  • the disk array controller detects that one or more hard disks in the storage device are faulty, for example, the data in the hard disk cannot be read or written, the failed block is searched for, and the failed component is obtained.
  • the partition is determined to be the first partition.
  • the first hard disk is a hard disk that fails in the storage device, and the first hard disk may be a failed hard disk or multiple failed hard disks.
  • Step 102 Acquire a second partition in a redundant capacity pool of the storage device.
  • the capacity of the second block is not less than the capacity of the first block, and the redundant capacity pool includes the scattered capacity of the plurality of hard disks.
  • the scattered capacity of all the hard disks in the storage device is used as the redundant capacity pool of the storage device, the data in the redundant capacity pool is not stored, and the capacity of the redundant capacity pool is used as the redundant capacity of the storage device.
  • the integer capacity of the hard disk in the storage device is used as the primary storage capacity pool of the storage device. Since the integer capacity of each hard disk is divided into multiple partitions, the primary storage capacity pool also includes several partitions. When the storage device fails, the failed block, that is, the first block is found, and the block with the same capacity as the first block is obtained in the redundant capacity pool, that is, the second block.
  • Figure 4 is a schematic diagram of capacity allocation before a hard disk failure.
  • Figure 5 is a schematic diagram of capacity allocation after a hard disk failure.
  • the storage device includes n hard disks, and the integer capacity X of each hard disk is built into a primary storage capacity pool, that is, the capacity of the primary storage capacity pool is nX, and data is stored in an integer capacity; each hard disk is stored;
  • the capacity of the redundant capacity pool is y1+y2+y3+...yn, and there is no storage data in the fragmented capacity for capacity expansion of the storage device.
  • FIG. 4 is a schematic diagram of capacity allocation before a hard disk failure.
  • Figure 5 is a schematic diagram of capacity allocation after a hard disk failure.
  • the storage device includes n hard disks, and the integer capacity X of each hard disk is built into a primary storage capacity pool, that is, the capacity of the primary storage capacity pool is nX, and data is stored in an integer capacity; each hard disk is stored;
  • the capacity of the redundant capacity pool
  • Step 103 Reconstruct data in the first partition and store the data in the second partition.
  • the data stored in the first partition is reconstructed, and the reconstructed data is stored in the second partition, so that when the first partition is accessed next time, the second partition may be used.
  • Access data For the method of reconstructing the data in the first block, the data reconstruction method in the prior art may be used, for example, a traditional Redundant Array of Independent Disks Version 1.0 (RAID 1.0). Technology or RAID 2.0 technology, etc., reconstruct data in the fault area.
  • RAID 1.0 Redundant Array of Independent Disks Version 1.0
  • Technology or RAID 2.0 technology, etc. reconstruct data in the fault area.
  • the storage processing method provided by the embodiment of the present invention fixes the hard disk to the inside of the storage device. For example, the integrated design is adopted, and all the hard disks in the storage device are integrated, and the hard disk frame is hardly connected, and all the hard disks are not plugged.
  • the hard disks are grouped, and the multiple hard disks are grouped into one disk group.
  • the disk group can be plugged in and out of the disk enclosure.
  • the hard disks in the disk group cannot be plugged in.
  • the storage device is expanded by using the fragmented capacity of the hard disk.
  • the hard disk fails, only the second component corresponding to the capacity of the failed block needs to be acquired in the redundant capacity pool.
  • the block replaces the faulty block, and the data in the first block is reconstructed into the second block to implement data backup and recovery. Therefore, the storage processing method provided by the present embodiment does not require maintenance personnel to the storage device.
  • the failed hard disk is replaced, thus saving maintenance costs and hardware costs.
  • the hard disk is fixed inside the storage device.
  • the first hard disk of the plurality of hard disks fails, determining that the failed block is the first block and the redundancy of the storage device
  • the second partition is obtained in the capacity pool, the data in the first partition is reconstructed, and the data is stored in the second partition.
  • the redundant capacity of the hard disk is used as the redundant capacity pool of the storage device.
  • the hard disk fails only the second capacity corresponding to the capacity of the failed block is obtained in the redundant capacity pool. Blocks and stores the reconstructed data in the second partition, effectively utilizing the fragmented capacity of the hard disk to expand the storage device. Therefore, maintenance personnel are not required to perform the faulty hard disk in the storage device. Switching, saving maintenance costs and hardware costs.
  • FIG. 6 is a flowchart of a storage processing method according to Embodiment 2 of the present invention. As shown in FIG. 6, the method includes:
  • Step 201 Divide all the blocks of the integer capacity of the plurality of hard disks into M block groups, and assign one logical unit number LUN to each block group.
  • M is a positive integer and M ⁇ N.
  • the blocks of the integer capacity of different hard disks in the storage device are divided to form a block group, that is, each block group includes blocks in different hard disks, and each block is included.
  • the group is assigned a Logical Unit Number (LUN) to facilitate management of the block group.
  • LUN Logical Unit Number
  • Step 202 When the first hard disk in the storage device fails, determine that the failed block is the first block.
  • Step 203 Acquire a second partition in a redundant capacity pool of the storage device.
  • the capacity of the second block is not less than the capacity of the first block, and the redundant capacity pool includes the scattered capacity of the plurality of hard disks.
  • the steps 202 and 203 are the same as the steps 101 and 102 of the foregoing embodiment, and are not described herein again.
  • Step 204 Establish a logical block address (LBA) mapping table.
  • LBA logical block address
  • the LBA mapping table is configured to store a mapping relationship between the LBA of the first partition and the LBA of the second partition.
  • each block includes at least one logical block, and each logical block corresponds to one LBA, and the LBA of each block is the LBA of the logical block included in the block, therefore, each A block may correspond to one LBA and may correspond to multiple LBAs.
  • the second partition is obtained from the redundant capacity pool, a mapping relationship between the LBA of the first partition and the LBA of the second partition needs to be established, and the mapping relationship is stored in the LBA mapping table.
  • the LBA of the second partition may be found from the LBA mapping table according to the mapping relationship between the LBA of the first partition and the LBA of the second partition, and Access data in a binary block.
  • Step 205 Reconstruct data in the first partition according to the LUN of the block group, and store the data in the second block.
  • logical operations are performed on the block groups according to the LUNs of the block group to reconstruct data in the first block and store the reconstructed data in the second block.
  • RAID 2.0 technology can be used to reconstruct data, and the integer capacity of the hard disk is first cut into a plurality of chunks (usually 64 MB) according to a fixed capacity, and these small chunks are grouped to form different RAID types. Chunk Group, each chunk group corresponds to one LUN, and each chunk group includes chunks in the integer capacity of different hard disks.
  • the block group in which the fault block is located is found, and the block group in which the first block is located is searched according to the LUN, and each block in the block group is Perform logical operations to reconstruct the failed blocks, thereby greatly reducing the reconstruction time, reducing the risk of data loss caused by the reconstruction of the entire hard disk data and expanding the reconstruction window, and ensuring the storage system while the capacity of the hard disk is greatly increased. Performance and reliability.
  • the primary storage capacity pool and the redundant capacity management pool are respectively managed by using the primary capacity management table and the redundant capacity management table.
  • the LBA of the first data block in the primary capacity management table is mapped to the LBA of the second data block, that is, step 205, the process of establishing the LBA mapping table.
  • the LBA of the second data block needs to be deleted in the redundant capacity management table to prevent the faulty LBA from being mapped to the first time when the hard disk fails.
  • the LBA of the second data block is mapped to the redundant capacity management table.
  • the storage processing method provided in this embodiment divides the block of the integer capacity of the plurality of hard disks into M block groups, and allocates one logical unit number LUN for each block group, when the first in the storage device
  • the faulty partition is determined to be the first partition
  • the second partition is obtained in the redundant capacity pool
  • the LBA mapping table is established, and the first partition is reconstructed according to the LUN of the partition group.
  • the storage device is expanded by utilizing the fragmented capacity of the hard disk. Therefore, maintenance personnel are not required to replace the faulty hard disk in the storage device, thereby effectively saving maintenance costs and hardware costs.
  • the integer capacity of the hard disk is divided into blocks.
  • the partitions of different hard disks are divided into a plurality of block groups to perform logical operations according to the LUNs of the block group, and the data in the fault block is reconstructed, and the blocks that have not failed in the faulty hard disk can still be used. Do not re-replace the failed hard disk, reduce the cost of the device, improve the utilization of the hard disk, and only reconstruct the fault block, which greatly reduces the reconstruction time.
  • FIG. 7 is a schematic structural diagram of a storage processing apparatus according to Embodiment 3 of the present invention.
  • the apparatus includes a determination module 21, an acquisition module 22, and a reconstruction module 23.
  • the determining module 21 is configured to determine that the failed block is the first block when the first hard disk of the storage device fails.
  • the obtaining module 22 is configured to obtain a second partition in the redundant capacity pool of the storage device; wherein the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes a fragmented capacity of the plurality of hard disks.
  • the reconstruction module 23 is configured to reconstruct data in the first partition and store the data in the second partition.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a storage processing apparatus according to Embodiment 4 of the present invention. As shown in FIG. 8, the apparatus further includes a dividing module 24, and the dividing module 24 is further configured to divide the integer capacity of the plurality of hard disks into blocks. It is M block groups, and each logical block group is assigned a logical unit number LUN; where M is a positive integer and M ⁇ N.
  • the obtaining module 22 is further configured to establish a logical block address LBA mapping table.
  • the LBA mapping table is used to store a mapping relationship between the LBA of the first partition and the LBA of the second partition.
  • the reconstruction module 23 is further configured to reconstruct data in the first partition according to the LUN of the block group.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 6.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of a storage device according to Embodiment 5 of the present invention.
  • the storage device 31 includes a disk array controller (not shown) and a disk array 32, and the disk array 32 includes a plurality of hard disks 33.
  • the disk array controller is configured to determine that the failed block is the first block when the first hard disk in the disk array 32 fails; the disk array controller is configured to obtain the second block in the redundant capacity pool of the storage device 31. ;among them, The capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the scattered capacity of the plurality of hard disks; the disk array controller is configured to reconstruct the data in the first partition and store the data in the second branch In the block.
  • the disk array controller may be located inside the storage device, or the disk array controller may be located outside the storage device, which is not limited in the present invention.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the disk array controller is further configured to establish a logical block address LBA mapping table, where the LBA mapping table is used to store between the LBA of the first partition and the LBA of the second partition. Mapping relations.
  • the disk array controller is further configured to divide all the blocks of the integer capacity of the plurality of hard disks 33 into M block groups, and assign a logical unit number LUN to each of the block groups; wherein M is a positive integer, and M ⁇ N.
  • the disk array controller is further configured to reconstruct data in the first block according to the LUN of the block group.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 6.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

A storage processing method and apparatus, and a storage device (13). The method is applied to the storage device (13). The storage device (13) comprises a plurality of hard disks (14). The plurality of hard disks (14) is fixed in the storage device (13); the hard disk (14) comprises an integer capacity and a scattered capacity; and the integer capacity of each hard disk (14) comprises N blocks, N being a positive integer. The method comprises: when a first hard disk in the plurality of hard disks is faulty, determining that a faulty block is a first block (101); acquiring a second block in a redundancy capacity pool of the storage device (102), a capacity of the second block being not less than a capacity of the first block, and the redundancy capacity pool comprising the scattered capacities of the plurality of hard disks; and reconstructing data in the first block, and storing the data into the second block (103). According to the method, the scattered capacities of the hard disks are effectively used for expansion of the storage device, and maintenance costs and device costs are reduced.

Description

存储的处理方法、装置和存储设备Storage processing method, device and storage device 技术领域Technical field
本发明实施例涉及通信技术,尤其涉及一种存储的处理方法、装置和存储设备。The embodiments of the present invention relate to communication technologies, and in particular, to a storage processing method, apparatus, and storage device.
背景技术Background technique
存储设备是用于储存信息的设备,通常是将信息数字化后再利用电、磁或光学等方式的媒体加以存储。A storage device is a device for storing information, usually by digitizing information and then storing it by means of electrical, magnetic or optical means.
图1为现有技术中存储设备的结构示意图。如图1所示,存储设备1包括多个硬盘模块2,每个硬盘模块2中包括多个硬盘单元3和多个热备盘4。在存储设备的生命周期内,当某个硬盘单元3出现故障时,系统会自动使用热备盘4代替出现故障的硬盘单元3,并将出现故障的硬盘单元中的数据存储到热备盘中。对于出现故障的硬盘,维护人员将使用新的硬盘来更换故障硬盘,硬盘上设计有拉手条,以便于采用热插拔的方式更换故障硬盘。FIG. 1 is a schematic structural diagram of a storage device in the prior art. As shown in FIG. 1 , the storage device 1 includes a plurality of hard disk modules 2 , and each of the hard disk modules 2 includes a plurality of hard disk units 3 and a plurality of hot spare disks 4 . During the life of a storage device, when a disk unit 3 fails, the system automatically replaces the failed disk unit 3 with the hot spare disk 4 and stores the data in the failed disk unit in the hot spare disk. . For a failed hard drive, the maintenance personnel will use the new hard drive to replace the failed hard drive. The hard drive is designed with a handle bar to replace the failed hard drive with hot swap.
但是,对于出现故障的硬盘,维护人员直接使用新的硬盘来更换故障硬盘,增加了维护成本和设备成本。However, for a failed hard disk, the maintenance personnel directly use the new hard disk to replace the failed hard disk, which increases maintenance costs and equipment costs.
发明内容Summary of the invention
本发明实施例提供一种存储的处理方法、装置和存储设备,硬盘固定在存储设备的内部,利用硬盘的零散容量对存储设备进行扩容,避免了现有技术中直接使用新的硬盘来更换故障硬盘增加了维护成本和设备成本这一技术问题,从而有效节省了维护成本和硬件成本。The embodiment of the invention provides a storage processing method, a device, and a storage device. The hard disk is fixed in the storage device, and the storage device is expanded by using the scattered capacity of the hard disk, thereby avoiding the direct replacement of the new hard disk by the prior art. The hard disk adds technical problems of maintenance cost and equipment cost, thereby effectively saving maintenance costs and hardware costs.
本发明实施例第一方面提供一种存储的处理方法,应用于存储设备,所述存储设备包括多个硬盘,所述多个硬盘固定在存储设备内部,所述硬盘包括整数容量和零散容量,且每个硬盘的整数容量包括N 个分块,其中,N为正整数,所述方法包括:A first aspect of the embodiments of the present invention provides a storage processing method, which is applied to a storage device, where the storage device includes a plurality of hard disks, and the plurality of hard disks are fixed inside the storage device, and the hard disks include an integer capacity and a scattered capacity. And the integer capacity of each hard disk includes N Blocks, where N is a positive integer, the method includes:
当所述多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块;When the first hard disk of the plurality of hard disks fails, determining that the failed block is the first block;
在所述存储设备的冗余容量池中获取第二分块;其中,所述第二分块的容量不小于所述第一分块的容量,所述冗余容量池包括所述多个硬盘的零散容量;Acquiring a second partition in the redundant capacity pool of the storage device; wherein, the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the multiple hard disks Scattered capacity;
重构所述第一分块中的数据,并将所述数据存储到所述第二分块中。Reconstructing data in the first partition and storing the data in the second partition.
在第一方面的第一种可能实现方式中,所述在所述存储设备的冗余容量池中获取第二分块之后,所述方法还包括:In a first possible implementation manner of the first aspect, after the acquiring the second partition in the redundant capacity pool of the storage device, the method further includes:
建立逻辑区块地址LBA映射表;其中,所述LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。Establishing a logical block address LBA mapping table; wherein the LBA mapping table is configured to store a mapping relationship between the LBA of the first partition and the LBA of the second partition.
结合第一方面的第一种可能实现方式,在第一方面的第二中可能实现方式中,所述当所述多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块之前,所述方法还包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, when the first hard disk of the multiple hard disks fails, determining that the faulty partition is the first Before a block, the method further includes:
将所述多个硬盘的整数容量的所有分块,划分为M个分块组;其中,M为正整数,且M≤N;All the blocks of the integer capacity of the plurality of hard disks are divided into M block groups; wherein M is a positive integer, and M≤N;
为每个所述分块组分配一个逻辑单元号LUN;Allocating a logical unit number LUN for each of the block groups;
结合第一方面的第二种可能实现方式,在第一方面的第三种可能实现方式中,所述重构所述第一分块中的数据,具体包括:In conjunction with the second possible implementation of the first aspect, in the third possible implementation manner of the first aspect, the reconfiguring the data in the first partition includes:
根据所述分块组的LUN,重构所述第一分块中的数据。Reconstructing data in the first partition according to the LUN of the block group.
本发明第二方面提供一种存储的处理装置,包括:A second aspect of the present invention provides a storage processing apparatus, including:
确定模块,用于当所述多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块;a determining module, configured to determine, when the first one of the plurality of hard disks fails, to determine that the failed block is the first block;
获取模块,用于在所述存储设备的冗余容量池中获取第二分块;其中,所述第二分块的容量不小于所述第一分块的容量,所述冗余容量池包括所述多个硬盘的零散容量;An acquiring module, configured to acquire a second partition in a redundant capacity pool of the storage device, where a capacity of the second partition is not less than a capacity of the first partition, and the redundant capacity pool includes a discrete capacity of the plurality of hard disks;
重构模块,用于重构所述第一分块中的数据,并将所述数据存储到所述第二分块中。 And a reconstruction module, configured to reconstruct data in the first partition and store the data in the second partition.
在第二方面的第一种可能实现方式中,所述获取模块还用于建立逻辑区块地址LBA映射表;其中,所述LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。In a first possible implementation manner of the second aspect, the acquiring module is further configured to establish a logical block address LBA mapping table, where the LBA mapping table is configured to store the LBA of the first partition and the The mapping relationship between the LBAs of the second partition.
结合第二方面的第一种可能实现方式,在第二方面的第二种可能实现方式中,所述装置还包括划分模块,用于将所述多个硬盘的所有分块,划分为M个分块组,并为每个所述分块组分配一个逻辑单元号LUN;其中,M为正整数,且M≤N。With reference to the first possible implementation of the second aspect, in a second possible implementation manner of the second aspect, the device further includes a dividing module, configured to divide all the blocks of the multiple hard disks into M Blocking groups and assigning one logical unit number LUN to each of the blocking groups; where M is a positive integer and M ≤ N.
结合第二方面的第二中可能实现方式,在第二方面的第三种可能实现方式中,所述重构模块还用于根据所述分块组的LUN,重构所述第一分块中的数据。In conjunction with the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the reconfigurable module is further configured to reconfigure the first partition according to the LUN of the block group The data in .
本发明实施例第三方面提供一种存储设备,包括:磁盘阵列控制器和磁盘阵列,所述磁盘阵列中包括多个硬盘;磁盘阵列控制器用于在所述磁盘阵列中的第一硬盘发生故障时,确定发生故障的分块为第一分块;A third aspect of the embodiments of the present invention provides a storage device, including: a disk array controller and a disk array, wherein the disk array includes a plurality of hard disks; and the disk array controller is configured to fail in the first hard disk in the disk array. Determining that the failed block is the first block;
在所述存储设备的冗余容量池中获取第二分块;其中,所述第二分块的容量不小于所述第一分块的容量,所述冗余容量池包括所述多个硬盘的零散容量;Acquiring a second partition in the redundant capacity pool of the storage device; wherein, the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the multiple hard disks Scattered capacity;
重构所述第一分块中的数据,并将所述数据存储到所述第二分块中。Reconstructing data in the first partition and storing the data in the second partition.
在第三方面的第一种可能实现方式中,所述磁盘阵列控制器用于建立逻辑区块地址LBA映射表;其中,所述LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。In a first possible implementation manner of the third aspect, the disk array controller is configured to establish a logical block address LBA mapping table, where the LBA mapping table is configured to store the LBA of the first partition and the The mapping relationship between the LBAs of the second partition.
结合第三方面的第一种可能实现方式,在第三方面的第二种可能实现方式中,所述磁盘阵列控制器用于将所述多个硬盘的整数容量的所有分块,划分为M个分块组,并为每个所述分块组分配一个逻辑单元号LUN;其中,M为正整数,且M≤N。With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the disk array controller is configured to divide all the blocks of the integer capacity of the multiple hard disks into M Blocking groups and assigning one logical unit number LUN to each of the blocking groups; where M is a positive integer and M ≤ N.
结合第三方面的第二种可能实现方式,在第三方面的第三种可能实现方式中,所述磁盘阵列控制器还用于根据所述分块组的LUN,重构所述第一分块中的数据。 In conjunction with the second possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the disk array controller is further configured to reconfigure the first point according to the LUN of the block group The data in the block.
本实施例提供的存储的处理方法,硬盘固定在存储设备的内部,当多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块,并在存储设备的冗余容量池中获取第二分块,重构第一分块中的数据,并将数据存储到第二分块中。本发明实施例中由于将硬盘的零散容量作为存储设备的冗余容量池,当硬盘发生故障时,只需要在冗余容量池中获取与发生故障的分块的容量大小相对的应第二分块,并将重构数据存储到第二分块中,有效利用了硬盘的零散容量对存储设备进行扩容,因此,不需要维护人员对存储设备中的故障硬盘进行更换,有效节省了维护成本和硬件成本。In the storage processing method provided in this embodiment, the hard disk is fixed inside the storage device. When the first hard disk of the plurality of hard disks fails, determining that the failed block is the first block and the redundancy of the storage device The second partition is obtained in the capacity pool, the data in the first partition is reconstructed, and the data is stored in the second partition. In the embodiment of the present invention, the redundant capacity of the hard disk is used as the redundant capacity pool of the storage device. When the hard disk fails, only the second capacity corresponding to the capacity of the failed block is obtained in the redundant capacity pool. The block and the reconfigured data are stored in the second block, which effectively utilizes the fragmented capacity of the hard disk to expand the storage device. Therefore, maintenance personnel are not required to replace the failed hard disk in the storage device, thereby effectively saving maintenance costs and Hardware cost.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为现有技术中存储设备的结构示意图;1 is a schematic structural diagram of a storage device in the prior art;
图2为本发明实施例提供的存储的处理方法的应用场景结构示意图;2 is a schematic structural diagram of an application scenario of a storage processing method according to an embodiment of the present disclosure;
图3为本发明实施例一提供的存储的处理方法流程图;3 is a flowchart of a processing method of storage according to Embodiment 1 of the present invention;
图4为硬盘故障前的容量分配示意图;Figure 4 is a schematic diagram of capacity allocation before a hard disk failure;
图5为硬盘故障后的容量分配示意图;Figure 5 is a schematic diagram of capacity allocation after a hard disk failure;
图6为本发明实施例二提供的存储的处理方法流程图;FIG. 6 is a flowchart of a processing method for storing according to Embodiment 2 of the present invention;
图7为本发明实施例三提供的存储的处理装置结构示意图;FIG. 7 is a schematic structural diagram of a storage processing apparatus according to Embodiment 3 of the present invention; FIG.
图8为本发明实施例四提供的存储的处理装置结构示意图;FIG. 8 is a schematic structural diagram of a storage processing apparatus according to Embodiment 4 of the present invention; FIG.
图9为本发明实施例五提供的存储设备的结构示意图。 FIG. 9 is a schematic structural diagram of a storage device according to Embodiment 5 of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图2为本发明实施例提供的存储的处理方法的应用场景结构示意图,如图2所示,该场景包括主机11、磁盘阵列控制器12和存储设备13,其中,主机11可以为电脑(personal computer,简称PC),也可以为服务器,存储设备中包括多个硬盘14,数据存储在硬盘14中,磁盘阵列控制器12用于实现数据的存储转发以及存储设备中硬盘的管理,是主机与存储设备之间的“桥梁”。2 is a schematic structural diagram of an application scenario of a storage processing method according to an embodiment of the present invention. As shown in FIG. 2, the scenario includes a host 11, a disk array controller 12, and a storage device 13, wherein the host 11 can be a computer (personal The computer (referred to as PC) can also be a server. The storage device includes a plurality of hard disks 14 and the data is stored in the hard disk 14. The disk array controller 12 is configured to implement data storage and forwarding and management of the hard disk in the storage device. A "bridge" between storage devices.
图3为本发明实施例一提供的存储的处理方法流程图。本实施例中提供的存储的处理方法应用于存储设备,该存储设备包括多个硬盘,多个硬盘固定在存储设备内部,硬盘包括整数容量和零散容量,且每个硬盘的整数容量包括N个分块,其中,N为正整数。该方法的执行主体为磁盘阵列控制器,如图3所示,本实施例的方法包括:FIG. 3 is a flowchart of a processing method of storage according to Embodiment 1 of the present invention. The storage processing method provided in this embodiment is applied to a storage device, where the storage device includes multiple hard disks, and multiple hard disks are fixed in the storage device. The hard disks include integer capacity and scattered capacity, and the integer capacity of each hard disk includes N Blocking, where N is a positive integer. The main body of the method is a disk array controller. As shown in FIG. 3, the method in this embodiment includes:
步骤101、当多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块。Step 101: When a fault occurs in the first hard disk of the plurality of hard disks, determining that the failed block is the first block.
在本实施例中,硬盘可以为容量标记为X.y TB类型的硬盘,例如,叠瓦式磁记录(shingled magnetic recording,简称SMR)硬盘,其中,X为硬盘的整数容量,y为硬盘的零散容量,零散容量是在硬盘生产时就产生的,并且,每个硬盘的零散容量可能不同,也可能相同。存储设备中的每个硬盘的整数容量包括N个分块,对于N和分块的容量大小可以根据实际情况来调整,本发明中不加以限制。In this embodiment, the hard disk may be a hard disk with a capacity marked as Xy TB type, for example, a shingled magnetic recording (SMR) hard disk, where X is an integer capacity of the hard disk, and y is a discrete capacity of the hard disk. The scattered capacity is generated when the hard disk is produced, and the discrete capacity of each hard disk may be different or the same. The integer capacity of each hard disk in the storage device includes N blocks, and the capacity size of the N and the block can be adjusted according to actual conditions, which is not limited in the present invention.
在本实施例中,硬盘的容量越大,则一个硬盘故障便意味着较大的容量的损失,但是,实际上大部分的硬盘故障,只是某个磁头或某个碟片发生故障,其余的磁头或碟片可以继续使用,即硬盘中的某个 分块发生故障,而其它没有发生故障的分块仍然可以使用。在本实施例中,当磁盘阵列控制器检测到存储设备中的一个或者多个硬盘发生故障,例如,该硬盘中的数据无法读写,则查找发生故障的分块,并将该发生故障的分块确定为第一分块。In this embodiment, the larger the capacity of the hard disk, the more the failure of one hard disk means the loss of a large capacity. However, in fact, most of the hard disk failures are caused by the failure of a certain magnetic head or a certain disk, and the rest. The head or disc can continue to be used, that is, one of the hard disks Blocking fails, and other blocks that have not failed can still be used. In this embodiment, when the disk array controller detects that one or more hard disks in the storage device are faulty, for example, the data in the hard disk cannot be read or written, the failed block is searched for, and the failed component is obtained. The partition is determined to be the first partition.
需要说明的是,第一硬盘为存储设备中发生故障的硬盘,第一硬盘可以为一个发生故障的硬盘,也可以为多个发生故障的硬盘。It should be noted that the first hard disk is a hard disk that fails in the storage device, and the first hard disk may be a failed hard disk or multiple failed hard disks.
步骤102、在存储设备的冗余容量池中获取第二分块。Step 102: Acquire a second partition in a redundant capacity pool of the storage device.
其中,第二分块的容量不小于第一分块的容量,冗余容量池包括多个硬盘的零散容量。The capacity of the second block is not less than the capacity of the first block, and the redundant capacity pool includes the scattered capacity of the plurality of hard disks.
在本实施例中,将存储设备中的所有硬盘的零散容量作为存储设备的冗余容量池,冗余容量池中不存储数据,将冗余容量池的容量作为存储设备的冗余容量,可对存储设备进行扩容。并且,将存储设备中的硬盘的整数容量作为存储设备的主存储容量池,由于每个硬盘的整数容量被划分为多个分块,则主存储容量池中也包括若干的分块。当存储设备发生故障时,查找到发生故障的分块,即第一分块,在冗余容量池中获取与第一分块的容量大小相等的分块,即第二分块。In this embodiment, the scattered capacity of all the hard disks in the storage device is used as the redundant capacity pool of the storage device, the data in the redundant capacity pool is not stored, and the capacity of the redundant capacity pool is used as the redundant capacity of the storage device. Expand the storage device. Moreover, the integer capacity of the hard disk in the storage device is used as the primary storage capacity pool of the storage device. Since the integer capacity of each hard disk is divided into multiple partitions, the primary storage capacity pool also includes several partitions. When the storage device fails, the failed block, that is, the first block is found, and the block with the same capacity as the first block is obtained in the redundant capacity pool, that is, the second block.
图4为硬盘故障前的容量分配示意图。图5为硬盘故障后的容量分配示意图。如图4所示,存储设备中包括n个硬盘,将每个硬盘的整数容量X构建主存储容量池,即主存储容量池的容量为nX,并在整数容量中存储数据;将每个硬盘的零散容量构建冗余容量池,即冗余容量池的容量为y1+y2+y3+…yn,零散容量中没有存储数据,用于对存储设备进行扩容。如图5所示,当硬盘m发生故障时,找到硬盘m的整数容量中发生故障的分块作为第一分块,该第一分块的容量为Q,则在冗余容量池中获取Q大小的容量,并将该Q大小的容量作为主存储容量池的容量,则主存储容量池中的容量不变,仍然为nX,但冗余容量池中的容量变为y1+y2+y3+…yn-Q。Figure 4 is a schematic diagram of capacity allocation before a hard disk failure. Figure 5 is a schematic diagram of capacity allocation after a hard disk failure. As shown in FIG. 4, the storage device includes n hard disks, and the integer capacity X of each hard disk is built into a primary storage capacity pool, that is, the capacity of the primary storage capacity pool is nX, and data is stored in an integer capacity; each hard disk is stored; The capacity of the redundant capacity pool is y1+y2+y3+...yn, and there is no storage data in the fragmented capacity for capacity expansion of the storage device. As shown in FIG. 5, when the hard disk m fails, the fragment that has failed in the integer capacity of the hard disk m is found as the first partition, and the capacity of the first partition is Q, and the Q is obtained in the redundant capacity pool. The capacity of the size, and the capacity of the Q size as the capacity of the primary storage capacity pool, the capacity in the primary storage capacity pool remains unchanged, still nX, but the capacity in the redundant capacity pool becomes y1+y2+y3+... yn-Q.
需要说明的是,在本实施例中,发生故障的硬盘中,发生故障的分块不能使用,而未发生故障的分块可以继续使用。It should be noted that, in this embodiment, in the hard disk that has failed, the failed block cannot be used, and the block that has not failed can continue to be used.
步骤103、重构第一分块中的数据,并将数据存储到第二分块中。 Step 103: Reconstruct data in the first partition and store the data in the second partition.
在本实施例中,重构第一分块中存储的数据,将重构的数据存储到第二分块中,以便于当第一分块在下一次被访问时,可以到第二分块中访问数据。对于重构第一分块中的数据的方法,可采用现有技术中数据的重构方法,例如,采用传统的独立磁盘冗余数组(Redundant Array of Independent Disks Version1.0,简称RAID1.0)技术或者是RAID2.0技术等,重构故障区域的数据。In this embodiment, the data stored in the first partition is reconstructed, and the reconstructed data is stored in the second partition, so that when the first partition is accessed next time, the second partition may be used. Access data. For the method of reconstructing the data in the first block, the data reconstruction method in the prior art may be used, for example, a traditional Redundant Array of Independent Disks Version 1.0 (RAID 1.0). Technology or RAID 2.0 technology, etc., reconstruct data in the fault area.
现有技术中对于出现故障的硬盘,维护人员需要使用新的硬盘来更换故障硬盘,由于硬盘故障率远高于普通硬件的故障率,且硬盘发货量极大,所以将产生较高的维护费用,而且,对于出现故障的硬盘,直接使用新的硬盘来更换故障硬盘,另外,更换硬盘时需要进行热拔插,所以需要设计拉手条,增加设备成本。但是,本发明实施例提供的存储的处理方法,将硬盘固定在存储设备的内部,例如,采用一体化设计,存储设备中的所有硬盘做成一体,与硬盘框硬连接,所有硬盘不可拔插;或者,将硬盘分组,多个硬盘组成一个硬盘组,硬盘组整体在硬盘框上可拔插,硬盘组内的硬盘不可拔插。并且,本发明实施例中,利用硬盘的零散容量对存储设备进行扩容,当硬盘的发生故障时,只需要在冗余容量池中获取与发生故障的分块的容量大小相对应的第二分块来代替故障分块,将第一分块中的数据重构到第二分块中,实现了数据的备份和恢复,因此,本实施提供的存储的处理方法,不需要维护人员对存储设备中的故障硬盘进行更换,因此,有效节省了维护成本和硬件成本。In the prior art, for a faulty hard disk, the maintenance personnel need to use a new hard disk to replace the failed hard disk. Since the hard disk failure rate is much higher than that of the ordinary hardware, and the hard disk shipment is extremely large, high maintenance is generated. Cost, and, for a failed hard disk, directly replace the failed hard disk with a new hard disk. In addition, hot swapping is required when replacing the hard disk, so it is necessary to design a handle bar to increase the equipment cost. However, the storage processing method provided by the embodiment of the present invention fixes the hard disk to the inside of the storage device. For example, the integrated design is adopted, and all the hard disks in the storage device are integrated, and the hard disk frame is hardly connected, and all the hard disks are not plugged. Or, the hard disks are grouped, and the multiple hard disks are grouped into one disk group. The disk group can be plugged in and out of the disk enclosure. The hard disks in the disk group cannot be plugged in. In addition, in the embodiment of the present invention, the storage device is expanded by using the fragmented capacity of the hard disk. When the hard disk fails, only the second component corresponding to the capacity of the failed block needs to be acquired in the redundant capacity pool. The block replaces the faulty block, and the data in the first block is reconstructed into the second block to implement data backup and recovery. Therefore, the storage processing method provided by the present embodiment does not require maintenance personnel to the storage device. The failed hard disk is replaced, thus saving maintenance costs and hardware costs.
本实施例提供的存储的处理方法,硬盘固定在存储设备的内部,当多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块,并在存储设备的冗余容量池中获取第二分块,重构第一分块中的数据,并将数据存储到第二分块中。本发明实施例中由于将硬盘的零散容量作为存储设备的冗余容量池,当硬盘发生故障时,只需要在冗余容量池中获取与发生故障的分块的容量大小相对的应第二分块,并将重构数据存储到第二分块中,有效利用了硬盘的零散容量对存储设备进行扩容,因此,不需要维护人员对存储设备中的故障硬盘进行更 换,有效节省了维护成本和硬件成本。In the storage processing method provided in this embodiment, the hard disk is fixed inside the storage device. When the first hard disk of the plurality of hard disks fails, determining that the failed block is the first block and the redundancy of the storage device The second partition is obtained in the capacity pool, the data in the first partition is reconstructed, and the data is stored in the second partition. In the embodiment of the present invention, the redundant capacity of the hard disk is used as the redundant capacity pool of the storage device. When the hard disk fails, only the second capacity corresponding to the capacity of the failed block is obtained in the redundant capacity pool. Blocks and stores the reconstructed data in the second partition, effectively utilizing the fragmented capacity of the hard disk to expand the storage device. Therefore, maintenance personnel are not required to perform the faulty hard disk in the storage device. Switching, saving maintenance costs and hardware costs.
图6为本发明实施例二提供的存储的处理方法流程图。如图6所示,该方法包括:FIG. 6 is a flowchart of a storage processing method according to Embodiment 2 of the present invention. As shown in FIG. 6, the method includes:
步骤201、将多个硬盘的整数容量的所有分块,划分为M个分块组,并为每个分块组分配一个逻辑单元号LUN。Step 201: Divide all the blocks of the integer capacity of the plurality of hard disks into M block groups, and assign one logical unit number LUN to each block group.
其中,M为正整数,且M≤N。Where M is a positive integer and M≤N.
在本实施例中,将存储设备中不同的硬盘的整数容量的分块进行划分,以组成分块组,即每个分块组中包括了不同硬盘中的分块,并为每个分块组分配一个逻辑单元号(Logical Unit Number,简称LUN),以便于对分块组进行管理。In this embodiment, the blocks of the integer capacity of different hard disks in the storage device are divided to form a block group, that is, each block group includes blocks in different hard disks, and each block is included. The group is assigned a Logical Unit Number (LUN) to facilitate management of the block group.
步骤202、当存储设备中的第一硬盘发生故障时,确定发生故障的分块为第一分块。Step 202: When the first hard disk in the storage device fails, determine that the failed block is the first block.
步骤203、在存储设备的冗余容量池中获取第二分块。Step 203: Acquire a second partition in a redundant capacity pool of the storage device.
其中,第二分块的容量不小于第一分块的容量,冗余容量池包括多个硬盘的零散容量。The capacity of the second block is not less than the capacity of the first block, and the redundant capacity pool includes the scattered capacity of the plurality of hard disks.
在本实施例中,步骤202和步骤203分别和上述实施例一种的步骤101和步骤102的实现原理相同,此处不再赘述。In this embodiment, the steps 202 and 203 are the same as the steps 101 and 102 of the foregoing embodiment, and are not described herein again.
步骤204、建立逻辑区块地址(Logical Block Address,简称LBA)映射表。Step 204: Establish a logical block address (LBA) mapping table.
其中,LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。The LBA mapping table is configured to store a mapping relationship between the LBA of the first partition and the LBA of the second partition.
在本实施例中,每一个分块中包括至少一个逻辑区块,每一个逻辑区块对应一个LBA,则每一个分块的LBA即为该分块包括的逻辑区块的LBA,因此,每一个分块可能对应一个LBA,可能对应多个LBA。当从冗余容量池中获取到第二分块之后,需要建立第一分块的LBA和第二分块的LBA之间的映射关系,并将该映射关系存储到LBA映射表中。当下一次访问到该发生故障的分块时,可以根据第一分块的LBA和第二分块的LBA之间的映射关系,从LBA映射表中查找到第二分块的LBA,并在第二分块中访问数据。 In this embodiment, each block includes at least one logical block, and each logical block corresponds to one LBA, and the LBA of each block is the LBA of the logical block included in the block, therefore, each A block may correspond to one LBA and may correspond to multiple LBAs. After the second partition is obtained from the redundant capacity pool, a mapping relationship between the LBA of the first partition and the LBA of the second partition needs to be established, and the mapping relationship is stored in the LBA mapping table. When the faulty partition is accessed next time, the LBA of the second partition may be found from the LBA mapping table according to the mapping relationship between the LBA of the first partition and the LBA of the second partition, and Access data in a binary block.
步骤205、根据分块组的LUN,重构第一分块中的数据,并将数据存储到第二分块中。Step 205: Reconstruct data in the first partition according to the LUN of the block group, and store the data in the second block.
在本实施例中,根据分块组的LUN,对个分块组进行逻辑运算,以重构第一分块中的数据,并将重构数据存储到第二分块中。In this embodiment, logical operations are performed on the block groups according to the LUNs of the block group to reconstruct data in the first block and store the reconstructed data in the second block.
具体的,可采用RAID2.0技术重构数据,将硬盘的整数容量先按照固定的容量切割成多个分块(Chunk,通常为64MB),并将这些小分块进行分组已形成不同RAID类型的分块组(Chunk Group),每个分块组对应一个LUN,且每个分块组中包括不同硬盘的整数容量中的分块。当存储设备中的某一个硬盘发生故障后,查找到故障分块所在的分块组,即可根据LUN来查找第一分块所在的分块组,在该分块组中的各分块之间进行逻辑运算,对发生故障的分块进行重构,从而大大降低重构时间,减少重构整个硬盘数据使得重构窗口扩大而导致的数据丢失风险,在硬盘容量大幅增加的同时确保存储系统的性能和可靠性。Specifically, RAID 2.0 technology can be used to reconstruct data, and the integer capacity of the hard disk is first cut into a plurality of chunks (usually 64 MB) according to a fixed capacity, and these small chunks are grouped to form different RAID types. Chunk Group, each chunk group corresponds to one LUN, and each chunk group includes chunks in the integer capacity of different hard disks. After a hard disk in a storage device fails, the block group in which the fault block is located is found, and the block group in which the first block is located is searched according to the LUN, and each block in the block group is Perform logical operations to reconstruct the failed blocks, thereby greatly reducing the reconstruction time, reducing the risk of data loss caused by the reconstruction of the entire hard disk data and expanding the reconstruction window, and ensuring the storage system while the capacity of the hard disk is greatly increased. Performance and reliability.
可选地,在本实施例中,分别采用主容量管理表和冗余容量管理表对主存储容量池和冗余容量池进行管理。当从冗余容量池中获取第二数据块之后,将主容量管理表中的第一数据块的LBA映射到第二数据块的LBA,即步骤205,建立LBA映射表的过程。并且,在将数据存储到第二分块中之后,还需要在冗余容量管理表中将第二数据块的LBA删除,以防止下一次硬盘故障时,将故障分块的LBA映射到该第二数据块的LBA。Optionally, in this embodiment, the primary storage capacity pool and the redundant capacity management pool are respectively managed by using the primary capacity management table and the redundant capacity management table. After acquiring the second data block from the redundant capacity pool, the LBA of the first data block in the primary capacity management table is mapped to the LBA of the second data block, that is, step 205, the process of establishing the LBA mapping table. Moreover, after storing the data in the second partition, the LBA of the second data block needs to be deleted in the redundant capacity management table to prevent the faulty LBA from being mapped to the first time when the hard disk fails. The LBA of the second data block.
本实施例提供的存储的处理方法,将多个硬盘的整数容量的分块,划分为M个分块组,并为每个分块组分配一个逻辑单元号LUN,当存储设备中的第一硬盘发生故障时,确定发生故障的分块为第一分块,在冗余容量池中获取第二分块,并建立LBA映射表,根据分块组的LUN,重构第一分块中的数据,并将数据存储到第二分块中。本实施例中,有效利用了硬盘的零散容量对存储设备进行扩容,因此,不需要维护人员对存储设备中的故障硬盘进行更换,有效节省了维护成本和硬件成本。并且,本实施例中,将硬盘的整数容量进行分块, 并将不同硬盘的分块划分为多了个分块组,以根据分块组的LUN进行逻辑运算,重构故障分块中的数据,故障硬盘中未发生故障的分块仍然可以继续使用,不要重新更换故障硬盘,减少设备成本,提高了硬盘的利用率,而且,只对故障分块进行重构,从而大大降低了重构时间。The storage processing method provided in this embodiment divides the block of the integer capacity of the plurality of hard disks into M block groups, and allocates one logical unit number LUN for each block group, when the first in the storage device When the hard disk fails, the faulty partition is determined to be the first partition, the second partition is obtained in the redundant capacity pool, and the LBA mapping table is established, and the first partition is reconstructed according to the LUN of the partition group. Data and store the data in a second block. In this embodiment, the storage device is expanded by utilizing the fragmented capacity of the hard disk. Therefore, maintenance personnel are not required to replace the faulty hard disk in the storage device, thereby effectively saving maintenance costs and hardware costs. Moreover, in this embodiment, the integer capacity of the hard disk is divided into blocks. The partitions of different hard disks are divided into a plurality of block groups to perform logical operations according to the LUNs of the block group, and the data in the fault block is reconstructed, and the blocks that have not failed in the faulty hard disk can still be used. Do not re-replace the failed hard disk, reduce the cost of the device, improve the utilization of the hard disk, and only reconstruct the fault block, which greatly reduces the reconstruction time.
图7为本发明实施例三提供的存储的处理装置的结构示意图。如图7所示,该装置包括确定模块21、获取模块22和重构模块23。确定模块21用于当存储设备的第一硬盘发生故障时,确定发生故障的分块为第一分块。获取模块22用于在存储设备的冗余容量池中获取第二分块;其中,第二分块的容量不小于第一分块的容量,冗余容量池包括多个硬盘的零散容量。重构模块23用于重构第一分块中的数据,并将数据存储到第二分块中。FIG. 7 is a schematic structural diagram of a storage processing apparatus according to Embodiment 3 of the present invention. As shown in FIG. 7, the apparatus includes a determination module 21, an acquisition module 22, and a reconstruction module 23. The determining module 21 is configured to determine that the failed block is the first block when the first hard disk of the storage device fails. The obtaining module 22 is configured to obtain a second partition in the redundant capacity pool of the storage device; wherein the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes a fragmented capacity of the plurality of hard disks. The reconstruction module 23 is configured to reconstruct data in the first partition and store the data in the second partition.
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
图8为本发明实施例四提供的存储的处理装置的结构示意图,如图8所示,该装置还包括划分模块24,划分模块24还用于将多个硬盘的整数容量的分块,划分为M个分块组,并为每个分块组分配一个逻辑单元号LUN;其中,M为正整数,且M≤N。FIG. 8 is a schematic structural diagram of a storage processing apparatus according to Embodiment 4 of the present invention. As shown in FIG. 8, the apparatus further includes a dividing module 24, and the dividing module 24 is further configured to divide the integer capacity of the plurality of hard disks into blocks. It is M block groups, and each logical block group is assigned a logical unit number LUN; where M is a positive integer and M ≤ N.
在本实施例中,获取模块22还用于建立逻辑区块地址LBA映射表。其中,LBA映射表用于存储第一分块的LBA与第二分块的LBA之间的映射关系。重构模块23还用于根据分块组的LUN,重构第一分块中的数据。In this embodiment, the obtaining module 22 is further configured to establish a logical block address LBA mapping table. The LBA mapping table is used to store a mapping relationship between the LBA of the first partition and the LBA of the second partition. The reconstruction module 23 is further configured to reconstruct data in the first partition according to the LUN of the block group.
本实施例的装置,可以用于执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 6. The implementation principle and technical effects are similar, and details are not described herein again.
图9为本发明实施例五提供的存储设备的结构示意图。如图9所示,存储设备31包括磁盘阵列控制器(图中未示出)和磁盘阵列32,磁盘阵列32中包括多个硬盘33。磁盘阵列控制器用于在磁盘阵列32中的第一硬盘发生故障时,确定发生故障的分块为第一分块;磁盘阵列控制器用于在存储设备31的冗余容量池中获取第二分块;其中, 第二分块的容量不小于第一分块的容量,冗余容量池包括多个硬盘的零散容量;磁盘阵列控制器用于重构第一分块中的数据,并将数据存储到第二分块中。FIG. 9 is a schematic structural diagram of a storage device according to Embodiment 5 of the present invention. As shown in FIG. 9, the storage device 31 includes a disk array controller (not shown) and a disk array 32, and the disk array 32 includes a plurality of hard disks 33. The disk array controller is configured to determine that the failed block is the first block when the first hard disk in the disk array 32 fails; the disk array controller is configured to obtain the second block in the redundant capacity pool of the storage device 31. ;among them, The capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the scattered capacity of the plurality of hard disks; the disk array controller is configured to reconstruct the data in the first partition and store the data in the second branch In the block.
需要说明的是,在本实施例中,磁盘阵列控制器可以位于存储设备内部,或者,磁盘阵列控制器也可以位于存储设备外部,本发明中不加以限制。It should be noted that, in this embodiment, the disk array controller may be located inside the storage device, or the disk array controller may be located outside the storage device, which is not limited in the present invention.
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
进一步地,在上述实施例五中,磁盘阵列控制器还用于建立逻辑区块地址LBA映射表;其中,LBA映射表用于存储第一分块的LBA与第二分块的LBA之间的映射关系。磁盘阵列控制器还用于将多个硬盘33的整数容量的所有分块,划分为M个分块组,并为每个分块组分配一个逻辑单元号LUN;其中,M为正整数,且M≤N。磁盘阵列控制器还用于根据分块组的LUN,重构第一分块中的数据。Further, in the fifth embodiment, the disk array controller is further configured to establish a logical block address LBA mapping table, where the LBA mapping table is used to store between the LBA of the first partition and the LBA of the second partition. Mapping relations. The disk array controller is further configured to divide all the blocks of the integer capacity of the plurality of hard disks 33 into M block groups, and assign a logical unit number LUN to each of the block groups; wherein M is a positive integer, and M ≤ N. The disk array controller is further configured to reconstruct data in the first block according to the LUN of the block group.
本实施例的装置,可以用于执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 6. The implementation principle and technical effects are similar, and details are not described herein again.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (12)

  1. 一种存储的处理方法,应用于存储设备,其特征在于,所述存储设备包括多个硬盘,所述多个硬盘固定在存储设备内部,所述硬盘包括整数容量和零散容量,且每个硬盘的整数容量包括N个分块,其中,N为正整数,所述方法包括:A storage processing method is applied to a storage device, wherein the storage device includes a plurality of hard disks, the plurality of hard disks are fixed inside the storage device, and the hard disks include an integer capacity and a scattered capacity, and each hard disk The integer capacity includes N blocks, where N is a positive integer, and the method includes:
    当所述多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块;When the first hard disk of the plurality of hard disks fails, determining that the failed block is the first block;
    在所述存储设备的冗余容量池中获取第二分块;其中,所述第二分块的容量不小于所述第一分块的容量,所述冗余容量池包括所述多个硬盘的零散容量;Acquiring a second partition in the redundant capacity pool of the storage device; wherein, the capacity of the second partition is not less than the capacity of the first partition, and the redundant capacity pool includes the multiple hard disks Scattered capacity;
    重构所述第一分块中的数据,并将所述数据存储到所述第二分块中。Reconstructing data in the first partition and storing the data in the second partition.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述存储设备的冗余容量池中获取第二分块之后,所述方法还包括:The method according to claim 1, wherein after the obtaining the second partition in the redundant capacity pool of the storage device, the method further comprises:
    建立逻辑区块地址LBA映射表;其中,所述LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。Establishing a logical block address LBA mapping table; wherein the LBA mapping table is configured to store a mapping relationship between the LBA of the first partition and the LBA of the second partition.
  3. 根据权利要求1或2所述的方法,其特征在于,所述当所述多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块之前,所述方法还包括:The method according to claim 1 or 2, wherein, when the first hard disk of the plurality of hard disks fails, before the determining that the failed block is the first block, the method further includes :
    将所述多个硬盘的整数容量的所有分块,划分为M个分块组;其中,M为正整数,且M≤N。All the blocks of the integer capacity of the plurality of hard disks are divided into M block groups; wherein M is a positive integer and M≤N.
    为每个所述分块组分配一个逻辑单元号LUN;Allocating a logical unit number LUN for each of the block groups;
  4. 根据权利要求3所述的方法,其特征在于,所述重构所述第一分块中的数据,具体包括:The method according to claim 3, wherein the reconstructing the data in the first block comprises:
    根据所述分块组的LUN,重构所述第一分块中的数据。Reconstructing data in the first partition according to the LUN of the block group.
  5. 一种存储的处理装置,其特征在于,包括:A storage processing device, comprising:
    确定模块,用于当多个硬盘中的第一硬盘发生故障时,确定发生故障的分块为第一分块;a determining module, configured to determine, when a first one of the plurality of hard disks fails, to determine that the failed block is the first block;
    获取模块,用于在存储设备的冗余容量池中获取第二分块;其中, 所述第二分块的容量不小于所述第一分块的容量,所述冗余容量池包括所述多个硬盘的零散容量;An obtaining module, configured to obtain a second partition in a redundant capacity pool of the storage device; wherein The capacity of the second block is not less than the capacity of the first block, and the redundant capacity pool includes a fragmented capacity of the plurality of hard disks;
    重构模块,用于重构所述第一分块中的数据,并将所述数据存储到所述第二分块中。And a reconstruction module, configured to reconstruct data in the first partition and store the data in the second partition.
  6. 根据权利要求5所述的装置,其特征在于,所述获取模块还用于建立逻辑区块地址LBA映射表;其中,所述LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。The apparatus according to claim 5, wherein the obtaining module is further configured to establish a logical block address LBA mapping table, wherein the LBA mapping table is configured to store the LBA of the first partition and the The mapping relationship between the LBAs of the second partition.
  7. 根据权利要求5或6所述的装置,其特征在于,所述装置还包括划分模块,用于将所述多个硬盘的整数容量的所有分块,划分为M个分块组,并为每个所述分块组分配一个逻辑单元号LUN;其中,M为正整数,且M≤N。The device according to claim 5 or 6, wherein the device further comprises a dividing module, configured to divide all the blocks of the integer capacity of the plurality of hard disks into M block groups, and for each Each of the block groups is assigned a logical unit number LUN; wherein M is a positive integer and M≤N.
  8. 根据权利要求7所述的装置,其特征在于,所述重构模块还用于根据所述分块组的LUN,重构所述第一分块中的数据。The apparatus according to claim 7, wherein the reconstruction module is further configured to reconstruct data in the first partition according to the LUN of the block group.
  9. 一种存储设备,其特征在于,包括:磁盘阵列控制器和磁盘阵列,所述磁盘阵列中包括多个硬盘;所述磁盘阵列控制器用于:A storage device, comprising: a disk array controller and a disk array, wherein the disk array includes a plurality of hard disks; and the disk array controller is configured to:
    在所述磁盘阵列中的第一硬盘发生故障时,确定发生故障的分块为第一分块;在所述存储设备的冗余容量池中获取第二分块;其中,所述第二分块的容量不小于所述第一分块的容量,所述冗余容量池包括所述多个硬盘的零散容量;When the first hard disk in the disk array fails, determining that the failed block is the first block; acquiring the second block in the redundant capacity pool of the storage device; wherein the second segment The capacity of the block is not less than the capacity of the first block, and the redundant capacity pool includes a fragmented capacity of the plurality of hard disks;
    重构所述第一分块中的数据,并将所述数据存储到所述第二分块中。Reconstructing data in the first partition and storing the data in the second partition.
  10. 根据权利要求9所述的存储设备,其特征在于,所述磁盘阵列控制器还用于建立逻辑区块地址LBA映射表;其中,所述LBA映射表用于存储所述第一分块的LBA与所述第二分块的LBA之间的映射关系。The storage device according to claim 9, wherein the disk array controller is further configured to establish a logical block address LBA mapping table; wherein the LBA mapping table is configured to store the LBA of the first block A mapping relationship with the LBA of the second partition.
  11. 根据权利要求9或10所述的存储设备,其特征在于,所述磁盘阵列控制器还用于将所述多个硬盘的整数容量的所有分块,划分为M个分块组,并为每个所述分块组分配一个逻辑单元号LUN;其中,M为正整数,且M≤N。 The storage device according to claim 9 or 10, wherein the disk array controller is further configured to divide all the blocks of the integer capacity of the plurality of hard disks into M block groups, and for each Each of the block groups is assigned a logical unit number LUN; wherein M is a positive integer and M≤N.
  12. 根据权利要求11所述的存储设备,其特征在于,所述磁盘阵列控制器还用于根据所述分块组的LUN,重构所述第一分块中的数据。 The storage device according to claim 11, wherein the disk array controller is further configured to reconstruct data in the first segment according to the LUN of the block group.
PCT/CN2016/070392 2015-01-13 2016-01-07 Storage processing method and apparatus, and storage device WO2016112824A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510016146.X 2015-01-13
CN201510016146.XA CN104572374B (en) 2015-01-13 2015-01-13 Processing method, device and the storage device of storage

Publications (1)

Publication Number Publication Date
WO2016112824A1 true WO2016112824A1 (en) 2016-07-21

Family

ID=53088508

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/070392 WO2016112824A1 (en) 2015-01-13 2016-01-07 Storage processing method and apparatus, and storage device

Country Status (2)

Country Link
CN (1) CN104572374B (en)
WO (1) WO2016112824A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572374B (en) * 2015-01-13 2018-02-13 华为技术有限公司 Processing method, device and the storage device of storage
CN105138280B (en) * 2015-07-31 2018-10-19 成都华为技术有限公司 Method for writing data, apparatus and system
CN108319426B (en) * 2015-08-29 2021-08-13 华为数字技术(成都)有限公司 Method and device for using redundant array of independent disks
CN108733307B (en) * 2017-04-17 2021-06-08 伊姆西Ip控股有限责任公司 Storage management method, apparatus and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527142A (en) * 2009-04-17 2009-09-09 杭州华三通信技术有限公司 Reading-writing method of data in redundant arrays of inexpensive disks (RAID) and equipment thereof
CN101567211A (en) * 2009-05-27 2009-10-28 杭州华三通信技术有限公司 Method for improving usability of disk and disk array controller
CN102591746A (en) * 2011-12-29 2012-07-18 成都市华为赛门铁克科技有限公司 Data reconstruction method and storage equipment
CN102681918A (en) * 2012-05-17 2012-09-19 华为技术有限公司 Data storage and backup method and device
CN104572374A (en) * 2015-01-13 2015-04-29 华为技术有限公司 Storage processing method, storage processing device and storage equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6332204B1 (en) * 1999-03-31 2001-12-18 International Business Machines Corporation Recovering and relocating unreliable disk sectors when encountering disk drive read errors
CN101349986A (en) * 2007-07-19 2009-01-21 上海市闵行中学 High power hardware bad track soft repairing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527142A (en) * 2009-04-17 2009-09-09 杭州华三通信技术有限公司 Reading-writing method of data in redundant arrays of inexpensive disks (RAID) and equipment thereof
CN101567211A (en) * 2009-05-27 2009-10-28 杭州华三通信技术有限公司 Method for improving usability of disk and disk array controller
CN102591746A (en) * 2011-12-29 2012-07-18 成都市华为赛门铁克科技有限公司 Data reconstruction method and storage equipment
CN102681918A (en) * 2012-05-17 2012-09-19 华为技术有限公司 Data storage and backup method and device
CN104572374A (en) * 2015-01-13 2015-04-29 华为技术有限公司 Storage processing method, storage processing device and storage equipment

Also Published As

Publication number Publication date
CN104572374A (en) 2015-04-29
CN104572374B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
US10977124B2 (en) Distributed storage system, data storage method, and software program
US10365983B1 (en) Repairing raid systems at per-stripe granularity
US8468302B2 (en) Storage system
US20150301964A1 (en) Methods and systems of multi-memory, control and data plane architecture
WO2009130848A1 (en) Storage system and method for controlling storage system
US9990263B1 (en) Efficient use of spare device(s) associated with a group of devices
JPWO2006123416A1 (en) Disk failure recovery method and disk array device
KR20090073099A (en) Optimized reconstruction and copyback methodology for a failed drive in the presence of a global hot spare disk
US11144396B1 (en) Raid reliability with a provisional spare disk
US8726261B2 (en) Zero downtime hard disk firmware update
CN111124264B (en) Method, apparatus and computer program product for reconstructing data
WO2018103533A1 (en) Method, device, and equipment for fault handling
US11003558B2 (en) Systems and methods for sequential resilvering
US10095585B1 (en) Rebuilding data on flash memory in response to a storage device failure regardless of the type of storage device that fails
WO2016112824A1 (en) Storage processing method and apparatus, and storage device
CN105988727B (en) Storage method and storage device based on RAID
US10409682B1 (en) Distributed RAID system
CN106776147A (en) A kind of variance data backup method and variance data back-up device
US11256447B1 (en) Multi-BCRC raid protection for CKD
US10210062B2 (en) Data storage system comprising an array of drives
US11314608B1 (en) Creating and distributing spare capacity of a disk array
US20190227872A1 (en) Method, apparatus and computer program product for managing data storage in data storage systems
CN116204137B (en) Distributed storage system, control method, device and equipment based on DPU
TWI607303B (en) Data storage system with virtual blocks and raid and management method thereof
US8402231B2 (en) Storage device, method for restoring data in storage device and storage controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16737050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16737050

Country of ref document: EP

Kind code of ref document: A1