Storage pool management method and device, storage system, computer equipment and medium

By evaluating the over-ratio threshold conditions of the storage pool and the execution of management instructions, the problem that traditional storage pool management methods are difficult to adapt to changing loads is solved, and the stability and resource utilization efficiency of the storage system are improved.

CN119088298AActive Publication Date: 2024-12-06INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411177192.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-06
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

The traditional storage pool management method is based on static configuration, which is difficult to adapt to changing workload requirements, resulting in performance bottlenecks in high loads and resource waste in low loads, affecting the stability of the storage system.

Method used

Provide a storage pool management method. By obtaining management instructions, it evaluates whether the storage pool meets the over-proportion threshold conditions after execution, including the proportional relationship between virtual configuration capacity and physical capacity. If it meets, the management instructions will be executed, otherwise an exception prompt message will be generated. Prevent overload.

Benefits of technology

By pre-evaluating the over-allocation function of the storage pool, the overload occurs after the execution of management instructions is reduced, and the stability and resource utilization efficiency of the storage system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088298A_ABST
    Figure CN119088298A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of storage devices, in particular to a storage pool management method and device, a storage system, computer equipment and a medium. The storage pool management method comprises the steps of obtaining a management instruction of a storage pool; wherein the management instruction is used for adjusting an existing storage volume in a storage pool or creating a new storage volume; evaluating whether the storage pool meets an over-matching threshold condition or not after the management instruction is executed; wherein the over-matching threshold condition comprises a proportional relation between the virtual configuration capacity and the physical capacity of the allowed storage pool and / or storage volume; in response to determining that the overproportioning threshold condition is met, the management instruction is executed. By adopting the method, the hyper-allocation function of the storage pool can be constrained in advance, so that the stability of the storage system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of storage devices, and in particular to a storage pool management method, a storage pool management device, a storage system, a computer device, and a computer-readable storage medium. Background Art

[0002] As the requirements for storage system performance and scalability gradually increase, traditional storage pool management methods are often based on static configurations, which are relatively difficult to adapt to changing workload requirements. For example, under high load conditions, it may easily lead to storage performance bottlenecks; during low load periods, resources may also be wasted. Summary of the invention

[0003] Based on this, it is necessary to provide a storage pool management method, a storage pool management device, a storage system, a computer device and a computer-readable storage medium to address the above technical problems, which can pre-constrain the over-allocation function of the storage pool to improve the stability of the storage system.

[0004] On the one hand, a storage pool management method is provided, the storage pool management method comprising: obtaining management instructions for the storage pool; wherein the management instructions are used to adjust existing storage volumes in the storage pool or create new storage volumes; evaluating whether the storage pool meets an over-provisioning threshold condition after executing the management instructions; wherein the over-provisioning threshold condition includes allowing a proportional relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume; and executing the management instruction in response to determining that the over-provisioning threshold condition is met.

[0005] In one embodiment of the present application, evaluating whether the storage pool meets the over-provisioning threshold condition after executing the management instruction includes: obtaining the current configuration capacity of the storage pool; obtaining the management capacity; wherein the management capacity represents the capacity for changes indicated by the management instruction; superimposing the current configuration capacity and the management capacity to obtain the evaluated configuration capacity; and evaluating whether the over-provisioning threshold condition is met based on both the evaluated configuration capacity and the physical capacity of the storage pool.

[0006] In one embodiment of the present application, the instruction categories of management instructions include at least one of an instruction to create a storage volume, an instruction to modify storage pool attributes, an instruction to create an active-active volume, an instruction to add a storage volume copy to form a mirror volume, an instruction to add a storage volume copy to an existing storage volume in an active-active system, an instruction to create an image type storage volume, an instruction to expand the capacity of an existing storage volume, and an instruction to migrate a storage volume within a storage pool; obtaining the current configured capacity of the storage pool includes: obtaining the sum of the used capacities of the storage volumes whose target pool is the storage pool in the current storage migration task as the first capacity of the storage pool; wherein the used capacity is the larger of the virtual configured capacity and the physical configured capacity of the storage volume; obtaining the sum of the used capacities of the storage volumes currently existing in the storage pool as the first capacity of the storage pool; wherein the used capacity is the larger of the virtual configured capacity and the physical configured capacity of the storage volume; obtaining the sum of the used capacities of the storage volumes currently existing in the storage pool as the first capacity of the storage pool; wherein the used capacity is the maximum value of the virtual configured capacity and the physical configured capacity of the storage volume ... the second capacity; superimposing the first capacity and the second capacity of the storage pool as the current configuration capacity; obtaining the management capacity includes: identifying the instruction category of the management instruction; based on the instruction category, calculating the capacity change of the storage pool when the management instruction is executed as the management capacity; based on the evaluation configuration capacity and the physical capacity of the storage pool, evaluating whether the over-provisioning threshold condition is met includes: obtaining the product of the physical capacity of the storage pool and the over-provisioning threshold, reducing the product by a preset multiple to obtain the capacity threshold; wherein the over-provisioning threshold is obtained by magnifying the ratio of the virtual configuration capacity of the storage pool to its physical capacity by a preset multiple; comparing the evaluation configuration capacity with the capacity threshold; in response to the evaluation configuration capacity not exceeding the capacity threshold, allowing a determination that the over-provisioning threshold condition is met.

[0007] In one embodiment of the present application, after evaluating whether the storage pool meets the over-allocation threshold condition after executing the management instruction, it also includes: in response to determining that the over-allocation threshold is exceeded after executing the management instruction, determining that execution of the management instruction is not allowed; generating an exception prompt message to feedback information that if the management instruction is executed, the over-allocation threshold is exceeded and the management instruction is not executed.

[0008] In one embodiment of the present application, before evaluating whether the storage pool meets the over-allocation threshold condition after executing the management instruction, it also includes: identifying the status of the over-allocation restriction function of the storage pool; in response to the storage pool enabling the over-allocation restriction function, determining whether the over-allocation threshold condition needs to be evaluated; in response to the storage pool not enabling the over-allocation restriction function, determining to execute the management instruction.

