VirtualBox

Opened 14 years ago

Closed 13 years ago

#5638 closed enhancement (fixed)

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

Description

Hi,

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 http://forums.virtualbox.org/viewtopic.php?f=1&t=25336 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 (2)

comment:1 by aeichner, 14 years ago

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 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

That was implemented in VBox 4.0.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use