The virtual disk attach operation to the virtual machine fails with the following error :
Invalid configuration for device '0'.
Device: VirtualDisk.
Provided backing file is not accessible from host.
vCenter Server 8.0
ESXi 8.0
This issue may occur if there is an abnormality in the datastore where the target virtual disk for the attach operation is located.
If there is an abnormality in the datastore where the virtual disk is located, please restore it to a normal state before performing the operation.