UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Recently in the last day or so I have been getting a warning about my computer having a low amount of disk space available and what I can do to free up additional space. The only thing different that I've done is to try and use a Virtual Box to test out other Linux OS's. Is it possible that this low disk space warning be related to the VB and not to my Main computers disk space? How can I check out how much space I am using comparing it to the space I have and see if I am indeed running low?
I used the disk analyzer and got some information but what it all meant or what I could do to change what was there went right over my head. Basically I'm looking for is; Your PC has this many GB and you are using this many GB, leaving you this amount of GB as free space.
So I can see if the low space warning is in effect directly related to the VB and naught else and I can stop worrying about it. In other words is this much ado about nothing.
Yes, it over-summarizes file systems of which some are virtual or RAM based. But in essence this is saying that I have a total of 266G with 122G used and 131G available.
Do you have an awareness of what disks your system has installed and how they are partitioned? That would be important to consider. Here I do not have a dual boot, so you won't see a FAT32 or NTFS file system. Here's what it looks like if I plug in a thumbstick:
The point there being that another disk or partition shows up as another line in the summary. So you may see things like sda1 and sda2 if you have partitions for say Windows and Linux. The -h and -l arguments are to make the output "human readable" and to look at "local" disks only.
You can perform a man page command on df to see the full options. It claims that the -l argument works for local, but I do happen to have an NFS mount and it won't show that even without the -l option.
Either case, it's a good command to use to assess total disk space.
Which is a hell of a lot better then the first one wherein I just used the df command.
Could the first one that shows I have used 99% be the Vitual Box and if I deleted said App an reboot all should be well?? I opened a terminal entered in the df command and this time it was a repeat showing me;
It did not have;
bill48@bill48-Dimension-9100:~$ df, at the start which means if I am not in error that the 99% used was for the Virtual Box computer, right ??
That's weird. I'm not really experienced with Virtual Box, however I would not argue that it may be responsible for taking that space. Rebooting and not running it would be the test I'd try. Then it's a question of whether or not you can live with the complaints, or configure Virtual Box so that it takes less space when it runs.
I have several Live/Install DVD's of other Linux OS which I wanted to check out and it was suggested to use a Virtual Box. The resulting of which ending for me in chaos and madness. . . well mayhap no madness but it was a close call there.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
You should bear in mind that every virtual disk you create is a real file on your real hard drive and, depending on the settings, this file may be as large as the size you selected for the guest operating system.
That means if you create a virtual machine with a 8GB hard drive that amount of space could well be used on your host drive. There is a setting to use dynamically sized virtual disks which only take up as much room as is actually being used by the guest OS but for smaller sized disks this may not make much difference.
If you want to free up the space these VMs take up then I would suggest going into VirtualBox itself and removing the VMs remembering to select the option to delete all associated files.
Going by a quick google and the size of the hard drive you listed I'd say your machine doesn't come up to the system requirements for VirtualBox to be useful -- that is a shame as it (and VMWare and others) really is a great, and not tah complicated, way to try a lot of distros and OSs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.