24 febrero 2013

Are my VMDK eager zeroed or lazy? vmkfstools -t0

How to know if a VMDK was created with "Thick Provision Eager Zeroed" or with "Thick Provision Lazy Zeroed? It´s so simple with some basic commands from cli: vmkfstools -t0


Example: vmkfstools -t0 "/vmfs/volumes/Datastore/VirtualMachine01 Disco01.vmdk"





Thick Provision Lazy Zeroed
Creates a virtual disk in a default thick format. Space required for the virtual disk is allocated when the virtual disk is created. Data remaining on the physical device is not erased during creation, but is zeroed out on demand at a later time on first write from the virtual machine.
Using the default flat virtual disk format does not zero out or eliminate the possibility of recovering deleted files or restoring old data that might be present on this allocated space. You cannot convert a flat disk to a thin disk.
Thick Provision Eager Zeroed
A type of thick virtual disk that supports clustering features such as Fault Tolerance. Space required for the virtual disk is allocated at creation time. In contrast to the flat format, the data remaining on the physical device is zeroed out when the virtual disk is created. It might take much longer to create disks in this format than to create other types of disks.
Thin Provision
Use this format to save storage space. For the thin disk, you provision as much datastore space as the disk would require based on the value that you enter for the disk size. However, the thin disk starts small and at first, uses only as much datastore space as the disk needs for its initial operations.

No hay comentarios:

Publicar un comentario