https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IzMTU1IiwiaGFzaCI6ImViNGM1YWM0LTBlYjktNDIzMC04YTQzLWYzNTM3OThjYTQ4OCJ9
1-800-691-1991 | 9am - 8pm ET
EN

Cannot edit configuration of VMware VM via ESXi after Instant Recovery from Veeam Agent backup

Challenge

When you complete Instant VM Recovery from the Veeam Agent backup, then try to edit the VM configuration via ESXi, the following error occurs:
"Enter a disk size which is larger than its original capacity."

Then you try to edit the decimal virtual disk size via ESXi, and another error occurs:
"Failed to reconfigure virtual machine %VM_name%. Invalid operation for device '%device_number.'"

When you try to edit the decimal virtual disk size via vCenter, no error occurs.

Cause

Instant recovery of physical servers does not round up the size of the disk by design. That is why Veeam Backup & Replication might create virtual disks with decimal sizes. If you perform Quick Migration after the recovery, the disks will remain decimal. Due to the VMware bug, ESXi cannot edit the VM configuration with the decimal disk size.

Solution

If you have vCenter, use it as a workaround to successfully edit the VM configuration.

If you do not have vCenter, you need to extend each decimal virtual disk size manually via vmkfstools:
  1. Connect to ESXi that hosts the VM, then go to the VM directory: cd/vmfs/volumes/%datastore_name%/%VM_name%/.
  2. Keep in mind the name of the VMDK file which size you want to increase. Please, ensure that you run the command below on the VMDK file and NOT on the FLAT-VMDK file or the SESPARSE file.Run the following command: 
    vmkfstools -X NGB %VM_name%.vmdk
    where "N" is the rounded-up value (for example, if the virtual disk size is shown as 59,5123213218GB, then enter 60GB).
  3. Remove the VM from the inventory, and re-register it.

More information

To learn more about extending a virtual disk with vmkfstools, see this VMware Docs article.
KB ID:
3155
Product:
Veeam Agent for Linux, Veeam Agent for Microsoft Windows, Veeam Backup & Replication
Version:
Any
Published:
2020-04-24
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.