VMware vSphere

 View Only
  • 1.  Guest OS does not use entire disk space

    Posted Aug 04, 2014 12:18 PM

    Hi, everyone.

    I am kind of new to the ESXi.

    While using ESXi5, I have face a problem with the disk space.

    As  you can see in the picture below, I have assigned 600Gigs for my guest OS (CentOS).

    But I have found that the OS actually is using only 90Gigs as seen in the picture below.

    Do you have any suggestion for this? Or any idea why this is in this way?

    Thank you guys very much for you help.



  • 2.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 12:34 PM

    Can you provide the output of fdisk -l of your CentOS guest ?



  • 3.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 12:46 PM

    Hello, Richardson.

    Here is the output of fdisk -l.

    Thank you very much for your help!!!!



  • 4.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 01:03 PM

    I see your 600GB disk is thin provisioned, so what you see is expected.

    This means that blocks are not allocated until needed.... See more here: VMware KB: Using thin provisioned disks with virtual machines    

    /Rubeck



  • 5.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 01:41 PM

    Hi, Rubeck.

    But according to the article that you linked, the unused space must be used when needed. Am I right?

    If so, what is weird is that I get "no space left" error when the disk usage hits 90gigs.

    What am I supposed to do for this? Do I have change some config? Or do I need to reinstall the whole OS with thick provisioning?

    Thank you very much for your help!!!



  • 6.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 02:23 PM

    kangjh0101, seems like your LVM is not using all the disk space, cause according with your print, the / logical volume have 53,7GB and /home 44,8GB... what you need to do is extend the logical volume inside your CentOS.



  • 7.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 02:35 PM

    Richardson

    Can you give me a brief idea how to extend the logical volume?

    It might be a stupid question, but I am new to the linux environment.

    Thank you very much for your help!!



  • 8.  RE: Guest OS does not use entire disk space
    Best Answer

    Posted Aug 04, 2014 03:09 PM


  • 9.  RE: Guest OS does not use entire disk space

    Posted Aug 04, 2014 10:26 PM

    Thank you very much Richardson