Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Cannot Drop Database after losing iSCSI Target

$
0
0

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?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>