We are facing an issue to promote the online linked clone vm disks on vCenter.
Linked clone vm is in power on state and it’s parent vm is in power off state.
We are using vSphere PromoteDisks() api to promote the linked clone vm.
# Executing the following command using PowerCLI:
PS C:WINDOWSsystem32> $LinkedVM.ExtensionData.PromoteDisks($true, $null);
# Exception :
disk ‘[datastorename] link1/link1_1.vmdk’ is only supported on native unmanaged linked clone disks.”
At line:1 char:1
+ $LinkedVM.ExtensionData.PromoteDisks($true, $null);
+ CategoryInfo : NotSpecified: (:) , MethodInvocationException
+ FullyQualifiedErrorId : VimException
One of the VMware KB articles mentions that “To promote the disks of a powered on VM, the VM cannot have snapshots.”,
In our case linked clone is in power on state and is not having any snapshot.
Goal is to promote the online linked clone vm.
So can we promote the online linked clone vm? What are the prerequisites for it?