Virtual machine scoreboard file is not renamed after Storage vMotion
search cancel

Virtual machine scoreboard file is not renamed after Storage vMotion

book

Article ID: 444410

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

When renaming a virtual machine and performing a Storage vMotion to match the file names with the new inventory name, most configuration and disk files (such as .vmx, .vmdk) are automatically updated to the new name. However, the .scoreboard file will retain its Old VM Name and will not be changed from <Old_VM_Name>.scoreboard to <New_VM_Name>.scoreboard. 

 

Environment

VMware vSphere ESXi 

VMware vCenter Server

Cause

The scoreboard file name is explicitly defined by the advanced virtual machine parameter vmxstats.filename. While Storage vMotion automatically updates the names of primary configuration files such as .vmx and .vmdk, it does not dynamically modify the values of specific advanced configuration parameters. Consequently, the original file name is retained in the parameter value.

Resolution

To resolve this issue, the configuration parameter must be manually aligned using the following steps:

  1. Power off the virtual machine

    Gacefully shut down the guest operating system and power off the virtual machine.

  2. Modify advanced parameter.

    Right-click the virtual machine in the vSphere Client inventory and select Edit Settings.

    Navigate to the Advanced Parameters tab.

    Search for the parameter name: vmxstats.filename

    Update the value to: <New VM Name>.scoreboard

    Click OK to save the configuration change.

Additional Information

Renaming a virtual machine and its files in vSphere