VMware Workstation

 View Only
  • 1.  Ubuntu machine with VMware workstation 16 pro always has small free space even after increasing disk space

    Posted 23 days ago

    Hi, experts!

    I am having trouble with my Ubuntu machine I created using VMware workstation pro (v16.0).

    When I've created it first, I set the size as 100 GB. And I've been working on docker project inside it as a developer. but after some time, I've noticed that the free space of the Ubuntu has become very small.

    So I expanded the size of the machine and increased the disk size by repartitioning with gparted. I increased it to 200GB.

    However, after some time again, I've noticed the free space has become small again. What I only do in the machine is to working with docker. So I've tried to remove all docker containers, but it reduces only about 30 GB. 

    What is continuously taking up the machine space? Is there any solution to resolve it? It is very serious problem to me, so if anyone can help me with it, I would be really appreciated.

    My main OS is win10.

    Ubuntu version: 20.04.2.0
    Vmware workstation: 16.0.0

    Thanks.



  • 2.  RE: Ubuntu machine with VMware workstation 16 pro always has small free space even after increasing disk space

    Posted 23 days ago

    What may give you a hint are the df and du commands.

    André




  • 3.  RE: Ubuntu machine with VMware workstation 16 pro always has small free space even after increasing disk space

    Posted 23 days ago

    Hi Andre
    Thank you for your reply.

    What df and du command can help me to find largest files? I am not so familiar with those commands.

    Thanks.




  • 4.  RE: Ubuntu machine with VMware workstation 16 pro always has small free space even after increasing disk space

    Posted 22 days ago

    Louis,
    if not obvious, this most likely has nothing to do with VMware, but just Ubuntu. You might have better advice on a Linux Forum.

    Having said that, based on your description it feels that you have some setting or application that is constantly writing to the disk and not cleaning up anything. This is not what Ubuntu does by default, it is something that you have set up or installed afterwards - just to help you to find the application. You might start from seeing what is written into temporary directories - those which are not cleaned up in boot - you have rebooted your Ubuntu, right?

    In Ubuntu, you might also have an application with GUI to give you the disk space usage in different directories and branches of them. At the minimum just a tool can be installed (not sure anymore what there is with Ubuntu by default).

    You can of course google how to use du and df - they are easy.