Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#14140 closed enhancement (wontfix)

"VBoxManage modifyhd --compact" does try to register the disk

Reported by: Sworddragon Owned by:
Component: virtual disk Version: VirtualBox 4.3.26
Keywords: Cc:
Guest type: Linux Host type: Linux


It seems the command "VBoxManage modifyhd --compact" tries to register the disk if a path is given which can result in a failure for example if the disk is already registered with another path (symlink). Maybe this could be changed so that modifying a virtual disk does not register it in cases where it is not needed.

Change History (4)

comment:1 by Frank Mehnert, 8 years ago

Resolution: wontfix
Status: newclosed

I know this is a bit annoying but this is the nature of VBoxManage and not easy to change. Better use vbox-img compact to compact a disk without registering.

comment:2 by Sworddragon, 8 years ago

The command vbox-img does not exist on my system with VirtualBox being installed and informations about it seems to be relative rare on search engines. Also I can't find a package on the Ubuntu repository that contains this command. Is it even provided by the opensource part of VirtualBox?

comment:3 by Frank Mehnert, 8 years ago

vbox-img is part of VBox 5.0.16. Yes, it's open source. VBox 4.3 did not include vbox-img.

comment:4 by Sworddragon, 8 years ago

Thanks for the information. As I'm on VirtualBox 5.0.16 and the command is missing I have forwarded this specific issue to Launchpad.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use