VMware Cloud Community
ashp99
Contributor
Contributor

How to determine if a Virtual Machine's disk is Eager Zero in vCenter

Hi all

In vCentre 4.1 is there an easy way to check the disk format for VM's? I know that you can see some information under "Disk Provisioning Type" when selecting "Edit Settings.." on a VM, but this just tells you if the disk is THIN or THICK and not if it is THICK (lazy zero) or THICK (Eager Zero).

Any suggestions?

Cheers

0 Kudos
2 Replies
lamw
Community Manager
Community Manager

Nope, you can't even get this detail using the APIs.

Here is a script to extract this information using the vmware.log -

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
ashp99
Contributor
Contributor

Hi William

Thanks for the heads up. Can't believe that VMware have not included this functionality in the GUI. Perhaps one for the next release.

I have tried your script and although it creates the vmware_logs director and does not report any errors, it doesn't seem to return anything. I have tried running it against the vcenter server and esx host. I'll take another look as no doubt I am doing something wrong.

Thanks again.

0 Kudos