Data storage method, device and computer program product

By using the reserved capacity checked by the file system as the destination slice for re-striping, the problem of storage system performance degradation during re-striping in RAID is solved and the performance of the storage system is improved.

CN113641298BActive Publication Date: 2024-09-06EMC IP HLDG CO LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010345657.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-27
Publication Date
2024-09-06
Estimated Expiration
2040-04-27

AI Technical Summary

Technical Problem

When re-striping in RAID, additional space needs to be allocated for the destination slice, causing the storage capacity of the storage system to decrease and affecting performance.

Method used

Utilizes the reserved capacity checked by the file system as the destination slice for re-striping, thereby mitigating the impact on mapper available capacity and improving storage system performance.

Benefits of technology

By borrowing free file system check reserved capacity for re-striping, the impact on the available capacity of the storage system is reduced and the performance of the storage system is improved, especially when multiple RAID stripes are re-striped in parallel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113641298B
    Figure CN113641298B
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a data storage method, device, and computer program product. The method described herein includes determining a source slice for re-striping in a redundant array of independent disks (RAID) stripe, and allocating a destination slice for re-striping from a reserved capacity for a file system check. The method also includes performing re-striping for the RAID stripe by copying data in the source slice to the destination slice. According to an embodiment of the present disclosure, using the reserved capacity of the file system check (FSCK) as the destination slice for re-striping can reduce the impact on the mapper available capacity during re-striping, thereby improving the performance of the storage system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to the field of computers, and more particularly to data storage methods, devices, and computer program products. Background Art

[0002] Redundant Array of Independent Disks (RAID) is a data backup technology that can combine multiple independent physical disks in different ways to form a disk array, thereby providing better storage performance and reliability than a single disk. In order to recover data when a disk in the RAID fails, a parity information block (such as RAID 5) or multiple parity information blocks (such as RAID 6) are usually set in the RAID.

[0003] Generally, in a RAID, there may be multiple disks that are equal to or greater than the RAID width, wherein each disk is divided into multiple slices, and each slice may have a predetermined size (e.g., 4 GB, etc.). RAID usually stores data by stripes, for example, in RAID 5, 5 slices on 5 disks may be combined to form a RAID stripe. When a disk in the RAID fails, it can be rebuilt by checking the information, so that the data can be recovered and will not be lost. Summary of the invention

[0004] Embodiments of the present disclosure provide a data storage method, device, and computer program product.

[0005] In one aspect of the present disclosure, a data storage method is provided. The method includes determining a source slice for restriping in a RAID stripe and allocating a destination slice for restriping from a reserved capacity for file system checking. The method also includes performing restriping for the RAID stripe by copying data in the source slice to the destination slice.

[0006] In another aspect of the present disclosure, an electronic device is provided. The device includes a processing unit and a memory, wherein the memory is coupled to the processing unit and stores instructions. When the instructions are executed by the processing unit, the instructions perform the following actions: determining a source slice for re-striping in a RAID stripe; allocating a destination slice for re-striping from a reserved capacity for file system checking; and performing re-striping for the RAID stripe by copying data in the source slice to the destination slice.

[0007] In yet another aspect of the present disclosure, a computer program product is provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which, when executed, cause a computer to perform a method or process according to an embodiment of the present disclosure.

[0008] This summary is provided to introduce a selection of concepts in a simplified form, which are further described in the detailed description below. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the various embodiments of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like elements throughout the exemplary embodiments of the present disclosure.

[0010] Figure 1 A schematic diagram showing an example environment of a storage system according to an embodiment of the present disclosure is shown;

[0011] Figure 2 A flow chart of a data storage method according to an embodiment of the present disclosure is shown;

[0012] Figure 3 A schematic diagram showing a re-striping process according to an embodiment of the present disclosure is shown;

[0013] Figure 4 A schematic diagram showing re-striped recorded information according to an embodiment of the present disclosure;

[0014] Figure 5 A schematic diagram showing re-striping of over-provisioning space according to an embodiment of the present disclosure is shown;

[0015] Figure 6 A schematic diagram showing termination of restriping according to an embodiment of the present disclosure; and

[0016] Figure 7 A schematic block diagram of a device that can be used to implement an embodiment of the present disclosure is shown. Specific embodiments

[0017] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some specific embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0018] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects, unless explicitly indicated to be different.

