I am going to be doing some manual copying of vmdk files from one ESX datacenter to another. When I look a machine with a snapshot it will have the following line:
The new dataceter will be using NFS instead of FC. How can I create luns with the same ID "497a512c-19fe59a2-05fd-001f290a67f6" so I do not have to rename a bunch of files?
Also how does ESX know the ID and keep it the same on every host? Does it read it from a file on the lun? How would that work with NFS?
It's probably best that you commit the snapshots prior to moving the VM, snapshots in general should not be kept for long period of duration. This will also help simply the move, but if you have to keep the snapshots once you copy the VM to your destination and re-registering the VM, the information should be automatically updated by the ESX host. If it does not for whatever reason, you can always get the datastore UUID by doing something like the following:
[root@himalaya root]# vdf -h -P .... /vmfs/volumes/49c69ee4-9830be56-c69d-003048670886 29G 8.4G 21G 28% /vmfs/volumes/himalaya-local-SATA.SSDstorage /vmfs/volumes/d32c5a97-e039bdbf 1.3T 531G 817G 39% /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups
You'll get the datastore UUID matched up with the datastore name
VMware vExpert 2009
there's no way you can create volumes with the same ID... it's a unique ID and there's a very good reason for that. The ID is hidden in the volume header / metadata of the volume.
VMware Communities User Moderator
If you find this information useful, please award points for "correct" or "helpful".