VirtualBox

Opened 14 years ago

Closed 13 years ago

#5511 closed enhancement (fixed)

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

Reported by: Daniel Kulesz 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 (6)

comment:1 by Technologov, 14 years ago

+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 by Daniel Kulesz, 14 years ago

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 by Technologov, 14 years ago

When VM is removed, it unregisters the images automatically.

So only the second option is needed.

comment:4 by Daniel Kulesz, 14 years ago

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 by Christian Pötzsch, 13 years ago

Summary: User should be asked for deleting HDD image when deleting a VMUser 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 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use