VirtualBox

Ticket #10818 (new defect)

Opened 20 months ago

Last modified 20 months ago

modifyhd --resize should warn users about existing snapshots

Reported by: Lillo Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.18 Keywords:
Cc: Guest type: other
Host type: other

Description

When resizing an existing VM using vboxmanage modifyhd vm.vdi --resize 12345 a user should be warned if the VM to be resized has unmerged snapshots. Since neither the documentation nor the vast majority of tips on the internet mention this problem, a user will *naturally* run the command above on what they believe to be *the* associated VDI file, *not* on one of the snapshots.

Consequently, modifyhd should first check whether the VM in question uses unmerged snapshots and issue a warning if so.

A perfect solution would have modifyhd determine the latest snapshot and offer the user to resize that snapshot instead.

Change History

comment:1 in reply to: ↑ description Changed 20 months ago by Perryg

Replying to Lillo:

A perfect solution would have modifyhd determine the latest snapshot and offer the user to resize that snapshot instead.

AFAIK Snapshots are differencing disks and as such are not supported for resizing. At least that is the error message reported when trying, so it would make no sense to suggest resizing them.

However it would be a great idea to make notice in the User Manual stating this as a lot of people try and fail.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use