Translate

Total Pageviews

My YouTube Channel

Wednesday, 29 May 2019

How to Find Out which Replica Disk is Used by Linked Clone VM

Scenario : Customer was looking for knowing that which Replica Disk your linked clone VM is using, so that they can power off one of vm associated with that replica  and recompose can create new replica disk only for that datastore VM.

How to Find Out this Info:
1. Login to ESXi Shell
2. Execute this command
find /vmfs/volumes/ \( -size -1500c \) -name *.vmdk -exec grep replica {} -H \; | grep 'parentFileNameHint=' > replicalist.txt

3. Then Execute this command
sed s/:/'-->>'/ < replicalist.txt >replicalist2.txt

4. Run this command
Cat replicalist2.txt

You will get output like this:-



No comments:

Post a Comment