[Webinar] Learn how to a build a cloud-first strategyRegister Now


Get/Set UUID for VMDK on ESXi 5

Posted on 2012-08-31
Medium Priority
Last Modified: 2013-12-13
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?
Question by:DFPITC
  • 2
LVL 124

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 38357497
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


Author Comment

ID: 38358086
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

Expert Comment

ID: 39716930
The -J setuuid isn´t working on ESXi 5.0 1311175. The Parameter is invalid. Does anyone has the solution?
LVL 124
ID: 39717015
@schweitzerm Post a new EE Question and myself or other experts will be glad to assist.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
Suggested Courses

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question