VMware Cloud Community
agustaf4
Enthusiast
Enthusiast

vmdk types

What is the command in esxi 4 to view which type of vmdk i got. I created it using the default settings in vsphere as thick. But I don't know if it is ZeroedThick or EagerZeroed Thick or just Thick.

0 Kudos
1 Reply
lamw
Community Manager
Community Manager

There's actually no good way to query for this information, even using the vSphere API, unfortunately to really figure out whether a VMDK was created using "eagerzeroedthick" or "zeroedthick" you need to query the vmware.log files located within the VM in question.

Take a look at this blog post by Mike Laverick - http://www.rtfm-ed.co.uk/2009/12/02/what-i-learned-in-the-last-couple-of-weeks/ which explains how to get this information, it's 2/3 down in the post.

Here is a script that I wrote that queries for this information in an automated fashion -

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

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

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