The operating system returned error 21 (The device is not ready.)
24
votes
8
answers
97411
views
Every time I reboot Windows, for some databases I get this error:
> The operating system returned error 21(The device is not ready.)
1. I checked the disk with
chkdsk /r
- no bad sectors.
2. I executed DBCC CHECKDB
with no errors:
*(CHECKDB found 0 allocation errors and 0 consistency errors in database)*
3. If I restart SQL Server the errors disappear.
Windows 10 and SQL Server 2016 Express.
Asked by Max
(491 rep)
Mar 1, 2017, 10:15 AM
Last activity: Apr 17, 2025, 09:10 AM
Last activity: Apr 17, 2025, 09:10 AM