After a power outage, where everything went down, all SharePoint databases have Recovery Pending status. It was a relatively fresh install and no backups have been made yet (don't shoot me, I'll do it myself).
When I try to open them I get not accessible like this one https://dba.stackexchange.com/questions/21817/sql-server-2008-the-database-dbname-is-not-accessible But the permissions had been fine until the outage, so I do not think it could be that. Currently I cannot assign permissions for the non-accessible databases, because they throw not-accessible error.
I tried restarting everything from the scratch, making sure that storage, witness disk, etc. were available before SQL service kicked in - same issue.
All non-SharePoint databases on that SQL are just fine, working, responding and fully available.
SQL 2014, clustered. SP 2016.
Please advise.