Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught AxiosError: Network Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Determining if a VMDK is zeroedthick or eagerzeroedthick (1011170)

Last Updated: 8/29/2017Categories: How toTotal Views: 98188Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

8 like this article

Subscribe to get an email
newsletter with new updates

8 people found this helpful Please provide article feedback:

Details

This article helps you determine if a VMDK is zeroedthick (where some blocks are zeroed on first access) or eagerzeroedthick (where all the blocks are zeroed on first access).

Note: For functions such as application clustering (including Microsoft Clustering Service) and VMware Fault Tolerance, you must ensure that the virtual machine’s disks are eagerzeroedthick format. You can convert a zeroedthick VMDK to eagerzeroedthick using vmkfstools. For more information, see Cloning and converting virtual machine disks with vmkfstools (1028042). You may see this error in the virtual machine's vmware.log when you use vmkfstools -D name of vm.vmdk:

Nov 21 12:02:47.755: vmx| StateLogger::VM has zeroedthick disk scsi0:0; FT enable will be disallowedSCSIDiskESXPopulateVDevDesc: Using FS backend"

Solution

ESX Server Terminal
VMware ESX hosts have a terminal available for interacting at the console. You may either log into the host remotely via SSH, or by or pressing Alt-F1 while situated directly at the host console or System Management Interface.
For information on logging into and accessing a VMware ESXi host's terminal, see:

ESXi 3.5 and 4.0 – Tech Support Mode for Emergency Support (1003677)

ESXi 4.1 and 5.x – Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910)

Using the VMware ESX terminal, you can determine if a disk is in a zeroedthick or eagerzeroedthick format using:

vmkfstools -D
This is one of two possible vmkfstools commands which provide such disk information. To determine if a VMDK is zeroedthick or eagerzeroedthick, using the -D switch:

# vmkfstools -D "/vmfs/volumes/my volume/ My VM/My VM-flat.vmdk"

Then review the vmkernel, messages, or vmkernel.log system log files. If the output appears similar to the following with tbz at zero, the VMDK is eagerzeroedthick. Otherwise it is zeroedthick:

Lock [type 10c00001 offset 50481152 v 142, hb offset 3518464
gen 987, mode 0, owner 00000000-00000000-0000-000000000000 mtime 102190]
Addr <4, 102, 57>, gen 78, links 1, type reg, flags 0, uid 0, gid 0, mode 600
len 530, nb 1 tbz 0, cow 0, zla 2, bs 65536

Notes:

Always check the system log files for the output of the vmkfstools as it may contain additional information not displayed to the screen after running the command.

Always execute vmkfstools -D against the flat file containing the disk data, not the descriptor file when looking for the tbz count.

TBZ represents the number of blocks in the disk remaining To Be Zeroed.

vmkfstools -D output in VMware ESX/ESXi 4.1 and later appears in STDOUT. Prior to ESX 4.1, it can be found in /var/log/vmkernel, and in /var/log/messages for ESXi servers.

vmkfstools -t0

This alternative switch for vmkfstools provides a verbose mapping of a stored virtual disk. To determine if a VMDK is zeroedthick or eagerzeroedthick using the -t0 switch, run the command:

# vmkfstools -t0 "/vmfs/volumes/my volume/My VM/My VM_1.vmdk"

If the output appears similar to the following, the VMDK is zeroedthick:

Mapping for file /vmfs/volumes/4a033b51-a8d5da14-8e4b-0015173e93ad/My VM/My VM_1.vmdk (25769803776 bytes in size):
[ 0: 205520896] --> [VMFS -- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 32108511232 --> 32314032128)]
[ 205520896: 3145728] --> [VMFS -- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 32104316928 --> 32107462656)]
[ 208666624: 3046113280] --> [VMFS -- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 32314032128 --> 35360145408)]
[ 3254779904: 3186622464] --> [VMFS Z- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 35360145408 --> 38546767872)]
[ 6441402368: 46137344] --> [VMFS -- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 38546767872 --> 38592905216)]
[ 6487539712: 2099249152] --> [VMFS Z- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 38592905216 --> 40692154368)]
[ 8586788864: 7997489152] --> [VMFS -- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 40692154368 --> 48689643520)]
[ 16584278016: 9177137152] --> [VMFS Z- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 48689643520 --> 57866780672)]
[ 25761415168: 1048576] --> [VMFS -- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 57866780672 --> 57867829248)]
[ 25762463744: 7340032] --> [VMFS Z- LVID:4a033b51-95fa1612-b228-0015173e93ad/4a033b51-90caf80a-90be-0015173e93ad/1:( 57867829248 --> 57875169280)]

