A method, device and system for restoring virtual disk metadata
A technology of virtual disk and metadata, applied in the computer field, can solve the problem of virtual machine not being able to start
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] The embodiment of the present invention provides a method for processing virtual disk metadata, and the method is applied to a server based on an extended storage device. Run at least one virtual machine on the server, and expand the storage device to provide virtual disks for the virtual machine running on the server, such as figure 1 As shown, the method includes:
[0043] 101. A first virtual machine in at least one virtual machine sends a write request to a virtual disk mounted by the first virtual machine.
[0044] 102. The first virtual machine updates the metadata of the virtual disk mounted by the first virtual machine according to the write request.
[0045] 103. The first virtual machine synchronizes the updated metadata to the local disk of the server.
[0046] One or more virtual machines are running on the server. The data read and write of the virtual machine is mapped to the remote extended storage device, that is, the extended storage device provides the virtua...
Embodiment 2
[0049] The embodiment of the present invention provides a method for processing virtual disk metadata. The specific steps are as follows figure 2 As shown, the method is applied to a server based on an extended storage device, the server such as image 3 Shown. The method includes:
[0050] 201. A first virtual machine in at least one virtual machine sends a write request to a virtual disk mounted by the first virtual machine.
[0051] 202. The first virtual machine updates the metadata of the virtual disk mounted by the first virtual machine according to the write request.
[0052] 203. The first virtual machine synchronizes the updated metadata to the local disk of the server.
[0053] One or more virtual machines are running on the server. The data read and write of the virtual machine is mapped to the remote extended storage device, that is, the extended storage device provides the virtual disk for the virtual machine. Specifically, the extended storage device may be a network-...
Embodiment 3
[0068] The embodiment of the present invention provides a server based on an extended storage device, at least one virtual machine runs on the server, and the extended storage device provides a virtual disk for the at least one virtual machine, such as Figure 4 As shown, the server 41 includes a sending unit 411, an updating unit 412, and a synchronization unit 413. The sending unit 411 is configured to send a write request to the first virtual disk; the updating unit 412 is configured to update the metadata of the first virtual disk according to the write request; the synchronization unit 413 is configured to synchronize the updated Metadata to the local disk of the server; wherein, the first virtual disk is a virtual disk mounted by the first virtual machine.
[0069] The server 41 in the embodiment of the present invention further includes a reading unit 414, configured to read the metadata of the first virtual disk from the local disk of the server 41 when the first virtual ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