[0009] In one embodiment of the present application, the storage pool management method also includes: obtaining over-allocation information of the storage pool; wherein the over-allocation information includes at least one of an over-allocation ratio threshold, a current over-allocation ratio value, and a status of an over-allocation function; storing the over-allocation information in a storage module, allowing the storage module to read the over-allocation information and feed it back to a display device, so as to display the over-allocation information on the display device.

[0010] On the other hand, a storage pool management device is provided, which includes: a storage module and a management module; the storage module is used to store the over-provisioning threshold; the management module is connected to the storage module, and is used to implement the steps of the storage pool management method in any of the above embodiments.

[0011] In another aspect, a storage system is provided, the storage system comprising a storage pool and a storage pool management device; the storage pool comprises a plurality of disks; the storage pool management device as in the above embodiment is connected to the storage pool.

[0012] On the other hand, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: obtaining management instructions for a storage pool; wherein the management instructions are used to adjust an existing storage volume in the storage pool or to create a new storage volume; evaluating whether the storage pool meets an over-provisioning threshold condition after executing the management instructions; wherein the over-provisioning threshold condition includes a ratio relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume allowed; and executing the management instruction in response to determining that the over-provisioning threshold condition is met.

[0013] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: obtaining management instructions for a storage pool; wherein the management instructions are used to adjust an existing storage volume in the storage pool or create a new storage volume; evaluating whether the storage pool meets an over-provisioning threshold condition after executing the management instructions; wherein the over-provisioning threshold condition includes allowing a proportional relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume; and executing the management instruction in response to determining that the over-provisioning threshold condition is met.

[0014] The above-mentioned storage pool management method, storage pool management device, storage system, computer equipment and computer-readable storage medium, when responding to management instructions to manage storage volumes in the storage pool, can pre-evaluate the storage space situation of the storage pool after the execution of the management instruction, determine whether the storage pool meets the over-allocation ratio threshold condition after the execution of the management instruction, and consider the virtual configuration capacity and physical capacity of the storage pool and / or storage space after the execution of the management instruction. In this way, by pre-evaluating the situation after the storage pool executes the management instruction, a decision is made on whether to execute the management instruction, that is, the over-allocation function of the storage pool can be pre-constrained to reduce the overload situation after the storage pool executes the management instruction, thereby improving the stability of the storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a structural diagram of an embodiment of a storage system of the present application;

[0016] Figure 2It is a structural diagram of an embodiment of a storage pool management device of the present application;

[0017] Figure 3 It is a flowchart of an embodiment of the storage pool management method of the present application;

[0018] Figure 4 It is a flowchart of another embodiment of the storage pool management method of the present application;

[0019] Figure 5 It is a flowchart of another embodiment of the storage pool management method of the present application;

[0020] Figure 6 This is a flowchart of an embodiment of the present application executing a storage volume creation instruction;

[0021] Figure 7 This is a flowchart of an embodiment of the present application for executing an instruction to modify storage pool attributes;

[0022] Figure 8 It is a structural diagram of an embodiment of a computer device of the present application. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0024] In order to solve the technical problem that the poor stability of the storage system in the related art easily leads to business downtime, the present application provides a storage pool management method, a storage pool management device, a storage system, a computer device and a computer-readable storage medium. The storage pool management method includes obtaining a management instruction of the storage pool; wherein the management instruction is used to adjust the existing storage volume in the storage pool or create a new storage volume; evaluating whether the storage pool meets the over-provisioning threshold condition after executing the management instruction; wherein the over-provisioning threshold condition includes the ratio between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume; in response to determining that the over-provisioning threshold condition is met, executing the management instruction. The specific architecture and detailed working principle of the present application are explained below with examples.

[0025] See also Figure 1 , Figure 1 It is a schematic diagram of the structure of an embodiment of the storage system of the present application. It should be noted that the storage system of the present application can be applied to servers, data centers, etc., which is not limited here.

[0026] In one embodiment, the storage system includes a storage pool 11 and a storage pool management device 12 .

[0027] The storage pool 11 includes several disks and can be used to store replicas, volume shadow copies, and transmission logs.

[0028] The storage pool management device 12 is connected to the storage pool 11. As the name implies, the storage pool management device 12 can manage the storage pool 11.

[0029] Among them, in this embodiment, the storage pool 11 can support the over-allocation function. That is, storage volumes such as LUN (Logical Unit Number) and Thin LUN (thin LUN) can be divided in the storage pool 11. When creating a storage volume in the storage pool 11 and allocating storage capacity to the storage volume, two types of storage capacity, real capacity and virtual capacity, can be allocated. The real capacity refers to the initial physical space size actually allocated to the storage volume by the storage system, that is, the physical capacity allocated to the storage volume; the virtual capacity refers to the virtual capacity space pre-allocated to the storage volume by the storage system, that is, the virtual configuration capacity, not the storage space size actually owned by the storage volume. The virtual configuration capacity allocated to the storage volume can be larger than the physical capacity allocated to the storage volume, so that the allocated storage capacity can be adaptively adjusted dynamically according to the actual storage space occupancy, that is, the storage resources can be dynamically allocated according to the actual use capacity of the host, and there is no need to pre-allocate storage space in advance for the amount of data that may or may not be reached in the future, which is conducive to meeting different workload requirements, and thus can improve the overall performance of the storage system and resource utilization efficiency. Furthermore, in this embodiment, the stability and reliability of the storage pool 11 can be improved through the storage pool management device 12, thereby improving the stability and reliability of the storage system while improving the resource utilization efficiency of the storage system.

[0030] The specific structure and detailed working principle of the storage pool management device are described below with examples.

[0031] See also Figure 2 , Figure 2 It is a structural diagram of an embodiment of a storage pool management device of the present application.

[0032] In one embodiment, the storage pool management device includes a storage module 21 and a management module 22 .

[0033] The storage module 21 is used to store the over-proportionation threshold value.

