vCenter

 View Only
  • 1.  VM Show 0 MB Disk Space

    Posted Oct 04, 2013 07:03 AM

    Hi,

    i don´t know why but one of my vm´s was missing an vmdk file. It is still running!

    The Used Storage for that machine was only showing the size of the second disk!

    So i decide to create the vmdk file new.

    VMware KB: Recreating a missing virtual machine disk (VMDK) descriptor file

    After recreating the vmdk file, the used storage for the vm Show the correct size. But when i edit the vm Settings and look at the disk size of that vm it tells me 0 MB

    Any ideas how to fix that? Or is there something wrong with the vmdk file?

    Frank



  • 2.  RE: VM Show 0 MB Disk Space

    Posted Oct 05, 2013 12:31 PM

    What's the size of the virtual disk? 2TB ?

    André



  • 3.  RE: VM Show 0 MB Disk Space

    Posted Oct 05, 2013 12:56 PM

    I am not at the office, but I guess the size was 25 or 30 gb.

    Definitely not 2 tb

    Frank

    Message was edited by: a.p. - removed email footer



  • 4.  RE: VM Show 0 MB Disk Space

    Posted Oct 05, 2013 01:01 PM

    Ok, in this case please provide the exact size in bytes of the flat.vmdk file and attach the descriptor file you created to a reply post once you're back in the office.

    André



  • 5.  RE: VM Show 0 MB Disk Space

    Posted Oct 08, 2013 07:23 AM

    Back in Office yesterday. And now, the vCenter is showing the correct size of the disk.


    Maybe it took some time to recognize the new vmdk file.

    Thanks

    Frank



  • 6.  RE: VM Show 0 MB Disk Space

    Posted Dec 13, 2015 02:39 AM

    Hi, although this is old post, I had a similar issue so I wrote an article on how I solved this problem.

    Tom Spirit: vSphere | A VM is showing disk size of 0B

    The reason for this is probably because the VM is running on snapshots and it has been interupted somehow. The ESXi host doesn't see the snapshots.

    To solve this basicly all you have to do is power down the VM. Unregister it, then register again (on another host if possible). Check for snapshots and if there are snapshots commit them and you are good to go.



  • 7.  RE: VM Show 0 MB Disk Space

    Posted Sep 08, 2017 07:13 PM


  • 8.  RE: VM Show 0 MB Disk Space

    Posted May 16, 2019 09:22 AM

    This Blog here helped me a lot ..

    Link:

    Virtual machine show 0MB disk space – My WebPage

    cause in my case (vcsa 6.5) this doenst work for me:

    • remove machine from invertory and add it back on second host
    • restore machine from backup
    • check snaphosts (no one snaphot was used)
    • check VMX file and search inside if the machine pointing to snaphoted VMDK (usually 00001.vmdk)


  • 9.  RE: VM Show 0 MB Disk Space

    Posted Jul 25, 2019 02:58 PM

    This works great, powershell

    Get-VM NameofVM | Get-View | %{$_.reload()}



  • 10.  RE: VM Show 0 MB Disk Space

    Posted Feb 10, 2021 08:11 AM

    superb, it worked.



  • 11.  RE: VM Show 0 MB Disk Space

    Posted Aug 04, 2019 12:36 PM