My disk has a few bad sectors and has already failed the SMART tests. It obviously is going down.
It gets remounted to read only and I have to fsck and reboot all over again. Is it safe for me to remove the
errors=remount-ro part from the fstab file?
Quick note: I assume when you say its "failed the SMART tests", you mean that it has one or more pre-fail attributes failing now. Not that a long self-test failed. If its just back blocks, then you just need to get them remapped, and your problem is solved—even without a new disk. (But still have backups!)
Is it safe? Well, define safe... I mean, you're continuing to use a disk that (via SMART failure) is telling you it expects severe data loss within the next day.
I hope you already have a backup. I hope you've tested that backup.
When my root HDD get damaged, the indicator just kept blinking, and the system stuck,
A temporary solution is try to fill the damaged cell blocks, first find all bad blocks with
But that would cost a great time, I don't it worth it.