Ticket #5638 (closed enhancement: fixed)

Opened 13 years ago

Last modified 11 years ago

VBoxManage clonehd should preserve extra alignment/padding in the new VDI file

Reported by: Donuts Owned by:
Component: virtual disk Version: VirtualBox 3.0.12
Keywords: Cc:
Guest type: other Host type: Linux



The VDI file format allows padding to be present in order that disk data may be appropriately aligned. VirtualBox does not currently support creating VDI files with user-specified padding, but such files can be created manually. (See for example.)

When using VBoxManage clonehd to clone a VDI which has been padded in that way, the extra padding is removed from the cloned VDI. It would be useful if VBoxManage clonehd could preserve any extra padding that is present before the block map and/or image data in the VDI file.

Change History

comment:1 Changed 12 years ago by aeichner

Images created with the next major version of VirtualBox will have a 4K padding by default. Please note that old images can't be converted to use the new padding without rewriting the new image which is as effective as using clonehd to create a new image with new padding ;).

comment:2 Changed 11 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

That was implemented in VBox 4.0.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use