Ever since following this tutorial to migrate my sistem from my HDD to my SSD I have been getting an intermittent error where running any command I get something like this:
sudo: unable to open /var/lib/sudo/foo/0: Read-only file system sudo: unable to execute /sbin/fsck: Input/output error
And the only way I can fix it is by hard rebooting my machine.
This used to happen ruffly once every two weeks and I have no idea why.
Now it happens every Sunday at ~8:00 am.
I really have no idea where to start when debugging this issue any tips would be greatly appreciated. I have done tests on my RAM and on my SDD but nothing seems to be untoward to me. I am sorry for such an open ended question but I am desperate to solve this issue ASAP.
Replaced the 2010 sandisk SSD and hasn't happened since. Moral of the story - don't buy old SSDs on eBay :)