I am trying to work with a sample database to better understand disaster recovery. I have setup a scenario with a full backup, several differential backups and several transaction log backups.
In order to simulate a crash, I renamed one of the '.ndf' files and restarted the sql server service. Ideally this would put the database in 'offline' or 'suspect' mode. I should then be able to go in via Mgmt Studio and perform a final backup log to get all the records at the tail of the log.
However, when i am unable to access the database via SSMS - I get the following error:
Msg 945, Level 14, State 2, Line 1
Database 'xxx' canot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.