This article is intended  to guide you on how to resolve vmdk related bug on the ESXI V.7.0.3K where vmdk is not usable on new or old datastores


Solution


Step 1: Gather VM id

  • vim-cmd vmsvc/getallvms


Step 2: Check vmdk id

You can see the vmdk id from the vm properties



Step 3: Access esxcli  in ssh to work from command line


Step 4: With data collected insert

On esxcli insert the following, replace the disk path and information as requested

  • vim-cmd vmsvc/device.diskaddexisting <vmid> </vmfs/volumes/pathToDisk.vmdk> 0 1

    consider this an example:

  • vim-cmd vmsvc/device.diskaddexisting 9 /vmfs/volumes/cc0cb3a6-f2e17fd1/Zabbix/Zabbix.vmdk 0 1



If further errors are reported, reach our support team