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
What's the size of the virtual disk? 2TB ?
André
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
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é
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
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.
Follow this kb:
Recreating a missing virtual machine disk descriptor file (1002511) | VMware KB
That worked for me.
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:
This works great, powershell
Get-VM NameofVM | Get-View | %{$_.reload()}
superb, it worked.