What to check
Record if the console was in use or Rest Mode and any message it gives. Back up data if normal access returns.
What your result tells you
The history helps separate a repeated interrupted-write event from a persistent storage or power problem.
Manufacturer troubleshooting and reference
Get help with this issue
PlayStation stuck in Safe Mode