With the VMware VMDK drivers, you can create a volume
from another source volume or a snapshot point. The VMware
vCenter VMDK driver supports the full
and linked/fast
clone types. Use the
vmware:clone_type
extra spec key to
specify the clone type. The following table captures the
mapping for clone types:
Clone type | Extra spec key | Extra spec value |
full | vmware:clone_type | full |
linked/fast | vmware:clone_type | linked |
If you do not specify the clone type, the default is
full
.
The following example shows linked cloning from another source volume:
$ cinder type-create fast_clone $ cinder type-key fast_clone set vmware:clone_type=linked $ cinder create --volume-type fast_clone --source-volid 25743b9d-3605-462b-b9eb-71459fe2bb35 --display-name volume1 1
Note | |
---|---|
The VMware ESX VMDK driver ignores the extra spec
entry and always creates a |