Opened 7 years ago
Last modified 7 years ago
#17685 new defect
Weird acting of vboxmanage.exe's --compact flag
Reported by: | T800 | Owned by: | |
---|---|---|---|
Component: | virtual disk | Version: | VirtualBox 5.2.8 |
Keywords: | virtual disk, vdi, compact, vboxmanage, modifymedium | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
When using the
vboxmanage modifymedium <virtual VDI disk> --compact
command on a dynamic type VDI disk (previously nulled the free spaces, with Sdelete on Windows), it seems to be successful, though, the resulted image's content cannot be viewed with 7zip anymore, even though, VDI is a supported format of it and before running the command, it was working too. At this point, the image is mountable and the system on it is bootable, like it should. But, after all of these, when i try to clone the image with
vboxmanage clonemedium <input file> <output file>
even though, the operation is finishes, without any problems, the system on the cloned disk, isn't bootable anymore, because the whole VM crashes, right in the middle of the boot process. Suprisingly, it can be opened with 7zip again. Cloning again and again doesn't change anything, while chkdsk cannot find any problems. Additionally, this isn't the first case, when i have to face with this issue, so i guess, i can label it, as reproducible.
Additionally, when i simply clone a VDI, after a free space nulling on it, everything is working, like it should. So i think, --compact procedure must be bugged.