VMware Cloud Community
sean_gadson
Enthusiast
Enthusiast
Jump to solution

Update Hard Disk Name

Hello,

does anyone of the capability to update the name of the Hard Disk with vRO?  For example Update "Hard Disk 1" to "Xyz"

Reply
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

There isn't even a way in any of the UIs to change/update the VMDK name. It would be a manual operation to detach the disk, rename both files (metadata and extent), then reconfigure VM adding the new name back.

View solution in original post

Reply
0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

I don't think there is an API to do that, but I may be wrong.

Have you tried to change hard disk name using some other tools, like vSphere Web client or Power CLI? If these tools allow you to change disk name, then we can check what vCenter API they use, and check if this API can be invoked from vRO scripting.

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

There isn't even a way in any of the UIs to change/update the VMDK name. It would be a manual operation to detach the disk, rename both files (metadata and extent), then reconfigure VM adding the new name back.

Reply
0 Kudos