[0034] The management module 22 is connected to the storage module 21 and is used to implement the storage pool management method. That is, the management module 22 can obtain the management instruction of the storage pool; wherein the management instruction is used to adjust the existing storage volume in the storage pool or create a new storage volume; evaluate whether the storage pool meets the over-provisioning threshold condition after executing the management instruction; wherein the over-provisioning threshold represents the ratio relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume; in response to determining that the over-provisioning threshold condition is met, execute the management instruction.

[0035] It can be seen that in this embodiment, when responding to a management instruction to manage the storage volumes in the storage pool, the storage space situation of the storage pool after the execution of the management instruction can be evaluated in advance, and it can be determined whether the storage pool meets the over-allocation ratio threshold condition after the execution of the management instruction, and the virtual configuration capacity and physical capacity of the storage pool and / or storage space after the execution of the management instruction can be considered. In this way, by pre-evaluating the situation of the storage pool after the execution of the management instruction, a decision can be made on whether to execute the management instruction, that is, the over-allocation function of the storage pool can be constrained in advance to reduce the overload situation after the storage pool executes the management instruction, thereby improving the stability of the storage system.

[0036] For the specific definition of the storage pool management device, please refer to the definition of the storage pool management method below, which will not be repeated here. Each module in the above storage pool management device can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0037] See also Figure 3 , Figure 3 It is a flowchart of an embodiment of the storage pool management method of the present application.

[0038] S101: Acquire a management instruction of a storage pool; wherein the management instruction is used to adjust an existing storage volume in the storage pool or to create a new storage volume.

[0039] In this embodiment, the management instructions of the storage pool can be obtained through interactive modules such as GUI (Graphical User Interface) and CLI (command-line interface). Management instructions can also be automatically generated based on the current storage space status and data status of the storage system, which is not limited here.

[0040] S102: Evaluate whether the storage pool meets the over-provisioning threshold condition after executing the management instruction; wherein the over-provisioning threshold condition includes a ratio relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume.

[0041] In this embodiment, whether the storage pool can still meet the over-provisioning ratio threshold condition after executing the management instruction is evaluated. It should be noted that the management instruction will not be executed at this time, but the result after execution is predicted and calculated in advance before executing the management instruction, and whether the storage pool meets the over-provisioning ratio threshold condition is evaluated based on the prediction / calculation result to provide reference information for whether to execute the management instruction.

[0042] S103: In response to determining that the over-provisioning threshold condition is met, executing the management instruction.

[0043] In this embodiment, in response to determining that the storage pool meets the over-allocation threshold condition after executing the management instruction, it can be considered that the risk of insufficient storage space in the storage pool or even affecting its operation after executing the management instruction is relatively small, so the management instruction can be executed to respond to the management instruction, and the storage pool can be changed and adjusted according to the management instruction.

[0044] It can be seen that in this embodiment, the storage space situation of the storage pool after the execution of the management instruction can be evaluated in advance, and it can be determined whether the storage pool meets the over-allocation ratio threshold condition after the execution of the management instruction, and the virtual configuration capacity and physical capacity of the storage pool and / or storage room after the execution of the management instruction are considered. The situation of the storage pool after the execution of the management instruction is used as a reference to make a decision on whether to execute the management instruction, that is, the over-allocation function of the storage pool can be constrained in advance to reduce the overload situation after the storage pool executes the management instruction, thereby improving the stability of the storage system. In addition, in this embodiment, it can take into account the situation that the storage pool content may change after the management instruction is executed and before the next management instruction arrives, so the reliability of the decision can be further improved through timely pre-evaluation. Please refer to Figure 4 , Figure 4 It is a flowchart of another embodiment of the storage pool management method of the present application.

[0045] S201: Obtain storage pool management instructions.

[0046] In this embodiment, as described in step S101 in the above embodiment, the management instruction is used to adjust the existing storage volume in the storage pool or create a new storage volume, which will not be described in detail here.

[0047] S202: Identify the status of the over-allocation limit function of the storage pool.

[0048] In this embodiment, when it is identified that the storage pool enables the over-allocation restriction function, that is, the state is enabled, step S203 can be executed. When it is identified that the storage pool does not enable the over-allocation restriction function, it can be considered that the over-allocation function of the storage pool is not restricted, so step S207 can be executed; or it can be considered that the storage pool is not allowed to implement the over-allocation function (not shown), and the execution of the over-allocation function related instructions is not allowed, which is not limited here.

[0049] In layman's terms, you can set a virtual and / or physical over-allocation limit function switch for the storage pool to control whether the over-allocation limit function of the storage pool is enabled. In this way, it is convenient to switch the state of the over-allocation limit function of the storage pool based on actual application conditions, and it is also possible to adaptively control whether the storage pool enables the over-allocation limit function, which can enrich the storage pool management dimension and help enrich the application scenarios of the storage pool.

[0050] S203: Obtain the current configuration capacity of the storage pool.

[0051] In this embodiment, in response to the over-allocation restriction function being enabled in the storage pool, it is determined whether the over-allocation ratio threshold condition needs to be evaluated, so the current configuration capacity of the storage pool can be obtained to evaluate whether the storage pool is suitable for executing management instructions based on the current configuration capacity. Compared with the method of evaluating based on the currently used capacity of the storage pool, in this embodiment, the virtual configuration capacity that has been allocated to the storage volume but is not used can be considered together to reduce the risk of data overload in the storage pool when the currently unused virtual configuration capacity is used to store data subsequently, that is, the space that may be occupied is evaluated in advance, which is conducive to ensuring the stability of the storage pool operation, thereby improving the reliability of the storage system.

[0052] That is, a storage pool may have three capacity indicators, namely, physical capacity, current configuration capacity, and virtual configuration capacity.

[0053] As the name implies, the physical capacity of a storage pool is the size of the actual storage space of the storage pool; the virtual configuration capacity of a storage pool is the sum of the virtual configuration capacities currently configured to each storage volume.

[0054] Optionally, the current configuration capacity of the storage pool may be consistent with the virtual configuration capacity of the storage pool; alternatively, the current configuration capacity of the storage pool may be associated with the virtual configuration capacity of the storage pool, that is, the current configuration capacity of the storage pool may be calculated based on a preset calculation method, which may be a fusion of the virtual configuration capacity of the storage pool and the capacity currently actually used.

[0055] In this embodiment, considering that the physical capacity actually occupied by the storage volume may exceed the virtual configuration capacity pre-configured therein, the larger of the virtual configuration capacity and the physical configuration capacity of the storage volume may be used for calculation when calculating the current configuration capacity of the storage pool. In other words, the larger of the virtual configuration capacity and the physical configuration capacity of the storage volume may be used as the used capacity, and the current configuration capacity of the storage pool may be calculated using the used capacity, so as to further improve the reliability of the calculated current configuration capacity of the storage pool.

[0056] Furthermore, in this embodiment, when calculating the current configuration capacity of the storage pool, the migration tasks that may occur in the storage system can be further comprehensively considered, that is, the target pool can be integrated into the current storage pool's storage volume usage capacity within the current configuration capacity to consider possible details within the storage system, thereby helping to improve the credibility of the current configuration capacity of the storage pool, and can improve the richness of information involved in the decision-making of whether to execute management instructions, thereby improving the reliability of determining whether to execute management instructions.

[0057] Specifically, the sum of the used capacities of the storage volumes whose target pool is the storage pool in the current storage migration task can be obtained as the first capacity of the storage pool; wherein the used capacity is the larger of the virtual configuration capacity and the physical configuration capacity of the storage volume. The sum of the used capacities of the storage volumes existing in the current storage pool can also be obtained as the second capacity of the storage pool. In this way, the first capacity and the second capacity of the storage pool can be superimposed as the current configuration capacity of the storage pool.

[0058] S204: Acquire management capacity.

[0059] In this embodiment, the management capacity indicates the capacity of the change indicated by the management instruction, which can be considered as the change in the current configuration capacity of the storage pool that may be caused by executing the management instruction. The management capacity can be a positive value, that is, increasing the capacity of the occupied storage pool; or a negative value, that is, releasing the capacity of the storage pool.

[0060] Specifically, the instruction category of the management instruction can be identified; based on the instruction category, the capacity change of the storage pool when the management instruction is executed is calculated as the management capacity.

[0061] For example, the instruction categories of management instructions include at least one of creating a storage pool instruction, creating a storage volume instruction, modifying storage pool attributes instruction, creating an active-active volume instruction, adding a storage volume copy to form a mirror volume instruction, adding a storage volume copy to an existing storage volume in an active-active system instruction, creating an image type storage volume instruction, expanding the capacity of an existing storage volume instruction, and migrating storage volumes within a storage pool.

[0062] S205: Obtaining the estimated configuration capacity based on the current configuration capacity and the management capacity.

[0063] In this embodiment, the current configuration capacity and the management capacity may be superimposed to obtain the estimated configuration capacity. The estimated configuration capacity represents the storage space occupied or likely to be occupied by the storage pool after the storage pool management is performed. If so, whether the over-provisioning ratio threshold condition is met may be evaluated based on the estimated configuration capacity.

[0064] S206: Evaluate whether the over-ratio threshold condition is met.

[0065] In this embodiment, when it is determined that the over-proportioning threshold condition is met, step S207 may be executed; when it is determined that the over-proportioning threshold condition is not met, step S208 may be executed.

[0066] Specifically, whether the over-provisioning ratio threshold condition is met may be evaluated based on both the evaluation configuration capacity and the physical capacity of the storage pool.

[0067] For example, the over-provisioning ratio threshold value may be obtained by multiplying the ratio of the virtual configuration capacity of the storage pool to its physical capacity by a preset multiple. Therefore, the product of the physical capacity of the storage pool and the over-provisioning ratio threshold value may be obtained, and the product may be reduced by a preset multiple to obtain the capacity threshold value.

[0068] The configuration capacity is compared with the capacity threshold. In response to the configuration capacity not exceeding the capacity threshold, it can be considered that the risk of abnormality of the storage pool after executing the management instruction is small, so it is allowed to determine that the over-provisioning ratio threshold condition is met.

[0069] S207: Execute the management instruction.

[0070] In this embodiment, the management instruction may be executed in response to the storage pool not enabling the over-allocation restriction function. And / or, the management instruction may be executed in response to the over-allocation ratio threshold condition being met.

[0071] S208: Execution of the management instruction is not allowed.

[0072] In this embodiment, in response to determining that the over-allocation ratio threshold is exceeded after executing the management instruction, it can be considered that there is a risk of storage pool overload or storage pool overload and abnormality after executing the management instruction, so it is determined that the execution of the management instruction is not allowed, which is beneficial to ensuring the stability of the storage pool operation and thereby improving the reliability of the storage system.

[0073] S209: Generate abnormal prompt information.

[0074] In this embodiment, the information that if the management instruction is executed, the over-allocation ratio threshold is exceeded and the management instruction is not executed is fed back.

[0075] Furthermore, in this embodiment, multiple levels of prompt levels can be preset according to the capacity usage of the storage pool. The prompt level of the storage pool after the current management instruction is executed can be pre-evaluated; and / or, the prompt level of the storage pool can be evaluated after each execution of the management instruction. For example, three levels of prompt levels can be set according to the occupied capacity, namely, low occupied capacity level, medium occupied capacity level and high occupied capacity level, so as to take corresponding preventive measures in time.

[0076] Furthermore, machine learning, time series analysis and other methods can be used to predict the capacity usage trend of the storage pool and predict possible capacity shortages in advance, so as to detect potential capacity shortages in the storage pool in advance and take corresponding preventive measures before reaching the over-allocation threshold / high capacity occupancy level.

[0077] For example, preventive measures may include at least one of active capacity expansion, prompting users to expand capacity, and data deduplication. Taking data deduplication as an example, algorithms such as hash algorithms can be used to quickly compare data in the storage pool and / or to be written into the storage pool, and duplicate data items can be identified by generating unique hash values ​​of the data, thereby achieving efficient data deduplication. Data in the storage pool and / or storage system can also be regularly checked and cleaned for data deduplication, so as to ensure the stability and response efficiency of the storage pool and storage system.

