Total Pageviews

My YouTube Channel

Wednesday, 5 November 2014

Determining which replica disk is used for a linked clone virtual machine (1031842)


This article provides information to determine which linked clones are associated to a replica virtual machine.


To determine which linked clones are associated to a replica virtual machine:
From the ESX console:
Note: To use this method, you require access to the console of one ESX server hosting the View desktop. For ESXi, use Technical Support mode. For more information, see Tech Support Mode for Emergency Support (1003677) or Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  1. Log in to the ESX host and su to root (if required). In ESXi connect to the console, press Alt + F1 and type unsupported.
  2. Run the command:

    find /vmfs/volumes/ \( -size -1500c \) -name *.vmdk -exec grep replica {} -H \; | grep 'parentFileNameHint=' > replicalist.txt
  3. Run the command:

    sed s/:/'-->>'/ < replicalist.txt >replicalist2.txt
  4. Run the command:

    less replicalist2.txt
    The output is similar to:


    The Linked Clone virtual machines and the replicas are separated by -->>. The Linked Clone desktops are to the left and the replica is to the right. In addition to Pool Desktops, other virtual machines are also listed.

    The replica name shown in vCenter Server is longer than the folder name and .vmdk name in the datastore.

    For example:
    • vCenter Server name – replica-ae5923a9-4991-41e7-ba03-07c61429d839
    • vmdk name – replica-ae5923a9-4991-41e7-ba03-.vmdk
      Source KB