I had a disk failure on a NAS device that had a iSCSI target that hosted non-critical database mdf files. I was not able to recover the data on the iSCSI target. I have backups of the databases, however when I try to delete, drop, detach, take offline, or restore the databases I receive the following error:
The operating system returned error 21(The device is not ready.) to SQL Server during a read ay offset 0x00000000001c000 in file 'I:\ProGet.mdf'.
How can I remove this database from the server so I can restore the database from my backup files?