[0019] During restriping in a storage system, additional space is usually required to be allocated for destination slices, and the allocated destination slices are unavailable to the outside during the restriping process, resulting in a decrease in storage capacity provided by the storage system, thereby affecting the performance of the storage system.

[0020] To this end, an embodiment of the present disclosure proposes a new scheme for allocating destination slices for re-striping. According to an embodiment of the present disclosure, the reserved capacity of the file system check is used as the destination slice of the re-striping, which can reduce the impact on the available capacity of the mapper during the re-striping, thereby improving the performance of the storage system. When the file system check operation is not performed, the reserved capacity of the file system check is idle, so re-striping can be performed by borrowing space from the reserved capacity.

[0021] It should be understood that although RAID 5 is used as an example of RAID in some embodiments of the present disclosure, any other type of RAID known or developed in the future may be used in combination with the embodiments of the present disclosure. Figures 1 to 7 It should be understood that these exemplary embodiments are provided only to enable those skilled in the art to better understand and implement the embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0022] Figure 1 FIG. 1 is a schematic diagram of an example environment 100 of a storage system according to an embodiment of the present disclosure. Figure 1 As shown in the example environment 100, the storage pool 110 includes multiple RAID resilience sets (RRS) 111, 112, 113 and 114, each RRS forming a fault domain, which means that if a disk drive in a certain RRS fails, it will not affect the reliability of other RRS. The storage pool 110 manages all disks in the storage system. In an embodiment of the present disclosure, each RRS may include multiple disks, for example, any number between a lower threshold and an upper threshold.

[0023] Each disk can be divided into disk slices of a predetermined size, for example, it can be divided into slices of 4 GB size. Multiple slices on different disks can form a RAID stripe, and multiple RAID stripes can form a mapper layer. For example, RAID stripes can be allocated from the storage pool 110. If it is a RAID 5 type RAID, creating a RAID stripe requires allocating 5 free slices from 5 disks to form a RAID 5 stripe. If it is a RAID 6 type RAID, creating a RAID stripe requires allocating 6 free slices from 6 disks to form a RAID 6 stripe. In addition, it is necessary to ensure that all slices included in each stripe need to come from the same RRS.

[0024] The storage pool 110 will expose some layers (such as the user data layer 130, the metadata layer 140, etc.) for use by other components. Each layer may include multiple stripes. Each layer applies its own RAID strategy based on its data type. All stripes in a layer apply the same RAID strategy, such as the same RAID width and RAID type. Layers can be expanded as needed, so new stripes can be dynamically allocated and assigned to the corresponding layers.

[0025] As shown in the example environment 100, a RAID database (DB) layer 120, a user data layer 130, and a metadata layer 140, etc. can be constructed, some of which are mapped to a namespace 160 by a mapper 150 for use by an external host. Among them, the storage pool 110, the RAID database layer 120, the user data layer 130, the metadata layer 140, the mapper 150, etc. can constitute a RAID system. The RAID DB layer 120 includes only a single stripe and will not be exposed, and it is only consumed by the RAID content. The user data layer 130 can adopt RAID 5 and / or RAID 6, and the type and width of RAID depends on the disk type and number of disks in the system. For example, RAID 5 of 4+1, 8+1, or 16+1 can be generally supported, and RAID 6 of 4+2, 8+2, or 16+2 can be supported. In general, multiple mirrors can be set for each layer, depending on the protection level of the specific data.

[0026] The mapper 150 is a core component in the RAID system. It regards each layer as a flat linear physical address space. In addition, it also exposes a single flat linear logical address space to the namespace 160. For example, the logical address space may be large. In some embodiments, the mapper 150 uses a B+ tree to maintain the mapping between logical addresses and physical addresses in a 4K page granularity. The namespace 160 consumes and manages the linear logical space exposed by the mapper 150. The namespace 160 will create a volume and expose the volume to an external host. The mapper 150 consumes a boot layer (not shown), a user data layer 130, and a metadata layer 140. The boot layer uses three copies of the image, and the mapper 150 stores some important configurations that will be loaded on the boot path in the boot layer. The metadata layer 140 can use two copies of the image, and the metadata can be stored, for example, through a B+ tree node. The user data layer 130 uses RAID 5 and / or RAID 6, and all host user data will be stored in the user data layer 130.

