Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had a VM in virtualbox that had Win XP inside my Linux Desktop machine. When my work was done with that VM, I deleted it, but the HDD space that was occupying was still occupied. I had chosen the option to also delete the vdi and it did, but still free space didn't go up.
Any thoughts?
My distro in that desktop is Xubuntu 12.04 on that machine, speccs are Pentium 4@2.4GHz, 1GB RAM, 60GB HDD.
Thanks in advance!
Yes, I checked, the .vdi and the other files it had created were gone. I also ran a locate and a ls -al command to be sure.
As I mentioned the total disk capacity is only 60GB, with the OS and my files taking 15GB and the VM taking another 15GB, so when I was running the VM I had 45GB of disk space and 30GB unoccupied, when I deleted the VM it was still 30GB unoccupied. Numbers are pretty "round" so it's easy to remember the exact amounts
Yes, I checked, the .vdi and the other files it had created were gone. I also ran a locate and a ls -al command to be sure.
Ok.
Quote:
As I mentioned the total disk capacity is only 60GB, with the OS and my files taking 15GB and the VM taking another 15GB, so when I was running the VM I had 45GB of disk space and 30GB unoccupied, when I deleted the VM it was still 30GB unoccupied. Numbers are pretty "round" so it's easy to remember the exact amounts
How do you know that the VM was really taking 15GB? Even if you gave the VM a 15GB virtual drive the image file would not necessarily use all of that. In virtualbox the vdi files expand as needed. I would imagine a simple XP install would only take around 1 or 2 GB (but I'm no XP expert).
I know of the actual size cause I set it so on the slider while setting up the installer of the VM. I didn't enable the dynamic size allocation but fixed it to 15GB. The vdi was given to me by my teacher in college and it was set to be 10GB so I added 5 more on my own to be sure I will work with ease.
I know of the actual size cause I set it so on the slider while setting up the installer of the VM. I didn't enable the dynamic size allocation but fixed it to 15GB. The vdi was given to me by my teacher in college and it was set to be 10GB so I added 5 more on my own to be sure I will work with ease.
Ok, in that case I would guess that the file is being held open by some processes (even though it is deleted). This type of thing often happens when people delete large log files in an attempt to free up some disk space and then find that the output of df is unchanged. Have you rebooted since deleting the VM?
Boot to a live cd and run fsck or other filesystem utility.
Normally you don't want to check a mounted drive. You might be able to do this in single user mode.
Thanks for all your suggestions guys, but I kind of solved it my own way... since it is a desktop of minor importance and one I rarely use, I just formatted it and everything is back to normal.
I'm really curious to try jefro's suggestion though... will keep it in mind and in case it happens again in the future will try it out!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.