[0078] See also Figure 5 , Figure 5 It is a flowchart of another embodiment of the storage pool management method of the present application.

[0079] In one embodiment, as described above, the instruction categories of management instructions include at least one of an instruction to create a storage pool, an instruction to create a storage volume, an instruction to modify storage pool attributes, an instruction to create an active-active volume, an instruction to add a storage volume copy to form a mirror volume, an instruction to add a storage volume copy to an existing storage volume in an active-active system, an instruction to create an image type storage volume, an instruction to expand the capacity of an existing storage volume, and an instruction to migrate a storage volume within a storage pool.

[0080] Among them, the instruction to create a storage pool can be triggered by a custom command line such as the mkmdiskgrp command line or a standard command line; the instruction to modify the storage pool attributes can be triggered by a custom command line such as the chmdiskgrpp command line or a standard command line; the instruction to create a storage volume can be triggered by a custom command line such as the mkvdisk command line or a standard command line; the instruction to create a dual-active volume can be triggered by a custom command line such as the mkvolume command line or a standard command line; the instruction to add a storage volume copy to form a mirror volume can be triggered by a custom command line such as the addvdiskcopy command line or a standard command line; the instruction to add a storage volume copy to an existing storage volume in a dual-active system can be triggered by a custom command line such as the addvolumecopy command line or a standard command line; the instruction to create an image type storage volume can be triggered by a custom command line such as the mkimagevolume command line or a standard command line; the instruction to expand the capacity of an existing storage volume can be triggered by a custom command line such as the expandvdisksize command line or a standard command line; the instruction to migrate a storage volume within a storage pool can be triggered by a custom command line such as the migratevdisk command line or a standard command line.

[0081] Furthermore, in this embodiment, the over-allocation information of the storage pool is obtained; wherein the over-allocation information includes at least one of the over-allocation ratio threshold, the current over-allocation ratio value, and the state of the over-allocation function. If so, the over-allocation information can be stored in a storage module, and the storage module reads the over-allocation information and feeds it back to a display device, so that the over-allocation information is displayed on the display device.

[0082] In layman's terms, the GUI, CLI and other display devices can trigger the lsmdiskgrp command (display over-allocation information command), so that the pool over-allocation ratio switch status and over-allocation ratio threshold saved by VirCsmPoolLogic can be read in the VG module. Among them, the VG module is the module responsible for managing the storage pool in the storage system; VirCsmPoolLogic is a structure / storage unit that saves the storage pool over-allocation ratio switch status and over-allocation ratio threshold.

[0083] The read pool over-allocation ratio switch status and over-allocation ratio value can be updated to TVgPoolQueryInfo for storage and used by the IC module to read and display externally on the GUI or CLI interface. Among them, TVgPoolQueryInfo is used to store the structure / storage unit of over-allocation information; the IC module can be a command line module in the storage system, which is used to store and / or manage the instruction line of the storage pool management instruction.

[0084] For example, if the over-allocation limit function of the storage pool is not set or enabled, the allocation switch field may be displayed as "off" and the over-allocation ratio value field may be displayed as "0".

[0085] In the validate (validity detection) stage or the prepare (preparation) stage, the over-provisioning ratio threshold and the current configuration capacity of the storage pool stored in the VG module can be obtained to determine the over-provisioning ratio of the virtualSize (i.e., virtual configuration capacity) of the storage volume. If the virtualSize of the storage volume exceeds the over-provisioning ratio threshold, an error code prompt message is generated and the operation is determined to have failed.

[0086] The following is a detailed description of how the current configuration capacity of the storage pool is calculated when executing the management instructions of the above instruction categories:

[0087] When executing the mkvdisk command to create a storage volume, the over-provisioning ratio of the storage volume is determined in the validate phase. The used capacity of the storage pool where the storage volume is located can be obtained. The used capacity of the storage pool = the sum of the max(realSize, virtualSize) of the storage volumes whose target storage pool is the storage pool in the migration task of the storage pool where the storage volume is located + the sum of the max(realSize, virtualSize) of each storage volume in the storage pool where the storage volume is located + the virtualSize of the new storage volume. Among them, realSize represents the actual physical configuration capacity of the storage volume. The virtualSize capacity of the newly configured storage volume is compared with the over-provisioning ratio capacity of the storage pool where the storage volume is located, that is, (the virtualSize capacity of the newly configured storage volume + the used capacity of the storage pool) is compared with (the physical capacity of the storage pool * the over-provisioning ratio threshold / 100). If the result exceeds the over-provisioning ratio capacity of the storage pool, the creation fails and an error code is returned; otherwise, the storage volume is successfully created.

[0088] When executing the mkvolume command to create a storage active-active storage volume, the over-provisioning ratio of the storage volume is determined in the validate phase. The used capacity of the storage pool where the storage volume is located is obtained. The used capacity of the storage pool = the sum of the max(realSize, virtualSize) of the storage volumes whose target storage pool is the storage pool in the migration task of the storage pool where the storage volume is located + the sum of the max(realSize, virtualSize) of each storage volume in the storage pool where the storage volume is located + the total virtualSize of all new storage volumes on the storage pool. The used capacity is compared with the over-provisioning ratio of the storage pool where the new storage volume is located, that is, (the total virtualSize capacity of the newly configured storage volumes on the same storage pool + the used capacity of the storage pool) and (the physical capacity of the storage pool * the over-provisioning ratio threshold / 100). If the result exceeds the over-provisioning ratio of the storage pool, the mkvolume command fails to execute and an error code is returned. Otherwise, the command is executed successfully.

