Get/Set UUID for VMDK on ESXi 5

In older versions of ESX, you used to be able to run this command to get / set the UUID of VMDK files:

vmkfstools -J getuuid /vmfs/volumes/datastore/VM/vm.vmdk
vmkfstools -J setuuid /vmfs/volumes/datastore/VM/vm.vmdk

If I run vmkfstools now, it doesn't have the "-J" option

How do I get/set the UUID of VMDK files in ESXi 5?
DFPITCAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
This still works for me in VMware vSphere ESXi 5.0 Build Number: 768111

See here

vmkfstools -J getuuid /vmfs/volumes/nfs-data/TestXPforEE/TestXPforEE.vmdk

UUID is 60 00 C2 96 2b f5 a0 e0-87 36 be 83 48 5a f8 35

/vmfs/volumes/eff44beb-2c974ed7/TestXPforEE #

Also a screenshot:-

 get UUID with vmkfstools -J getuuid
This article still lists it as present

http://kb.vmware.com/kb/1021189
0
 
DFPITCAuthor Commented:
ok, it seems that if you ssh in it works, even though if you do vmkfstools --help it doesn't appear.

So, cool, problem solved
0
 
schweitzermCommented:
The -J setuuid isn´t working on ESXi 5.0 1311175. The Parameter is invalid. Does anyone has the solution?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@schweitzerm Post a new EE Question and myself or other experts will be glad to assist.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.