[0027] In addition, although not shown, the storage system may also include modules and components such as cache, log recorder, log data layer, log metadata layer, etc., wherein the cache provides a cache function in the memory, and it has 2 instances in the system, one instance is used for user data, and the other instance is used for metadata, which provides a transaction operation function for mapper 150 to speed up the access speed of data. When submitting a transaction, if the transaction modifies some pages to prevent data loss, it will retain all modifications to some special layers exposed to RAID through the log record component. The log user data layer and the log metadata layer are created on some special drives. The log record component consumes and manages the space of the log user data layer and the log metadata layer, and the cache will load and retain dirty pages using the API exposed by the log record component.

[0028] Figure 2 A flow chart of a data storage method 200 according to an embodiment of the present disclosure is shown. At 202, source slices for re-striping in a RAID stripe are determined. For example, if one or more RAID stripes need to be re-striped, one or more source slices to be copied out of data may be selected by a user or automatically selected. In some embodiments, when a new disk is added to an RRS, it may be determined whether to perform an RRS split or an RRS merge, and the re-striping process of some stripes may be performed accordingly.

[0029] At 204, a destination slice for re-striping is allocated from the reserved capacity for the file system check. The file system check (FSCK) is used to detect and repair data failures in the file system, and the storage system usually has reserved a portion of capacity for the file system check (for example, 2.5% of the total capacity of the storage system is reserved), where the reserved capacity is unavailable to the mapper. The file system check can scan the entire disk to find the storage address of the file, thereby achieving recovery of the faulty data. In the embodiment of the present disclosure, during the process of re-striping of the RAID stripe, a portion of the capacity is borrowed from the reserved capacity of the idle file system check to be used as the destination slice for re-striping. In this way, the impact of re-striping on the available capacity of the storage system can be reduced.

[0030] At 206, re-striping of the RAID stripe is performed by copying the data in the source slice to the destination slice. For example, data is copied from the selected source slice in the stripe to the destination slice of the new disk, thereby completing the re-striping of the RAID stripe. Therefore, according to the method 200 of the present disclosure, the reserved capacity checked by the file system is used as the destination slice for re-striping, which can reduce the impact on the available capacity of the mapper during re-striping, thereby improving the performance of the storage system.

[0031] In some embodiments, multiple RAID stripes may be selected for re-striping at the same time, for example, up to 64 RAID stripes may be selected at a time, and if additional storage space is allocated for all of these stripes, a large amount of additional space needs to be allocated for the destination slice, which will result in a large impact on the mapper's available capacity during the entire re-striping period. Therefore, during the parallel re-striping of multiple RAID stripes, the embodiments of the present disclosure can further reduce the impact on the available capacity of the storage system by borrowing storage capacity from the reserved capacity for file system checking.

[0032] In a storage system, after a user expands a storage pool with new disks, the RRS needs to be reorganized, and the stripes in the RRS need to be reorganized to adapt to the new architecture for performance and stability purposes. There are two types of re-striping, cross-RRS re-striping and re-arrangement within a single RRS. Cross-RRS re-striping can eliminate the problem of stripes crossing RRS, while re-arrangement can solve the problem of uneven data distribution among all disks in a single RRS.

[0033] In some embodiments, when adding a new disk to the RRS, first determine whether it needs to be split or merged. If the number of disks in the RRS exceeds the upper limit after adding the new disk, the RRS needs to be split into two RRSs, otherwise the new disk is merged into the RRS.

[0034] According to an embodiment of the present disclosure, slice copy-based re-striping is triggered to eliminate the existence of stripes across RRS and / or to make data more evenly distributed among all disks in the RRS, thereby achieving better IO performance of the storage system. Before performing re-striping, it is necessary to allocate re-striped destination slices for the stripes. Therefore, an embodiment of the present disclosure borrows the reserved capacity of the file system check as the re-striped destination slice, and when data needs to be recovered through the file system check, the destination slice can be released by terminating the re-striping process. In this way, the re-striped destination slice will not affect the mapper capacity, and will not affect the normal process of the file system check.