[0089] When executing the addvdiskcopy command, in the validate phase, the over-provisioning ratio of the storage volume is determined; the used capacity of the storage pool where the storage volume is located is obtained, and the used capacity of the storage pool = the sum of the max(realSize, virtualSize) of the storage volumes whose target storage pool is the storage pool in the migration task of the storage pool where the new storage volume is located + the sum of the max(realSize, virtualSize) of each storage volume in the storage pool where the new storage volume is located + the virtualSize of the new storage volume; and the over-provisioning ratio of the storage pool where the new storage volume is located is compared, that is, (the virtualSize capacity of the newly configured storage volume + the used capacity of the storage pool) is compared with (the physical capacity of the storage pool * the over-provisioning ratio threshold / 100); if the result exceeds the over-provisioning ratio of the storage pool, the addvdiskcopy command fails to execute and an error code is returned; otherwise, the command is executed successfully.

[0090] When the addvolumecopy command is executed, the over-provisioning ratio of the storage volume is determined in the validate phase. The used capacity of the storage pool where the storage volume is located is obtained. The used capacity of the storage pool = the sum of the max(realSize, virtualSize) of the storage volumes whose target storage pool is the storage pool in the migration task of the storage pool where the new storage volume is located + the sum of the max(realSize, virtualSize) of each storage volume in the storage pool where the new storage volume is located + the virtualSize of the new storage volume. The used capacity is compared with the over-provisioning ratio of the storage pool where the storage volume is located, that is, (the virtualSize capacity of the newly configured storage volume + the used capacity of the storage pool) is compared with (the physical capacity of the storage pool * the over-provisioning ratio threshold / 100). If the result exceeds the over-provisioning ratio of the storage pool, the addvolumecopy command fails to execute and an error code is returned. Otherwise, the command is executed successfully.

[0091] When executing the expandvdisksize command, in the prepare phase, only the over-provisioning ratio of the expansion operation of the storage volume is judged; the used capacity of the storage pool where the storage volume is located is obtained, and the used capacity of the storage pool = the sum of the max(realSize, virtualSize) of the storage volumes whose target storage pool is the storage pool in the migration task of the storage pool where the storage volume is located + the sum of the max(realSize, virtualSize) of each storage volume in the storage pool where the storage volume is located + the capacity to be expanded of the storage volume; and compared with the over-provisioning ratio capacity of the storage pool where the storage volume is located, that is, (storage volume expansion capacity + storage pool used capacity) and (storage pool physical capacity * over-provisioning ratio threshold / 100); if the result exceeds the over-provisioning ratio capacity of the storage pool, the expansion fails and an error code is returned; otherwise, the expansion succeeds.

[0092] When executing the migratevdisk command, in the prepare phase, the over-provisioning ratio of the storage volume is determined. The used capacity of the storage pool where the storage volume is located is obtained. The used capacity of the storage pool = the sum of the max(realSize, virtualSize) of the storage volumes whose target storage pool is the storage pool in the migration task of the storage pool where the storage volume is located + the sum of the max(realSize, virtualSize) of each storage volume in the storage pool where the storage volume is located + the virtualSize of the storage volume. The used capacity is compared with the over-provisioning ratio capacity of the target storage pool to be migrated, that is, (storage volume capacity + used capacity of the storage pool) is compared with (physical capacity of the storage pool * over-provisioning ratio threshold / 100). If the result exceeds the over-provisioning ratio capacity of the storage pool, the migration fails and an error code is returned. Otherwise, the expansion is successful.

[0093] See also Figure 6 , Figure 6It is a flowchart of an embodiment of the present application executing a storage volume creation instruction.

[0094] S301: Obtain an instruction to create a storage pool.

[0095] S302: Acquire parameter data of the command line in the storage module through a preset interface.

[0096] S303: Save the status switch of the storage pool over-provisioning ratio limiting function and the over-provisioning ratio threshold to a preset storage unit of the management module.

[0097] See also Figure 7 , Figure 7 It is a flowchart of an embodiment of the present application for executing an instruction to modify storage pool attributes.

[0098] S401: Obtaining a storage pool attribute modification instruction.

[0099] S402: Acquire parameter data of the command line in the storage module through a preset interface.

[0100] S403: Save the status switch of the storage pool over-provisioning ratio limiting function and the over-provisioning ratio threshold to a preset storage unit of the management module.

[0101] In this embodiment, when modifying the over-allocation information of the storage pool, a parameter check may be performed without performing a capacity check.

[0102] In summary, the present application can support flexible allocation of storage pool capacity. By enabling the over-allocation limit function of the storage pool and presetting the over-allocation ratio threshold, it is determined whether management instructions such as creating new volumes, expanding volumes, and migrating volumes can be implemented within the storage pool capacity, so as to achieve a pre-restricted total capacity that does not exceed a certain ratio of the storage pool capacity. In this way, the present application can effectively reduce the risk of the storage pool being full due to the occupation of large amounts of business data, thereby reducing the occurrence of serious situations such as business downtime due to full storage pools.

[0103] It should be understood that although Figure 3-Figure 7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 3-Figure 7 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0104] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the storage pool management method described above are implemented, which will not be described in detail here.

[0105] See also Figure 8 , Figure 8 It is a structural diagram of an embodiment of a computer device of the present application.

[0106] In one embodiment, the computer device may be a server, and its internal structure diagram may be as follows: Figure 8 The server can be an independent server or a server cluster consisting of multiple servers.

[0107] The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a storage pool management method is implemented.

[0108] Those skilled in the art will understand that Figure 8 The structure shown as an example is merely a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device to which the present application solution is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0109] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0110] S101: Acquire a management instruction of a storage pool; wherein the management instruction is used to adjust an existing storage volume in the storage pool or to create a new storage volume.

[0111] S102: Evaluate whether the storage pool meets the over-provisioning threshold condition after executing the management instruction; wherein the over-provisioning threshold condition includes a ratio relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume.

[0112] S103: In response to determining that the over-provisioning threshold condition is met, executing the management instruction.

[0113] In one embodiment, when evaluating whether the storage pool meets the over-provisioning threshold condition after executing the management instruction in step S102, the processor further implements the following steps when executing the computer program: obtaining the current configuration capacity of the storage pool; obtaining the management capacity; wherein the management capacity represents the capacity for changes indicated by the management instruction; superimposing the current configuration capacity and the management capacity to obtain the evaluated configuration capacity; and evaluating whether the over-provisioning threshold condition is met based on both the evaluated configuration capacity and the physical capacity of the storage pool.

[0114] In one embodiment, the instruction category of the management instruction includes at least one of an instruction to create a storage volume, an instruction to modify storage pool attributes, an instruction to create a dual-active volume, an instruction to add a storage volume copy to form a mirror volume, an instruction to add a storage volume copy to an existing storage volume in a dual-active system, an instruction to create an image type storage volume, an instruction to expand the capacity of an existing storage volume, and an instruction to migrate a storage volume in a storage pool;

[0115] When obtaining the current configuration capacity of the storage pool, the processor also implements the following steps when executing the computer program: obtaining the sum of the used capacities of the storage volumes whose target pool is the storage pool in the current storage migration task as the first capacity of the storage pool; wherein the used capacity is the larger of the virtual configuration capacity and the physical configuration capacity of the storage volume; obtaining the sum of the used capacities of the storage volumes existing in the current storage pool as the second capacity of the storage pool; and superimposing the first capacity and the second capacity of the storage pool as the current configuration capacity.

[0116] When acquiring the management capacity, the processor also implements the following steps when executing the computer program: identifying the instruction category of the management instruction; based on the instruction category, calculating the capacity change of the storage pool when executing the management instruction as the management capacity.

[0117] When evaluating whether the over-provisioning ratio threshold condition is met based on the evaluated configuration capacity and the physical capacity of the storage pool, the processor also implements the following steps when executing the computer program: obtaining the product of the physical capacity of the storage pool and the over-provisioning ratio threshold, reducing the product by a preset multiple to obtain a capacity threshold; wherein the over-provisioning ratio threshold is obtained by amplifying the ratio of the virtual configuration capacity of the storage pool to its physical capacity by a preset multiple; comparing the evaluated configuration capacity with the capacity threshold; in response to the evaluated configuration capacity not exceeding the capacity threshold, allowing a determination that the over-provisioning ratio threshold condition is met.

[0118] In one embodiment, after evaluating whether the storage pool meets the over-allocation threshold condition after executing the management instruction in step S102, the processor further implements the following steps when executing the computer program: in response to determining that the over-allocation threshold is exceeded after executing the management instruction, determining that execution of the management instruction is not allowed, that is, step S103 is not executed; and generating abnormal prompt information to feedback information that if the management instruction is executed, the over-allocation threshold is exceeded and the management instruction is not executed.

[0119] In one embodiment, before evaluating the over-allocation ratio value after executing the management instruction in step S102, the processor further implements the following steps when executing the computer program: identifying the status of the over-allocation limit function of the storage pool; in response to the storage pool enabling the over-allocation limit function, determining whether the over-allocation ratio threshold condition needs to be evaluated; in response to the storage pool not enabling the over-allocation limit function, determining to execute the management instruction.

[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining over-allocation information of the storage pool; wherein the over-allocation information includes at least one of an over-allocation ratio threshold, a current over-allocation ratio value, and a state of the over-allocation function; storing the over-allocation information in a storage module, allowing the storage module to read the over-allocation information and feed it back to a display device, so as to display the over-allocation information on the display device.

[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0122] S101: Acquire a management instruction of a storage pool; wherein the management instruction is used to adjust an existing storage volume in the storage pool or to create a new storage volume.

[0123] S102: Evaluate whether the storage pool meets the over-provisioning threshold condition after executing the management instruction; wherein the over-provisioning threshold condition includes a ratio relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or storage volume.

[0124] S103: In response to determining that the over-provisioning threshold condition is met, executing the management instruction.

[0125] In one embodiment, when evaluating whether the storage pool meets the over-provisioning threshold condition after executing the management instruction in step S102, the computer program further implements the following steps when executed by the processor: obtaining the current configuration capacity of the storage pool; obtaining the management capacity; wherein the management capacity represents the capacity for changes indicated by the management instruction; superimposing the current configuration capacity and the management capacity to obtain the evaluated configuration capacity; and evaluating whether the over-provisioning threshold condition is met based on both the evaluated configuration capacity and the physical capacity of the storage pool.

[0126] In one embodiment, the instruction category of the management instruction includes at least one of an instruction to create a storage volume, an instruction to modify storage pool attributes, an instruction to create a dual-active volume, an instruction to add a storage volume copy to form a mirror volume, an instruction to add a storage volume copy to an existing storage volume in a dual-active system, an instruction to create an image type storage volume, an instruction to expand the capacity of an existing storage volume, and an instruction to migrate a storage volume in a storage pool;

[0127] When obtaining the current configuration capacity of the storage pool, the computer program also implements the following steps when executed by the processor: obtaining the sum of the used capacities of the storage volumes whose target pool is the storage pool in the current storage migration task as the first capacity of the storage pool; wherein the used capacity is the larger of the virtual configuration capacity and the physical configuration capacity of the storage volume; obtaining the sum of the used capacities of the storage volumes existing in the current storage pool as the second capacity of the storage pool; and superimposing the first capacity and the second capacity of the storage pool as the current configuration capacity.

[0128] When acquiring the management capacity, the computer program also implements the following steps when executed by the processor: identifying the instruction category of the management instruction; based on the instruction category, calculating the capacity change of the storage pool when executing the management instruction as the management capacity.

[0129] When evaluating whether the over-provisioning ratio threshold condition is met based on both the evaluated configuration capacity and the physical capacity of the storage pool, the computer program also implements the following steps when executed by the processor: obtaining the product of the physical capacity of the storage pool and the over-provisioning ratio threshold, reducing the product by a preset multiple to obtain a capacity threshold; wherein the over-provisioning ratio threshold is obtained by amplifying the ratio of the virtual configuration capacity of the storage pool to its physical capacity by a preset multiple; comparing the evaluated configuration capacity with the capacity threshold; in response to the evaluated configuration capacity not exceeding the capacity threshold, allowing a determination that the over-provisioning ratio threshold condition is met.

[0130] In one embodiment, after evaluating whether the storage pool meets the over-allocation threshold condition after executing the management instruction in step S102, the computer program further implements the following steps when executed by the processor: in response to determining that the over-allocation threshold is exceeded after executing the management instruction, determining that execution of the management instruction is not allowed, that is, step S103 is not executed; and generating abnormal prompt information to feedback information that if the management instruction is executed, the over-allocation threshold is exceeded and the management instruction is not executed.

[0131] In one embodiment, before evaluating the over-allocation ratio value after executing the management instruction in step S102, the computer program also implements the following steps when executed by the processor: identifying the status of the over-allocation limit function of the storage pool; in response to the storage pool enabling the over-allocation limit function, determining whether the over-allocation ratio threshold condition needs to be evaluated; in response to the storage pool not enabling the over-allocation limit function, determining to execute the management instruction.

[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining over-allocation information of the storage pool; wherein the over-allocation information includes at least one of an over-allocation ratio threshold, a current over-allocation ratio value, and a state of the over-allocation function; storing the over-allocation information in a storage module, allowing the storage module to read the over-allocation information and feed it back to a display device, so as to display the over-allocation information on the display device.

[0133] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0134] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0135] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A storage pool management method, It is characterized in that The storage pool management method comprises: Obtaining a management instruction of a storage pool; wherein the management instruction is used to adjust an existing storage volume in the storage pool or to create a new storage volume; Evaluate whether the storage pool meets the over-provisioning ratio threshold condition after executing the management instruction; wherein the over-provisioning ratio threshold condition includes a ratio relationship between the virtual configuration capacity and the physical capacity of the storage pool and / or the storage volume allowed; In response to determining that the over-provisioning threshold condition is met, the management instruction is executed.

