Hi,
I'm looking for the way to change the location of the datastore.
[Before]
Datastore A
ds:///vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx0
naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[After]
Datastore A
ds:///vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx1
naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The datastore name and naa id must be the same.
Is there any command to realize this?
Hi!
There is no officially supported method to change VMFS UUID.
It's much-much easier just to re-attach vmdk to VM or just edit the path to it in VMX file.
Please provide more detailed information.....
Regards,
Randhir
Hi ranchuab,
Thank you for your reply.
I'd like to rename the mount point name.
In the esxi shell
As is,
drwxr-xr-t /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx0
lrwxr-xr-x DatastoreA -> xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx0
To be,
drwxr-xr-t /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx1
lrwxr-xr-x DatastoreA -> xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx1
Let me explain the situation.
The location of the disk file is defined in the vmx file like.
scsi0:1.fileName = "/vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx0/vm.vmdk"
However, the location of the datastore, /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx0/vm.vmdk, does not exist due to various reasons.
The datastore is recreated in the same name. But the location info of datastore changed into different one, /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxx1, because of re-creation.
I don't want to modify the vmx file, so I'm thinking about change the location of the datastore.
Did I answer you question?
Hi!
There is no officially supported method to change VMFS UUID.
It's much-much easier just to re-attach vmdk to VM or just edit the path to it in VMX file.
Hi, Finikiez,
Thanks for your answer.
I gave up looking for it, and just ended up editing the vmx file.