Opened 15 years ago
Closed 14 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 , 15 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
That was implemented in VBox 4.0.
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 ;).