A storage pool copy policy adjustment method, device, equipment and medium
An adjustment method and storage pool technology, applied in the direction of instruments, input/output to record carriers, computing, etc., can solve the problems of messy copy strategy, waste of storage space, etc., and achieve the effect of saving storage space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 As shown, the present invention provides a storage pool copy policy adjustment method, including:
[0043] S1, create multiple storage pools, and the number of copies in each storage pool is different in pairs;
[0044] S2, configuring an object copy adjustment policy, the object copy adjustment policy stores the storage time of data in the current storage pool and the storage pool information to be transferred next after the storage time expires; wherein, the number of copies of the target storage pool after transfer Less than the number of copies of the source storage pool before the transfer;
[0045] S3, traversing the stored duration of all copies of the storage object in the current storage pool, judging whether the storage object needs to be adjusted in the copy strategy according to the preset threshold value of the stored duration corresponding to the current storage pool, and adding the adjustment information of the storage object to be adjus...
Embodiment 2
[0066] Such as Figure 4 As shown, the technical solution of the present invention also provides a storage pool copy policy adjustment device, including:
[0067] Creating module 101, creating a plurality of storage pools, the number of copies in each storage pool is different in pairs;
[0068] The configuration module 102 configures an object copy adjustment policy, the object copy adjustment policy stores the storage time of data in the current storage pool and the storage pool information to be transferred next after the storage time expires; wherein, the copy of the target storage pool after transfer The number is less than the number of copies of the source storage pool before transfer;
[0069] The traversal module 103 traverses the stored duration of all copies of the storage objects in the current storage pool, judges whether the storage object needs to be adjusted for the copy strategy according to the preset threshold value of the stored duration corresponding to t...
Embodiment 3
[0081] Such as Figure 5 As shown, the technical solution of the present invention also provides an electronic device, including: a memory 201 for storing a computer program; a processor 202 for implementing a storage pool copy as in Embodiment 1 when executing the computer program Steps of the policy adjustment method.
[0082] The memory 201 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on an electronic device. It can be understood that the memory 201 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Wherein, non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, ErasableProgrammable Read-Only Memory) Memory), Electrically Erasabl...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


