IP Library Granted Patent US 9,569,138
Granted Patent B2
US 9,569,138 · App. 14/739,145 · Granted Feb 14, 2017

Copying virtual machine flat tires from a source to target computing device based on matching disk layout

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,569,138
App. No.
14/739,145
Granted
Feb 14, 2017
Kind
B2
Abstract

In one approach, a computer mounts a computing device to a target instance, where the computing device stores one or more virtual disks of a source instance, and wherein the target instance includes one or more local disks. The computer detects a disk layout of the source instance. The computer matches the disk layout of the source instance to a disk layout of the target instance. The computer attaches the one or more virtual disks of the source instance to the corresponding one or more local disks of the target instance, where the one or more virtual disks of the source instance are attached as one or more flat files. The computer copies the one or more flat files to the corresponding one or more local disks of the target instance.

Claims (49)

1. A method comprising:

mounting, by one or more computer processors, a computing device to a target instance, wherein the computing device stores one or more virtual disks of a source instance, and wherein the target instance includes one or more local disks;

detecting, by the one or more computer processors, one or more parameters of a disk layout of the source instance, wherein the one or more parameters of the disk layout include at least a disk ordering and a primary disk;

matching, by the one or more computer processors, the one or more parameters of the disk layout of the source instance to one or more parameters of a disk layout of the target instance;

based, at least in part, on the matching of the one or more parameters of the disk layout, attaching, by the one or more computer processors, the one or more virtual disks of the source instance to a corresponding one or more local disks of the target instance, wherein the one or more virtual disks of the source instance are attached as one or more flat files; and

copying, by the one or more computer processors, the one or more flat files to the corresponding one or more local disks of the target instance.

2. The method of claim 1 , wherein said detecting one or more parameters of the disk layout of the source instance comprises processing, by the one or more computer processors, metadata associated with the one or more virtual disks.

3. The method of claim 1 , wherein said matching the one or more parameters of the disk layout of the source instance to the one or more parameters of the disk layout of the target instance comprises:

determining, by the one or more computer processors, one or more matching parameters of the source instance;

comparing, by the one or more computer processors, the one or more matching parameters of the source instance to one or more corresponding parameters of the target instance; and

based, at least in part, on the comparison, identifying, by the one or more computer processors, one or more peers between one or more disks of the source instance and one or more disks of the target instance.

4. The method of claim 1 , wherein the one or more virtual disks of the source instance are in virtual machine disk (VMDK) format.

5. The method of claim 1 , wherein the one or more virtual disks of the source instance are included in an open virtualization format (OVF) file.

6. The method of claim 1 , wherein said copying the one or more flat files to the corresponding one or more local disks of the target instance comprises utilizing, by the one or more computer processors, a block copy technique.

7. The method of claim 1 , wherein said copying the one or more flat files to the corresponding one or more local disks of the target instance comprises utilizing, by the one or more computer processors, a DD command.

8. A computer program product comprising:

one or more computer readable storage medium and program instructions stored on the one or more computer readable storage medium, the stored program instructions comprising:

program instructions to mount a computing device to a target instance, wherein the computing device stores one or more virtual disks of a source instance, and wherein the target instance includes one or more local disks;

program instructions to detect one or more parameters of a disk layout of the source instance, wherein the one or more parameters of the disk layout include at least a disk ordering and a primary disk;

program instructions to match the one or more parameters of the disk layout of the source instance to one or more parameters of a disk layout of the target instance;

program instructions to, based, at least in part, on the matching of the one or more parameters of the disk layout, attach the one or more virtual disks of the source instance to a corresponding one or more local disks of the target instance, wherein the one or more virtual disks of the source instance are attached as one or more flat files; and

program instructions to copy the one or more flat files to the corresponding one or more local disks of the target instance.

9. The computer program product of claim 8 , wherein the stored program instructions to detect one or more parameters of the disk layout of the source instance further comprise program instructions to process metadata associated with the one or more virtual disks.

10. The computer program product of claim 8 , wherein

the stored program instructions to match the one or more parameters of the disk layout of the source instance to the one or more parameters of the disk layout of the target instance further comprise:

program instructions to determine one or more matching parameters of the source instance;

program instructions to compare the one or more matching parameters of the source instance to one or more corresponding parameters of the target instance; and

program instructions to, based, at least in part, on the comparison, identify one or more peers between one or more disks of the source instance and one or more disks of the target instance.

11. The computer program product of claim 8 , wherein the one or more virtual disks of the source instance are in virtual machine disk (VMDK) format.

12. The computer program product of claim 8 , wherein the one or more virtual disks of the source instance are included in an open virtualization format (OVF) file.

13. The computer program product of claim 8 , wherein the stored program instructions to copy the one or more flat files to the corresponding one or more local disks of the target instance further comprise program instructions to utilize a block copy technique.

14. The computer program product of claim 8 , wherein the stored program instructions to copy the one or more flat files to the corresponding one or more local disks of the target instance further comprise program instructions to utilize a DD command.

15. A computer system comprising:

one or more computer processors;

one or more computer readable storage device;

program instructions stored on the one or more computer readable storage device for execution by at least one of the one or more computer processors, the stored program instructions comprising:

program instructions to mount a computing device to a target instance, wherein the computing device stores one or more virtual disks of a source instance, and wherein the target instance includes one or more local disks;

program instructions to detect one or more parameters of a disk layout of the source instance, wherein the one or more parameters of the disk layout include at least a disk ordering and a primary disk;

program instructions to match the one or more parameters of the disk layout of the source instance to one or more parameters of a disk layout of the target instance;

program instructions to, based, at least in part, on the matching of the one or more parameters of the disk layout, attach the one or more virtual disks of the source instance to a corresponding one or more local disks of the target instance, wherein the one or more virtual disks of the source instance are attached as one or more flat files; and

program instructions to copy the one or more flat files to the corresponding one or more local disks of the target instance.

16. The computer system of claim 15 , wherein the stored program instructions to detect one or more parameters of the disk layout of the source instance further comprise program instructions to process metadata associated with the one or more virtual disks.

17. The computer system of claim 15 , wherein the stored program instructions to match the one or more parameters of the disk layout of the source instance to the one or more parameters of the disk layout of the target instance further comprise:

program instructions to determine one or more matching parameters of the source instance;

program instructions to compare the one or more matching parameters of the source instance to one or more corresponding parameters of the target instance; and

program instructions to, based, at least in part, on the comparison, identify one or more peers between one or more disks of the source instance and one or more disks of the target instance.

18. The computer system of claim 15 , wherein the one or more virtual disks of the source instance are in virtual machine disk (VMDK) format.

19. The computer system of claim 15 , wherein the one or more virtual disks of the source instance are included in an open virtualization format (OVF) file.

20. The computer system of claim 15 , wherein the stored program instructions to copy the one or more flat files to the corresponding one or more local disks of the target instance further comprise program instructions to utilize a block copy technique.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KYNDRYL, INC.
Reel/Frame 057885/0644 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 15, 2015
From: GRAF, FLORIAN D.; LIANG, XIAO BI; YU, SHAO YANG; ZHANG, CHI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 035894/0011 →