IP Library Granted Patent US 10,459,802
Granted Patent B2
US 10,459,802 · App. 15/539,840 · Granted Oct 29, 2019

Backup image restore

Inventors: Taram S Devitt-Carolan (Palo Alto, CA); Rick Bramley (Mansfield, MA); Reny Paul (Bangalore, IN); Anil Kumar S R (Bangalore, IN)
Assignee: Hewlett-Packard Development Company, L.P.
G06F11/1469G06F9/45558G06F11/0793G06F11/1438G06F11/1658G06F2009/45575G06F2009/45579G06F2201/815
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 10,459,802
App. No.
15/539,840
Granted
Oct 29, 2019
Kind
B2
Abstract

An example apparatus includes a virtual drive controller module to receive a read request from a guest virtual machine (VM) during a restore operation. The apparatus also includes a virtual drive manager module to determine whether data associated with the read request is stored in a storage volume of the guest VM using a sector mapping lookup table during the restore operation. In response to a determination that the data is absent in the storage volume, the virtual drive manager module is to copy the data from a backup image associated with the guest VM to the storage volume, update the sector mapping lookup table to indicate that the data is stored in the storage volume, and transmit the data to the guest VM.

Claims (66)

1. An apparatus comprising:

a virtual drive controller module to receive a read request from a guest virtual machine (VM) during a restore operation; and

a virtual drive manager module to:

determine whether data associated with the read request is stored in a storage volume of the guest VM using a sector mapping lookup table during the restore operation;

in response to a determination that the data is absent in the storage volume:

copy the data from a backup image associated with the guest VM to the storage volume;

update the sector mapping lookup table to indicate that the data is stored in the storage volume; and

transmit the data to the guest VM; and

access the sector mapping lookup table to determine whether the restore operation is complete.

2. The apparatus of claim 1 , wherein the virtual drive controller module is further to receive a write request from the guest VM, and wherein the virtual drive manager module is further to:

write data associated with the write request to the storage volume; and

update the sector mapping lookup table to indicate that the data associated with the write request is present in the storage volume.

3. The apparatus of claim 1 , further comprising a helper agent module to:

copy remaining data from the backup image to the storage volume using the sector mapping lookup table during the restore operation, wherein the remaining data is not associated with the read request; and

update the sector mapping lookup table to indicate that the remaining data is present in the storage volume.

4. The apparatus of claim 1 , wherein the sector mapping lookup table is indicative of sectors in the storage volume.

5. The apparatus of claim 1 , wherein the backup image is read-only.

6. The apparatus of claim 1 , wherein in response to determination of the restore operation being complete, exit the restore operation and serve subsequent read requests for data from the guest VM directly from the storage volume.

7. The apparatus of claim 1 , wherein the virtual drive manager module is to:

in response to a determination that the data is present in the storage volume:

transmit the data from the storage volume to the guest VM without accessing the backup image; and

restore further data in the storage volume as part of the restore operation.

8. A method comprising:

receiving, at a hypervisor hosted on a computing device, a restore command associated with a backup image;

booting a guest virtual machine (VM) based on the restore command during a restore operation of the backup image, wherein the guest VM includes a storage volume;

receiving, at a virtual drive controller module of the hypervisor, a read request from the guest VM during the restore operation;

determining, at a virtual drive manager module of the hypervisor, whether data associated with the read request is present in the storage volume using a sector mapping lookup table during the restore operation;

in response to a determination that the data is absent in the storage volume:

copying the data from the backup image to the storage volume;

updating the sector mapping lookup table to indicate that the data is present in the storage volume; and

transmitting the data to the guest VM; and

accessing the sector mapping lookup table to determine whether the restore operation is complete.

9. The method of claim 8 , further comprising:

receiving, a write request from the guest VM

writing data associated with the write request to the storage volume via the virtual drive manager module; and

updating the sector mapping lookup table to indicate that the data associated with the write request is present in the storage volume.

10. The method of claim 8 , wherein the sector mapping lookup table includes a storage volume sector field, a backup image sector field, and a presence field.

11. The method of claim 8 , further comprising provisioning the guest VM via the hypervisor, wherein provisioning the guest VM includes:

determining a sector size of the backup image and a sector count of the backup image; and

allocating the storage volume based on the sector size and the sector count.

12. The method of claim 8 , further comprising:

identifying unused sectors in the backup image; and

updating the sector mapping lookup table to indicate that the unused sectors are present in the storage volume.

13. The method of claim 8 , wherein the hypervisor is a type-1 hypervisor.

14. The method of claim 8 , wherein in response to determination that the restore operation is complete, exiting the restore operation and serving subsequent requests for data from the guest VM directly from the storage volume.

15. A non-transitory computer-readable storage medium comprising instructions that when executed cause a processor of a computing device to:

boot, at a hypervisor, a guest virtual machine (VM) based on a restore command associated with a backup image during a restore operation of the backup image, wherein the guest VM includes a storage volume;

receive, at a virtual drive controller module of the hypervisor, a read request from the guest VM during the restore operation;

determine, at a virtual drive manager module of the hypervisor, whether data associated with the read request is present in the storage volume using a sector mapping lookup table during the restore operation;

in response to determining that the data is absent in the storage volume:

copy the data from the backup image to the storage volume;

update the sector mapping lookup table to indicate that the data is stored in the storage volume; and

transmit the data to the guest VM; and

in response to determining that the data is present in the storage volume, transmit the data from the storage volume to the guest VM without accessing the backup image; and

access the sector mapping lookup table to determine whether the restore operation is complete.

16. The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the processor to, in response to a write request received from the guest VM:

write data associated with the write request to the storage volume via the virtual drive manager module; and

update the sector mapping lookup table to indicate that the data associated with the write request is present in the storage volume.

17. The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the processor to:

identify unused sectors in the backup image; and

update the sector mapping lookup table to indicate that the unused sectors are present in the storage volume.

18. The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the processor to:

copy, via a helper agent module, remaining data from the backup image to the storage volume using the sector mapping lookup table during the restore operation, wherein the remaining data is not associated with the read request; and

update the sector mapping lookup table to indicate that the remaining data is present in the storage volume.

19. The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the processor to, in response to determination that the restore operation is complete, exit the restore operation and serve subsequent requests for data from the guest VM directly from the storage volume.

20. The non-transitory computer-readable storage medium of claim 15 , wherein the instructions when executed further cause the processor to, in response to the data associated with the read request being in the storage volume, provide the data from the storage volume to the VM while further data in the storage volume is being restored as part of the restore operation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 18, 2017
From: DEVITT-CAROLAN, TARAM S; BRAMLEY, RICK; PAUL, RENY; S R, ANIL KUMAR
To: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Reel/Frame 043036/0261 →
Continuity (1)
Related Publication 20170371749A1 · Dec 28, 2017