RAID volume forming method, system and device and readable storage medium
A technology for grouping volumes and storing data. It is applied in the field of logical volume grouping and can solve the problems of storage data and space utilization that cannot meet expectations.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] The following combination figure 2 , figure 2 A flow chart of a method for configuring a RAID volume provided in an embodiment of the present application, which specifically includes the following steps:
[0058] S101: Determine the actual size of the complete data to be stored according to the issued new data writing task;
[0059] The purpose of this step is to determine the actual size of the complete data to be stored according to the issued new data writing task. It is usually the upper-layer application that is responsible for issuing the new data writing task. To store data, the actual size of a 10GB data to be stored is 10GB. The purpose of this step is to determine the size of the object. The object referred to here is the data to be stored, and the data to be stored can be expressed in various forms of objects.
[0060] S102: Calculate the size of each data block according to the actual size and the number of target physical disks to obtain the target siz...
Embodiment 2
[0071] The following combination Figure 5 , Figure 5 The flow chart of another RAID volume assembly method provided by the embodiment of this application is different from the first embodiment. This embodiment adds erasure code technology through S203 and S204, and uses data blocks and checksums at the same time in S205. Blocks are formed at the same time to obtain an erasure RAID volume. The specific implementation steps are as follows:
[0072] S201: Determine the actual size of the complete data to be stored according to the issued new data writing task;
[0073] S202: Calculate the size of each data block according to the actual size and the number of target physical disks to obtain the target size;
[0074] S203: Using erasure code technology to calculate a preset number of check blocks from each data fragment consistent with the number of target physical disks;
[0075] Among them, the erasure correction algorithm is a preset number of check blocks calculated from a...
Embodiment 3
[0081] The following combination Figure 6 , Figure 6 A flowchart for adjusting the size of a RAID volume based on the above-mentioned RAID volume grouping method provided by the embodiment of the present application. The technology provided by this embodiment can be based on any of the above-mentioned embodiments, and the specific steps are as follows:
[0082] S301: When the storage space of the target RAID volume is adjusted, calculate the total space adjustment size according to the received adjustment instruction;
[0083] For easy understanding, for example, a RAID volume needs to be adjusted from the original 30GB to 20GB. According to the calculation formula: 30GB-20GB=10GB, the calculated total space adjustment size is 10GB.
[0084] S302: Calculate and obtain the data block resize according to the total space resize and the quantity of each target physical disk;
[0085] Assuming that the number of target physical disks constituting the RAID volume is 2, according...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com