VIRTUAL DISK TYPES

0 Comments
There are three types of virtual disks used in a virtual machine:
1. Thick Provision Lazy Zeroed – the default disk type. Space required for the virtual disk is allocated during creation. The space is zeroed on command on first write from the virtual machine. A virtual disk that is created as 10 GB will consume 10 GB of space on the datastore, regardless of the actual disk usage in the guest operating system.
2. Thick Provision Eager Zeroed – the space required for the virtual disk is allocated during the creation. The space is zeroed out when the disk is created. This type of disk takes the longest to create, but there is a performance increase, since the zeroing does not have to happen at runtime. A virtual disk that is created as 10 GB will consume 10 GB of space on the datastore, regardless of the actual disk usage in the guest operating system. Some advanced vSphere features, such as Fault Tolerance, require this disk type.
3. Thin Provision – a disk of this type uses only as much space on the datastore as needed. This means that, if you create a 10 GB virtual disk and place 3 GB of data in it, only the 3 GB of space on the datastore will be used. Note that, although the size will increase as required, it will not shrink if files within the guest operating systems are deleted. Thin provisioned disks have the lowest performance of the three disk types.
The virtual disk type is chosen during the virtual machine creation:
choosing virtual disk type
Here is a table that identifies the differences between the virtual disk types:
Disk typeCreation timeBlock allocationZeroing
Thick Provision Lazy Zeroedfastfully preallocatedoccurs when each block is first written to
Thick Provision Eager Zeroedslowfully preallocatedoccurs when the disk is created
Thin Provisionfasteston demandoccurs when block are allocated


You may also like

Aucun commentaire: