Distributed storage space management method and distributed storage system
A distributed storage and storage space technology, which is applied in the field of disk storage, can solve the problems of complex and cumbersome allocation process, poor scalability and maintainability, and low efficiency of storage space allocation, so as to achieve improved allocation efficiency, easy maintenance and expansion, achieve simple effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Embodiment 1 of the present invention proposes a distributed storage space management method, the method is applied in a distributed storage system, the distributed storage system includes at least one storage space server, when creating a logical volume, the work control of the logical volume The node where the server is located is the second control node, and the node where the working controller of the storage pool corresponding to the logical volume is located is the first control node. For example, figure 2 As shown, its processing flow specifically includes:
[0051] Step 21, the first control node determines the capacity of the storage space indicated by the storage space identification information stored in the first allocation queue; wherein, the storage space identification information stored in the first allocation queue can be acquired by the second control node;
[0052] When there are multiple storage space servers in the distributed storage system, the s...
Embodiment 2
[0070] The second embodiment of the present invention is in figure 2 Based on the shown method, the specific implementation process of the distributed storage space allocation method of the present invention will be described in detail.
[0071] Such as image 3 As shown, it is a schematic structural diagram of a queue provided by Embodiment 2 of the present invention. Wherein, the first allocation queue, the second allocation queue, the first release queue and the second release queue involved in the first embodiment above are all implemented based on the principle of the queue provided in the second embodiment of the present invention.
[0072] refer to image 3 , the first control node in the embodiment of the present invention is the control node responsible for storing the storage space identification information in the queue, so it is called the production end, and the second control node is the control node responsible for obtaining the storage space identification inf...
Embodiment 3
[0079] Taking the allocation process of the storage space as an example, the implementation process of a method for allocating the distributed storage space provided by the embodiment of the present invention in practical application will be introduced in detail below. Such as Figure 6 As shown in FIG. 2 , it is a flow chart of implementing a method for allocating distributed storage space provided by Embodiment 3 of the present invention in practical applications. The Volume Queue is equivalent to the first allocation queue in the embodiment of the present invention, and is used to realize the allocation of storage space across control nodes. Allocation of storage space; the first allocation queue and the second allocation queue in this embodiment are both circular queues.
[0080] The Pool in the embodiment of the present invention is composed of storage spaces contained in multiple storage space servers (storage space servers may be referred to as engines in the embodimen...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


