VMware Cloud Community
poonamv
Contributor
Contributor

How to promote the online linked clone vm disks?

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:\WINDOWS\system32> $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.”,

https://vdc-repo.vmware.com/vmwb-repository/dcr-public/eda658cb-b729-480e-99bc-d3c961055a38/dc769ba5...

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?

0 Kudos
0 Replies