VirtualBox

Ticket #5990 (reopened defect)

Opened 7 months ago

Last modified 5 months ago

Snapshot VHD is not a valid file format => fixed in SVN

Reported by: atpetro Assigned to:
Priority: critical Component: virtual disk
Version: VirtualBox 3.1.2 Keywords: VHD, Differencing, Snapshot
Cc: Guest type: Windows
Host type: Windows

Description

I have a VHD that I can configure and boot from VirtualBox without any issues. I can also create a snapshot and boot that from VirtualBox without any issues. I want to port the parent and child VHDs to MS technologies - Virtual PC for 32-bit or Hyper-V for 64-bit. Unfortunately, the VHD that VirtualBox creates for the differencing drive is not a valid VHD format. Nothing but VirtualBox can load the differencing file - WinImage?, VirtualPC Disk Wizard and Hyper-V Edit Disk all fail to load the snapshot VHD. If I create a differencing disk using Virtual PC, then all three of those tools can read both the parent and the child VHD. I can also use the diff drives created by VirtualPC as valid snapshot files in VirtualBox (after manual xml manipulation). Please fix the VHD diff drive format so our work can be portable and we can recover files with tools like WinImage? when corruption occurs. This is possibly related to why merge isn't working for VHD snapshots - ticket #5981.

Attachments

Hyper-V - Inspect Disk.png (7.6 kB) - added by atpetro on 2010-02-15 22:36:51.
Hyper-V Inspect Disk error
Hyper-V - NewVM.png (19.1 kB) - added by atpetro on 2010-02-15 22:37:18.
Hyper-V New Virtual Machine error

Change History

2010-01-22 01:23:55 changed by aeichner

  • summary changed from Snapshot VHD is not a valid file format to Snapshot VHD is not a valid file format => fixed in SVN.

Thanks for the report. The issue is fixed in svn and will appear in the next maintenance release of VirtualBox.

2010-02-12 23:16:39 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

2010-02-15 22:36:51 changed by atpetro

  • attachment Hyper-V - Inspect Disk.png added.

Hyper-V Inspect Disk error

2010-02-15 22:37:18 changed by atpetro

  • attachment Hyper-V - NewVM.png added.

Hyper-V New Virtual Machine error

2010-02-15 22:37:43 changed by atpetro

  • status changed from closed to reopened.
  • resolution deleted.

I've downloaded 3.1.4 and it does appear to fix the VHD file format compatibility for MS Virtual PC. However, the VHD created by snapshots is still invalid when using Inspect Disk, Edit Disk or new virtual machine with Existing Disk via Hyper-V. I've attached the screenshots of the errors I get in Hyper-V. My original bug mentioned both Virtual PC and Hyper-V yet only one was fixed. I believe this instability of the VHD file format is also leading to my merge issues (see #5981).

2010-03-03 16:23:45 changed by atpetro

I see that this resolution is "DELETED" with no explanation. Can someone tell me if the VHD differencing drives will be created correctly so that all MS technologies, specifically Hyper-V, can recognize them? This becomes increasingly more important when building 64-bit snapshots.


ContactPrivacy policy