VirtualBox

Ticket #5511 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

User should be asked for deleting HDD image when deleting a VM -> Fixed in SVN

Reported by: DanielKulesz Owned by:
Component: GUI Version: VirtualBox 3.0.12
Keywords: Cc:
Guest type: other Host type: other

Description

Normally, when a user removes a virtual machine, he propably wants to remove the hard disk image too. But this option is not offered by default - therefore the user must manually visit the "Virtual Media Manager" after deleting a VM, to really delete this disk image as well.

I guess, most users who often create and destroy virtual machines end up with a lot of trash in their media manager. Therefore I would propose to offer two check boxes in the "delete VM" dialog:

[ ] remove associated disk images as well [ ] delete the associated disk images from disk

The second checkbox should only be available, if the first is checked. Also, removing disk images which are linked to other VMs already should not be supported, or at least - a big warning should be provided.

Change History

comment:1 Changed 13 years ago by Technologov

+1 to this wish.

I don't understand what is the difference between:

[ ] remove associated disk images as well

and

[ ] delete the associated disk images from disk

-Technologov

comment:2 Changed 13 years ago by DanielKulesz

Well, it's the same difference that is made when using the "remove" button in the Media manager:

  • remove: unregisters the image from the media manager, doesn't touch the real disk image
  • delete: deletes the real disk image as well

comment:3 Changed 13 years ago by Technologov

When VM is removed, it unregisters the images automatically.

So only the second option is needed.

comment:4 Changed 13 years ago by DanielKulesz

No, the images are not unregistered automatically, I just tried it. Maybe a configuration issue? I am running on Ubuntu 9.10 x86_64, VirtualBox 3.0.12 r54655 from the VirtualBox APT-Mirror.

If this is not intended this way, it looks like another bug to me.

comment:5 Changed 12 years ago by poetzsch

  • Summary changed from User should be asked for deleting HDD image when deleting a VM to User should be asked for deleting HDD image when deleting a VM -> Fixed in SVN

This is fixed in SVN and will be included in the next major version of VirtualBox.

comment:6 Changed 12 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use