Write operation method of virtual machine block equipment and snapshot creation method and device
A technology for writing operations and devices, applied in the computer field
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0129] Such as Figure 4 As shown, a method for writing a virtual machine block device may include:
[0130] Step 401, when receiving the indication information from the first service node indicating that a new snapshot has been created for the first sub-block, suspend the write operation for the first sub-block;
[0131] Step 402, query the second service node whether the new snapshot of the second sub-block has been created, so as to determine whether the snapshot of the current virtual machine block device has been created;
[0132] Step 403, when it is determined that the snapshot of the current virtual machine block device is created, resume the write operation for the first sub-block;
[0133] Wherein, the virtual machine block device may include at least two sub-blocks; the second sub-block is a preset snapshot synchronization point, the first sub-block is a non-snapshot synchronization point in the virtual machine block device and Any subblock that is being written. ...
Embodiment 2
[0174] Such as Figure 8 As shown, a method for creating a snapshot of a virtual machine block device, including:
[0175] Step 801, receiving a snapshot creation request for the block device of the current virtual machine from the control client;
[0176] Step 802: Initiate a request to create sub-block snapshots to the service nodes of all sub-blocks except the second sub-block of the current virtual machine block device, so that the service nodes of all sub-blocks except the second sub-block are corresponding sub-blocks Create a new snapshot;
[0177] Step 803: After confirming that the new snapshots of all sub-blocks except the second sub-block are successfully created, send a request to the second service node to create a sub-block snapshot, so that the second service node can create a snapshot for the second sub-block. said new snapshot;
[0178] Wherein, the second sub-block is a preset snapshot synchronization point, and the first sub-block is any sub-block in the v...
Embodiment 3
[0246] Such as Figure 12 As shown, a method for creating a snapshot of a virtual machine block device, including:
[0247] Step 1201: Create a new snapshot for the first sub-block of the virtual machine device according to the request for creating a sub-block snapshot initiated by the master node, and update the snapshot version information of the first sub-block;
[0248] Step 1202, providing indication information indicating that a new snapshot has been created for the first sub-block to the read-write client, so that the client suspends the write operation on the first sub-block;
[0249] Wherein, the virtual machine block device may include at least two sub-blocks; the second sub-block is a preset snapshot synchronization point, the first sub-block is a non-snapshot synchronization point in the virtual machine block device and Any subblock that is being written.
[0250] In this embodiment, the providing the read-write client with indication information indicating that ...
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