[0035] Figure 3 FIG. 2 shows a schematic diagram of re-striping based on slice copy according to an embodiment of the present disclosure. Figure 3 As shown, RRS 310 initially includes 8 disks, namely disks D0, D1, D2, D3, D4, D5, D6, D7 and D8, wherein an example stripe 320 is composed of slice A1 on disk D2, slice A2 on disk D3, slice A3 on disk D4, slice A4 on disk D5 and slice A5 on disk D6. As the storage pool capacity expands, disk D8 is newly added to RRS 310, and no data is stored in the newly added disk. In order to distribute data more evenly among all disks in RRS 310, a re-striping algorithm can be performed. For example, source slice A5, which needs to be copied data, can be selected, so that the data in source slice A5 in stripe 320 is copied to destination slice A5' in new disk D8. After the data is copied, a new stripe is composed of slices A1, A2, A3, A4 and A5', and the positions of the slices of the stripe, such as the geometric positions, are updated. It should be understood that any known or future developed re-striping algorithm can be used in conjunction with the embodiments of the present disclosure to perform re-striping operations in the storage system. According to the embodiments of the present disclosure, slice A5' can be a capacity reserved for file system consistency check, in this way, the re-striping process does not affect the available capacity of the storage system.

[0036] Figure 4 A schematic diagram showing re-striped recording information according to an embodiment of the present disclosure. Figure 4 The figure shows the stripe information of restriping and data copy information. Figure 4As shown in FIG. 4 , five slices 411, 412, 413, 414, and 415 on five disks constitute a RAID stripe. During the re-striping process, data in the source slice 412 representing the second slice of the eighth disk is copied to the destination slice 416 representing the first slice of the fifth disk, as shown in FIG. 420. Therefore, the stripe after re-striping includes the slices 411, 416, 413, 414, and 415. In addition, information such as the generation code of the data in the stripe, the reconstruction bitmap, and the copy flag may also be recorded.

[0037] Figure 5 FIG. 2 shows a schematic diagram of re-striping the reserved space according to an embodiment of the present disclosure. Figure 5 As shown, RRS 510 includes 13 disks, and multiple RAID stripes are constructed in RRS 510 through RAID, such as a RAID stripe composed of slices in disks D0-D4. RRS510 can output storage services for mapper 520, such as providing RAID stripes or stripe sets (also called "uber"), such as stripes 521, 522, 523, 524, 525, 526. In order to minimize the impact of the re-striping operation on the available capacity of the mapper, it is necessary to avoid or reduce the impact of the allocated destination slices on the available capacity output to the mapper, so that the re-striped destination slices are transparent to the available capacity of the mapper.

[0038] Figure 5 The process of re-striping for the stripes on disk D0 is shown, and some source slices in the RAID stripes in disk D0 are selected, as shown in 515. Then, the data in the source slices can be copied to the allocated destination slices, such as the destination slice positions shown in 518. During the data copy, the destination slice at 518 can be marked as used, and the mapper 520 available capacity of the storage system can be left unchanged. According to an embodiment of the present disclosure, the destination slice at 518 is a storage space borrowed from the reserved capacity for file system checking, in this way, the re-striping process does not affect the available capacity of the storage system.

[0039] Figure 6 FIG. 4 is a schematic diagram showing the termination of restriping according to an embodiment of the present disclosure. Figure 6As shown, during the execution of restriping, a data failure (such as a software failure) may occur in the storage system or a new disk may be added, and a file system check on the storage system needs to be started for purposes such as data recovery. Since the priority of the file system check is higher than the priority of restriping, it is necessary to terminate the current execution of restriping and then release the destination slice borrowed from the reserved capacity for the file system check. As shown in 618, the reserved capacity is released in response to the termination of restriping, the data therein is cleared, and the data copy operation is terminated. Next, the reserved capacity is used to perform a file system check on the storage system until the check is completed. In this way, the reserved capacity can be returned to the file system check service in a timely manner, so that not only the re-striped destination slice does not affect the mapper capacity, but also the normal operation of the file system check is not affected.

[0040] In some embodiments, it can be periodically determined whether the file system check for the storage system is completed, and after the file system check for the storage system is completed, the execution of re-striping is restarted. Then, after the re-striping is completed, the information of the RAID stripes, such as the location of the slices in each RAID stripe, is updated. In this way, the re-striping can be performed by borrowing the reserved capacity for the file system check at a time that does not affect the file system check, thereby improving the resource utilization of the reserved space. In addition, by ensuring the priority of the file system check, the borrowing of the reserved capacity by re-striping will not affect the normal operation of the file system check.

[0041] Figure 7 1 shows a schematic block diagram of an electronic device 700 that can be used to implement an embodiment of the present disclosure. The device 700 may be a device or apparatus described in an embodiment of the present disclosure. Figure 7 As shown, the device 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 702 or computer program instructions loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0042] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0043] The various methods or processes described above may be performed by the processing unit 701. For example, in some embodiments, the methods may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more steps or actions in the methods or processes described above may be performed.

