vSphere 5.x Storage vMotion does not rename virtual machine files on completing migration
search cancel

vSphere 5.x Storage vMotion does not rename virtual machine files on completing migration

book

Article ID: 324625

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • You rename a virtual machine in the VMware vSphere Client, but the .vmdk disks are not renamed following a successful Storage vMotion task.
  • You perform a Storage vMotion of the virtual machine to have its folder and associated files renamed to match the new name. The virtual machine folder name changes, but the virtual machine file names do not change.


Resolution

This issue is resolved in:

After upgrading the vCenter Server, the required variable for this functionality is not enabled by default. Further steps are required to completely resolve the issue on affected systems.

To completely resolve this issue after updating the vCenter Server, add the provisioning.relocate.enableRename advanced parameter to vCenter Server and set its value to true:

Note: The default value for provisioning.relocate.enableRename is false.

  1. Log in to the vSphere Client as an Administrator.
  2. Click Administration > vCenter Server Settings.
  3. Click Advanced Settings.
  4. Add this advanced parameter key:

    provisioning.relocate.enableRename

  5. Set the value to:

    true

  6. Click Add.
  7. Click OK.
  8. Restart the VMware VirtualCenter Server service for the changes to take effect. For more information, see Stopping, starting, or restarting vCenter services (1003895).


Additional Information

Note: The . nvram file does not get renamed when virtual machine is powered on during Storage vMotion. The oldname.nvram will remain.

For information regarding renaming the . nvram file, see Renaming a virtual machine and its files in VMware ESXi and ESX (1029513).

Note: When provisioning.relocate.enableRename is created in vCenter Server, the key is renamed to config.provisioning.relocate.enableRename.

How to stop, start, or restart vCenter Server services
Renaming a virtual machine and its files in VMware ESXi and ESX
Storage vMotion fails for virtual machines with multiple disks in different datastores
移行の完了時に vSphere 5.x Storage vMotion で仮想マシンのファイルの名前が変更されない
vSphere 5.x Storage vMotion 在完成迁移时不重新命名虚拟机文件