Cloning method of virtual machine in network file system and network file system

A technology of network file system and cloning method, applied in the field of network file system, can solve the problems of large occupation and slow conversion speed, saving time and reducing disk read and write operations.

Inactive Publication Date: 2017-01-04
HITACHI LTD
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This prior art realizes the conversion of the virtualized image file format, but the conversion process needs to

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cloning method of virtual machine in network file system and network file system
  • Cloning method of virtual machine in network file system and network file system
  • Cloning method of virtual machine in network file system and network file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] Figure 7 It shows the flow of header file conversion in Embodiment 1. First, the file mapper 525 receives a request from the mirror register 524 to generate the file header 1'604, and parses the request to obtain the specified target format block size B or use the default block size B of the target format if not specified, such as 4KB (step 901), and read in the data of the file header 1 603 from the shared file system 521 (step 902). After reading the data in file header 1 603, according to Figure 5 (a) The VHD file header format shown in (a) parses the data (refer to "Microsoft Virtual Hard Disk Image Format specification v1.0", 2006), obtains the block configuration table 703 describing the storage address information of the main body data (step 903), and The dynamic disk header 702 is further parsed to obtain the block size A of the source format (step 904).

[0067] Next, the file mapper 525 compares whether the block size A is greater than or equal to the blo...

Embodiment 2

[0078] Embodiment 1 exemplifies the process of registering support for another format QCOW2 on a file that supports the existing format VHD. The process of registering support for another format VHD on a file supporting the existing format QCOW2 is exemplified below through Embodiment 2. The system hardware and software architecture and sequence diagram in Embodiment 2 are the same as those in Embodiment 1, except that the format of file header 1 603 is Figure 5 The QCOW2 format in (b) and the format of the file header 1'604 is Figure 5 VHD format in (a). Which describes the timing diagram of the generated file header Image 6 In step 808, the flow chart of file mapper 525 calculating and generating new file header 1'604 is as follows Figure 9 shown. First, the file mapper 525 receives a request from the mirror register 524 to generate the file header 1'604, and parses the request to obtain the specified target format block size B or use the default block size B of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a network file system that comprises at least one virtual machine running on at least one host computer. A virtual mirror image file of the virtual machine stored in the network file system is composed of a file head of metadata for describing data characteristics of a mirror image file format and main data. When the first virtual serving as one virtual machine is cloned into a second virtual machine, whether the mirror image file format of the first virtual machine is same as that of the second virtual machine is judged. When the mirror image file format of the second virtual machine is different from that of the first virtual machine, only the file head of the virtual mirror image file of the first virtual machine is converted, and the file head obtained after the conversion and the main data of the virtual mirror image file of the first virtual machine serve as a virtual mirror image file of the second virtual machine.

Description

technical field [0001] The invention relates to a network file system, in particular to a network file system capable of supporting multiple image formats in a heterogeneous virtualization environment and a method for cloning a virtual machine in the network file system. Background technique [0002] As a supporting technology of cloud computing, virtualization has become an important technology in today's information industry with the development of cloud computing. By abstracting computer resources, such as processors, storage, and networks, into logical resources and segmenting and isolating them, software can run on virtual rather than physical hardware. Virtualization technology effectively improves the utilization efficiency of computing resources, enhances system security and reliability, and reduces IT costs. A typical application method is to simulate a virtual computing environment on a host hardware platform (such as X86) and provide it to a client computer. Thi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/14G06F9/455
Inventor 石颖
Owner HITACHI LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products