Unable to power on the virtual machine
It fails with warning : "The storage backing virtual disk vmname.vmdk has permanent device loss. You may be able to hot remove this virtual device from the virtual machine and continue after clicking Retry. Click Cancel to terminate this session."
vcenter : 8.x / 7.x
Esxi host: 8.x / 7.x
Esxi host is unable to see the datastore inventory for a specific LUN. It shows 0B.
VM files becomes inaccessible, hence vm power on state gets hung.
Storage can be re scanned from the affected Esxi host
vmkfstools -v localcli storage core adapter rescan --all
Re-register vm
https://knowledge.broadcom.com/external/article/335224/how-to-register-or-add-a-virtual-machine.html