Ubuntu: How to set Unity directly delete files on sda without possibility of recycling [duplicate]



Question:

This question already has an answer here:

I need to delete two Oracle VirtualBox snapshots from /dev/sda because it is running out of space.

Unfortunately there is even not enough space to remove them by VirtualBox Manager. It seems to me it is because VirtualBox Manager uses the trash function of Unity and this function does not enough space to move the file for recycling purpose.

How to

  • change my Trash folder from /dev/sda to /dev/sdb or somewhere else where there is enough space to save the recyclable files
  • or how to disable this feature for /dev/sda where the OS and VirtualBox are located.

After fixing this issue, hopefully with some good answers here, I am going to move the default snapshot directory for this machine on /dev/sda where there is more space available.


Solution:1

By simply deleting a snapshot from the OS VirtualBox does not get noticed.

To save hard disk space it is therefore much safer (and faster) to create a cloned VDI of the current machine's state on a different storage medium. Snapshots can be excluded by doing so. We can then detach the old VDI and attach the cloned hard drive to the VM.

After we had tested that the cloned machine runs as ecpected we then may safely remove the original VDI including all snapshots.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »