Importing and exporting virtual disk images
First Claim
Patent Images
1. A method comprising:
- receiving, by a processing device, a first command to export a first virtual disk image to a server, wherein the first virtual disk image comprises a plurality of volumes that comprise a read-only base volume and at least one additional volume that comprises changes to the base volume;
generating, by the processing device, an area for the first virtual disk image;
receiving a map of the first virtual disk image that identifies offsets of the first virtual disk image and, for each of the offsets, a particular volume of the plurality of volumes that comprises data for the offset, and wherein each of the offsets corresponds to a different portion of the first virtual disk image and the map identifies the particular volume for each offset that comprises most recent data for the different portion of the first virtual disk image;
writing, by the processing device, data for the offsets of the first virtual disk image that has been read from the particular volumes of the plurality of volumes of the first virtual disk image to the area to consolidate the plurality of volumes of the first virtual disk image into a single volume of the first virtual disk image, and wherein the single volume is converted to a different disk format than the plurality of volumes of the first virtual disk image, and wherein the different disk format is associated with a different virtual size relative to a size of the first virtual disk image than the plurality of volumes of the first virtual disk; and
transmitting, by the processing device, the data of the single volume of the first virtual disk image comprising data read from the particular volumes of the plurality of volumes to the server.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing device receives a first command to export a first virtual image to a server, wherein the first virtual disk image comprises a plurality of volumes that comprise a read-only base volume and at least one additional volume that comprises changes to the base volume. The processing device generates a map of the first virtual disk image, wherein the map identifies, for each offset in the first virtual disk image, which of the plurality of volumes contains most recent data for the offset. The processing device uses the map to read data at offsets of the virtual disk image from the plurality of volumes. The processing device transmits the data to the server.
19 Citations
17 Claims
-
1. A method comprising:
-
receiving, by a processing device, a first command to export a first virtual disk image to a server, wherein the first virtual disk image comprises a plurality of volumes that comprise a read-only base volume and at least one additional volume that comprises changes to the base volume; generating, by the processing device, an area for the first virtual disk image; receiving a map of the first virtual disk image that identifies offsets of the first virtual disk image and, for each of the offsets, a particular volume of the plurality of volumes that comprises data for the offset, and wherein each of the offsets corresponds to a different portion of the first virtual disk image and the map identifies the particular volume for each offset that comprises most recent data for the different portion of the first virtual disk image; writing, by the processing device, data for the offsets of the first virtual disk image that has been read from the particular volumes of the plurality of volumes of the first virtual disk image to the area to consolidate the plurality of volumes of the first virtual disk image into a single volume of the first virtual disk image, and wherein the single volume is converted to a different disk format than the plurality of volumes of the first virtual disk image, and wherein the different disk format is associated with a different virtual size relative to a size of the first virtual disk image than the plurality of volumes of the first virtual disk; and transmitting, by the processing device, the data of the single volume of the first virtual disk image comprising data read from the particular volumes of the plurality of volumes to the server. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium having instructions that, when executed by a processing device, cause the processing device to:
-
receive, by the processing device, a first command to export a first virtual disk image to a server, wherein the first virtual disk image comprises a plurality of volumes that comprise a read-only base volume and at least one additional volume that comprises changes to the base volume; generate, by the processing device, an area for the first virtual disk image; receive a map of the first virtual disk image that identifies offsets of the first virtual disk image and, for each of the offsets, a particular volume of the plurality of volumes that comprises data for the offset; write, by the processing device, data for the offsets of the first virtual disk image that has been read from the particular volumes of the plurality of volumes of the first virtual disk image to the area to consolidate the plurality of volumes of the first virtual disk image into a single volume of the first virtual disk image, and wherein each of the offsets corresponds to a different portion of the first virtual disk image and the map identifies the particular volume for each offset that comprises most recent data for the different portion of the first virtual disk image, and wherein the single volume is converted to a different disk format than the plurality of volumes of the first virtual disk image, and wherein the different disk format is associated with a different virtual size relative to a size of the first virtual disk image than the plurality of volumes of the first virtual disk; and transmit, by the processing device, the data of the single volume of the first virtual disk image comprising data read from the particular volumes of the plurality of volumes to the server. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computing device comprising:
-
a memory to store a first virtual disk image; and a processing device, operatively coupled to the memory, wherein the processing device is to; receive a first command to export the first virtual disk image to a server, wherein the first virtual disk image comprises a plurality of volumes that comprise a read-only base volume and at least one additional volume that comprises changes to the base volume; generate an area for the first virtual disk image in a buffer; receive a map of the first virtual disk image that identifies offsets of the first virtual disk image and, for each of the offsets, a particular volume of the plurality of volumes that comprises data for the offset; write data for the offsets of the first virtual disk image that has been read from particular volumes of the plurality of volumes of the first virtual disk image to the area in the buffer to consolidate the plurality of volumes of the first virtual disk image into a single volume of the first virtual disk image, and wherein each of the offsets corresponds to a different portion of the first virtual disk image and the map identifies the particular volume for each offset that comprises most recent data for the different portion of the first virtual disk image, and wherein the single volume is converted to a different disk format than the plurality of volumes of the first virtual disk image, and wherein the different disk format is associated with a different virtual size relative to a size of the first virtual disk image than the plurality of volumes of the first virtual disk; compress the data of the single volume of the first virtual disk image in the area in the buffer; and stream the compressed data of the single volume of the first virtual disk image comprising data read from the particular volumes of the plurality of volumes to the server. - View Dependent Claims (16, 17)
-
Specification