2. The storage pool management method according to claim 1, It is characterized in that The evaluating whether the storage pool meets the over-provisioning ratio threshold condition after executing the management instruction includes: Obtaining the current configuration capacity of the storage pool; obtaining the management capacity; wherein the management capacity represents the capacity for changes indicated by the management instruction; Superimposing the current configuration capacity and the management capacity to obtain an estimated configuration capacity; Based on both the assessed configuration capacity and the physical capacity of the storage pool, it is assessed whether the over-provisioning ratio threshold condition is met.

3. The storage pool management method according to claim 2, It is characterized in that The instruction category of the management instruction includes at least one of an instruction to create a storage volume, an instruction to modify storage pool attributes, an instruction to create a dual-active volume, an instruction to add a storage volume copy to form a mirror volume, an instruction to add a storage volume copy to an existing storage volume in a dual-active system, an instruction to create an image type storage volume, an instruction to expand the capacity of an existing storage volume, and an instruction to migrate a storage volume in a storage pool; The obtaining of the current configuration capacity of the storage pool includes: Obtaining the sum of the used capacities of the storage volumes whose target pool is the storage pool in the current storage migration task as the first capacity of the storage pool; wherein the used capacity is the larger of the virtual configuration capacity and the physical configuration capacity of the storage volumes; Acquire the sum of the used capacities of the storage volumes currently existing in the storage pool as the second capacity of the storage pool; superimposing the first capacity and the second capacity of the storage pool as the current configured capacity; The acquiring management capacity comprises: Identifying the instruction category of the management instruction; and based on the instruction category, calculating the capacity change of the storage pool when the management instruction is executed as the management capacity; The evaluating whether the over-provisioning ratio threshold condition is met based on both the evaluated configuration capacity and the physical capacity of the storage pool includes: Obtaining the product of the physical capacity of the storage pool and the over-provisioning ratio threshold, reducing the product by a preset multiple to obtain a capacity threshold; wherein the over-provisioning ratio threshold is obtained by magnifying the ratio of the virtual configuration capacity of the storage pool to its physical capacity by the preset multiple; comparing the assessed configuration capacity with the capacity threshold; In response to the assessed configured capacity not exceeding the capacity threshold, determining that the over-provisioning threshold condition is met is permitted.

4. The storage pool management method according to any one of claims 1 to 3, It is characterized in that After evaluating whether the storage pool meets the over-provisioning ratio threshold condition after executing the management instruction, the step further includes: In response to determining that the over-provisioning ratio threshold is exceeded after the management instruction is executed, determining that the execution of the management instruction is not allowed; Generate abnormal prompt information to feedback that if the management instruction is executed, the over-provisioning ratio threshold is exceeded and the management instruction is not executed.

5. The storage pool management method according to claim 1, It is characterized in that Before evaluating whether the storage pool meets the over-provisioning ratio threshold condition after executing the management instruction, the step further includes: identifying a status of an over-allocation limit function of the storage pool; In response to the storage pool enabling the over-allocation restriction function, determining whether the over-allocation ratio threshold condition needs to be evaluated; In response to the storage pool not enabling the over-allocation restriction function, it is determined to execute the management instruction.

6. The storage pool management method according to claim 1, It is characterized in that The storage pool management method further includes: Acquire over-allocation information of the storage pool; wherein the over-allocation information includes at least one of an over-allocation ratio threshold, a current over-allocation ratio value, and a state of an over-allocation function; The over-allocation information is stored in a storage module, and the storage module is enabled to read the over-allocation information and feed it back to a display device, so that the over-allocation information is displayed on the display device.

7. A storage pool management device, It is characterized in that The storage pool management device comprises: A storage module, used for storing the over-provisioning ratio threshold; A management module, connected to the storage module, is used to implement the steps of the storage pool management method according to any one of claims 1 to 6.

8. A storage system, It is characterized in that The storage system comprises: A storage pool, including several disks; The storage pool management device as claimed in claim 7 is connected to the storage pool.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the storage pool management method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the storage pool management method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Storage architecture creating method, storage access method and storage system

    CN105808157A

  • Virtual storage system

    CN108701002A

  • Storage capacity management method and system and storage medium

    CN113419672A

  • Storage capacity management method and device, equipment and medium

    CN118535095A

  • Management device for storage device

    US20100082900A1

Cited By

  • Cross-heterogeneous resource pool management method and deployment method and device of cloud management system

    CN119728380A