VMware vSphere

 View Only
  • 1.  how to fix disk usage

    Posted May 11, 2020 11:37 AM

    Hi

    I am new to VMware ESxi 6.5

    when I create a virtual machine and set a disk size It starts growing.

    here is a picture of everything I set and the result.



  • 2.  RE: how to fix disk usage

    Posted May 11, 2020 12:06 PM

    There are other files associated with every VM beyond the virtual disk - the 2Gb memory allocation will have resulted in the creation of a .vswp file of just over 2Gb in size when you powered on the VM (unless you had set a memory reservation).

    Your storage requirement will increase further if you use VM snapshots.



  • 3.  RE: how to fix disk usage

    Posted May 11, 2020 07:51 PM

    Thank you for helping.

    So what should i do to prevent happing something like this?

    I am very restricted in using disk size.



  • 4.  RE: how to fix disk usage
    Best Answer

    Posted May 11, 2020 08:13 PM

    Allocated memory - Reserved memory = Size of vswp

    At the moment:

    2gb - 0b = 2Gb

    You either need to decrease the allocated memory or increase the memory reservation.

    But, if you’re that short on disk space that you need to do this, you don’t have a big enough disk.



  • 5.  RE: how to fix disk usage

    Posted May 11, 2020 03:10 PM

    vswap file is there where you allocated memory 2 GB that the reason showing total 17 GB 15 GB disk + 2 GB memory. I see Scott already describe you about vswap and memory reservation.