VMware vSAN 7.x
VMware vSAN 8.x
The VMs exhibiting the inaccessible vSAN datastore retained the configuration reference (an attached ISO file under the CD/DVD drive) to the older, decommissioned vSAN datastore. This configuration prevents vCenter from automatically cleaning up the stale datastore entry and causes the stale vSAN datastore to be shown in the VM configuration.
To resolve this issue, detach the ISO image that is currently mounted to the CD/DVD drive of the affected Virtual Machine(s).
Edit the VM's settings .
Navigate to the CD/DVD drive connection settings.
Change the drive connection from "Datastore ISO File" (which points to the inaccessible vSAN datastore) to "Client Device" or simply select "None" (if available).
Save the changes.
Once the ISO reference is detached from all affected VMs, the stale inaccessible vSAN datastore entry will be automatically removed from the VM configuration and from the main vCenter Datastores view.