[0044] In some embodiments, the methods and processes described above may be implemented as a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0045] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0046] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0047] The computer program instructions for performing the disclosed operation may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, and conventional procedural programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In certain embodiments, by utilizing the state information of a computer-readable program instruction to customize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the present disclosure.

[0048] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0049] Computer-readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0050] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the equipment, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the blocks can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous blocks can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flow chart, and the combination of the blocks in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0051] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A data storage method, comprising: Determining a source slice for re-striping in a redundant array of independent disks RAID stripe; allocating a destination slice for restriping by borrowing from reserved capacity located in a plurality of disks, wherein the reserved capacity is reserved for a file system check that detects and repairs data failures in the file system at least in part by scanning the plurality of disks for storage addresses of files; performing restriping of the RAID stripe by copying data in the source slice to the destination slice; During the execution of the restriping, marking the destination slice as used; as well as Initiate the file check by: terminating said execution of said restriping; In response to termination of the execution of the striping, releasing the destination slice borrowed from the reserved capacity and marked as used; as well as The file system check on the storage system is performed using the reserved capacity.

2. The method of claim 1 , wherein determining source slices for re-striping comprises: Determine whether to split the RAID resiliency set RRS based on the addition of new disks to the storage pool; as well as Based on determining to split the RRS, a selection of the source slices is received for re-striping across the RRS.

3. The method of claim 2, wherein determining source slices for re-striping further comprises: According to determining that the RRS does not need to be split, merging the new disk into the RRS to generate a new RRS; as well as A selection of the source slice is received for re-striping within the new RRS.

4. The method of claim 1 , further comprising during execution of the restriping, Keep the mapper available capacity of the storage system unchanged.

5. The method according to claim 4, further comprising: During the execution of the restriping, the file system check on the storage system is initiated in response to a data failure.

6. The method according to claim 1, further comprising: Determine whether a file system check on the storage system is completed; Restarting the execution of the restriping according to determining that the file system check on the storage system is completed; as well as The information of the RAID stripe is updated after the restriping is completed.

7. The method according to claim 4, further comprising: A reserved capacity ratio is allocated from the total capacity of the storage system as a reserved capacity for file system consistency check, and the reserved capacity is unavailable to the mapper.

8. An electronic device, comprising: Processing unit; as well as A memory coupled to the processing unit and storing instructions that, when executed by the processing unit, perform the following actions: Determining a source slice for re-striping in a redundant array of independent disks RAID stripe; allocating a destination slice for restriping by borrowing from reserved capacity located in a plurality of disks, wherein the reserved capacity is reserved for a file system check that detects and repairs data failures in the file system at least in part by scanning the plurality of disks for storage addresses of files; performing restriping of the RAID stripe by copying data in the source slice to the destination slice; During the execution of the restriping, marking the destination slice as used; as well as Initiate the file check by: terminating said execution of said restriping; In response to termination of the execution of the striping, releasing the destination slice borrowed from the reserved capacity and marked as used; as well as The file system check on the storage system is performed using the reserved capacity.

9. The apparatus of claim 8, wherein determining source slices for re-striping comprises: Determine whether to split the RAID resiliency set RRS based on the addition of new disks to the storage pool; as well as Based on determining to split the RRS, a selection of the source slices is received for restriping across the RRS.

10. The apparatus of claim 9, wherein determining source slices for re-striping further comprises: According to determining that the RRS does not need to be split, merging the new disk into the RRS to generate a new RRS; as well as A selection of the source slice is received for re-striping within the new RRS.

11. The apparatus of claim 8, further comprising during execution of the restriping, Keep the mapper available capacity of the storage system unchanged.

12. The device according to claim 8, wherein the actions further comprise: During the execution of the restriping, the file system check on the storage system is initiated in response to a data failure.

13. The apparatus of claim 8, the actions further comprising: Determine whether a file system check on the storage system is completed; Restarting the execution of the restriping according to determining that the file system check on the storage system is completed; as well as The information of the RAID stripe is updated after the restriping is completed.

14. The apparatus of claim 11, the actions further comprising: A reserved capacity ratio is allocated from the total capacity of the storage system as a reserved capacity for file system consistency check, and the reserved capacity is unavailable to the mapper.

15. A computer program product tangibly stored on a non-transitory computer readable medium and comprising computer executable instructions which, when executed, cause a computer to perform the method according to any one of claims 1 to 7.