Score:0

Increasing memory giving error in VMware ESXi

yt flag
Dev

I'm getting this error when I tried to increase the memory of a VM in VMware ESXi

Failed to reconfigure virtual machine XXX. Unable to access file [VMS] XXX/boot.vmdk

boot.vmdk is already exist but still I'm getting this error.

  • VMWARE ESXi version is: 6.7.0 Update 2
  • Running DellEMC Customized version of VMware ESXi Image
Rachel avatar
bs flag
Please check if you can access the file from datastore and see if you are seeing any errors in the datastore.
Dev avatar
yt flag
Dev
We already checked it. There are no errors and the guest machine bootup without any issue
in flag
Please check the section 'Corrupt VMDK File' in the KB article [Verifying ESX/ESXi virtual machine files](https://kb.vmware.com/s/article/1003743).
in flag
So, the issue occurs when you edit the VM, not when you try to turn it on? And the only thing you changed is the amount of RAM?
in flag
Is the host standalone or managed by vCenter? Are there any related entries in the event log of the host that might contain more information?
Dev avatar
yt flag
Dev
Correct, the Machine powers up without any issue but when I tried to edit the configuration for RAM I'm getting the error Failed to reconfigure virtual machine XXX. Unable to access file [VMS] XXX/boot.vmdk
Dev avatar
yt flag
Dev
@GeraldSchneider - How can we check the event log of the host?
Dev avatar
yt flag
Dev
VMDK file is proper and boots up the machine without any issue so I don't think it's corrupted
in flag
Monitor -> Events; Tasks could also contain related tasks.
Dev avatar
yt flag
Dev
Yes, We checked in Events and Tasks there are no additional message. Only message showing which I posted "Failed to reconfigure virtual machine XXX. Unable to access file [VMS] XXX/boot.vmdk"
in flag
Well, I'd still check the disk file for corruption (`vmkfstools -x check boot.vmdk`), I've seen some weird behaviour with corrupt VMDK files. If that doesn't show any problems I'd most probably just recreate the VM with the existing disks and the needed amount of memory.
Dev avatar
yt flag
Dev
Okay, I'll try that. Thanks for your help
Score:0
in flag

Check the disk file for corruption (vmkfstools -x check boot.vmdk), I've seen some weird behaviour with corrupt VMDK files.

To that connect via SSH, go to the location of the VM files (/vmfs/volumes/$volumename/$vmname) and run the command there.

If that doesn't show any problems you can either edit the .vmx file manually to increase the memory (deregister the VM before you do that and register it again afterwards) or you can recreate the VM with the existing disks and the needed amount of memory.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.