I have big problem with removing datastore in vCenter from on of our vSphere host.
This datastore was a iSCSI resouce from our QNAP server.
One of our Admins deleted this iSCSI resource. Now i'm seeing this datastore as empty with red error dot.
I can't delete it because it's attached to one VM in this host. I can't unmount it from this VM, can't detach, can't do anything with this.
Main problem is that this VM don't need this datastore, but i can't make backup of this VM.
Datastore error cause errors with backup proces.
Is there any way to delete this datastore with CLI on this host? I'm using vCenter & vSphere v7.
Backupgondor uses something from that datastore.
Edit Backupgondor and try again
Looks like this entry has to removed from vCenter DB , If not then bring that ISCSI Lun back present it to the host and then then follow the process of Unmount /Detatch .
1.Try to restart the management agents on the host root# services.sh restart
2, Try to remove the datastore from vCenter DB
Below articles can help you : Note Please take proper snapshots before working with vCenter DB . If you have vCenters in linked mode then please take powered off snapshots of vCenters
Please mark my comment as the Correct Answer/Kudos if this solution resolved your problem Thank you.
The VMs that were located in Gondor should appear as orphaned - cant you unregister them ?