My system often goes into Read-Only mode. System details:
Linux amrav 3.19.0-78-generic #86~14.04.1-Ubuntu SMP Tue Dec 6 17:58:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Output of some of the commands which I tried from other answers on stackoverflow.
$ dmesg | grep "error"
[ 25.457633] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[ 27.346559] [drm:intel_uncore_check_errors [i915]] *ERROR* Unclaimed register before interrupt
I even get the following error while trying to access (copy a file) from a certain directory in the hard disk:
There was an error copying the file into /home/amrav.
Error opening file '/home/amrav/train_iter_.txt': Read-only file system
And whenever I start the terminal, I get the following error:
mktemp: failed to create file via template ‘/tmp/setup.sh.XXXXXXXXXX’: Read-only file system
Could not create temporary file:
mktemp: failed to create file via template ‘/tmp/setup.sh.XXXXXXXXXX’: Read-only file system
Could not create temporary file:
zsh: locking failed for /home/amrav/.zsh_history: read-only file system: reading anyway