Note: The blocks that contain a Z have not yet been written to and are zeroed in the first attempt of the virtual machine to write data on that block.

If the output appears similar to the following, the VMDK is eagerzeroedthick:

Mapping for file My VM_2.vmdk (128849018880 bytes in size):
[ 0: 41252028416] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 255303155712 --> 296555184128)]
[ 41252028416: 1048576] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 296660041728 --> 296661090304)]
[ 41253076992: 59678654464] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 524832276480 --> 584510930944)]
[ 100931731456: 459276288] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 607191040 --> 1066467328)]
[ 101391007744: 614465536] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 584510930944 --> 585125396480)]
[ 102005473280: 1048576000] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 1066467328 --> 2115043328)]
[ 103054049280: 25165824] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 585125396480 --> 585150562304)]
[ 103079215104: 1048576000] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 2115043328 --> 3163619328)]
[ 104127791104: 25165824] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 585150562304 --> 585175728128)]
[ 104152956928: 1048576000] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 3163619328 --> 4212195328)]
[ 105201532928: 25165824] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 585175728128 --> 585200893952)]
[ 105226698752: 1468006400] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 4212195328 --> 5680201728)]
[ 106694705152: 143654912] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 5746262016 --> 5889916928)]
[ 106838360064: 66060288] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 5680201728 --> 5746262016)]
[ 106904420352: 21944598528] --> [VMFS -- LVID:47f4f954-57db7abb-a740-001e0b71e572/47f4f954-0c57c310-2622-001e0b71e572/1:( 5889916928 --> 27834515456)]

Note: All blocks have been zeroed and therefore do not contain a Z.

It is possible that a thin disk is not zeroed out but does not contain a Z . This is because the blocks are not allocated until written. For example:

# vmkfstools -t0 "My VM_3.vmdk"
Mapping for file My VM_3.vmdk (1073741824 bytes in size):
[ 0: 1073741824] --> [NOMP -- :( 0 --> 1073741824)]

vmkfstools -k

This command allows you to convert a preallocated virtual disk to eagerzeroedthick and maintains any existing data:

Note: The virtual machine must be powered off to run this command.

# vmkfstools -k "My VM.vmdk"

VMware APIs and SDKs

If the terminal is not preferred or cannot be accessed, the VMware API can be used as a means of determining a disk's format.

For additional information, see VMware APIs and SDKs Documentation and specifically the API properties eagerlyScrub and VirtualDiskFlatVer2BackingInfo in Data Object - VirtualDiskFlatVer2BackingInfo.

When the eagerlyScrub flag is set, the disk is usable for clustering applications and VMware Fault Tolerance.

Note: If the virtual disk is identified as eagerzeroed thick when using the above methods, but not reflected in the edit settings dialog of the vSphere Client, the virtual machine needs to be reloaded in order to reflect the changes. For more information, see Reloading a vmx file without removing the virtual machine from inventory (1026043).

Additional Information
For translated versions of this article, see:

Español: Cómo determinar si VMDK es zeroedthick o eagerzeroedthick (2072873)

Português: Como determinar se um VMDK é zeroedthick ou eagerzeroedthick (2046667)

日本語: VMDK が zeroedthick と eagerzeroedthick のどちらなのかを判断する (2079806)

简体中文: 确定 VMDK 是 zeroedthick 还是 eagerzeroedthick (2075852)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Copyright © 2024 VMware, Inc. All rights reserved.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant