From 64bcc122e884ab9ec2ca41953c98fbcd9179bd54 Mon Sep 17 00:00:00 2001 From: Lana Brindley Date: Fri, 19 Jun 2015 14:34:45 +1000 Subject: [PATCH] Added Thin/Thick description to VMDK driver section As per bug, added descriptions of Thin and Thick disk types to the VMDK driver section. Change-Id: I9968048f6c10939a9c16afbda23fbe040ce49692 Closes-Bug: #1212310 --- .../drivers/vmware-vmdk-driver.xml | 38 +++++++++++++------ 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/doc/config-reference/block-storage/drivers/vmware-vmdk-driver.xml b/doc/config-reference/block-storage/drivers/vmware-vmdk-driver.xml index dee3c0ef8a..cd2ea50e19 100644 --- a/doc/config-reference/block-storage/drivers/vmware-vmdk-driver.xml +++ b/doc/config-reference/block-storage/drivers/vmware-vmdk-driver.xml @@ -55,14 +55,31 @@
VMDK disk type - The VMware VMDK drivers support the creation of VMDK - disk files of type thin, - lazyZeroedThick, or - eagerZeroedThick. Use the - vmware:vmdk_type extra spec key with the - appropriate value to specify the VMDK disk file type. The - following table captures the mapping between the extra - spec entry and the VMDK disk file type: + The VMware VMDK drivers support the creation of VMDK disk file + types thin, lazyZeroedThick + (sometimes called thick or flat), or eagerZeroedThick. + + + A thin virtual disk is allocated and zeroed on demand as the space + is used. Unused space on a Thin disk is available to other users. + + + A lazy zeroed thick virtual disk will have all space allocated at + disk creation. This reserves the entire disk space, so it is not + available to other users at any time. + + + An eager zeroed thick virtual disk is similar to a lazy zeroed thick + disk, in that the entire disk is allocated at creation. However, in + this type, any previous data will be wiped clean on the disk before + the write. This can mean that the disk will take longer to create, + but can also prevent issues with stale data on physical media. + + + Use the vmware:vmdk_type extra spec key with the + appropriate value to specify the VMDK disk file type. This table + shows the mapping between the extra spec entry and the VMDK disk + file type: @@ -91,9 +108,8 @@
Extra spec entry to VMDK disk file type mapping
- If you do not specify a vmdk_type extra - spec entry, the default disk file type is - thin. + If you do not specify a vmdk_type extra spec entry, + the disk file type will default to thin. The following example shows how to create a lazyZeroedThick VMDK volume by using the appropriate vmdk_type: