All files suddenly became read only, the reboot halts : (
I was in the middle of working on something, and my files suddenly became read only. I couldn't open a browser. I rebooted, then got stuck on this screen (diagnostics on):
Please unlock disk sda3_crypt:
[ 15.138216] NET: Registered protocol family 38 WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Reading all physical volumes. This may take a while... Found volume group "ubuntu-vg" using metadata type 1vm2 WARNING: Failed to connect to lvmetad. Falling back to device scanning. 2 logical volume (s) in volume group "ubuntu-vg" now active cryptsetup (sda3_crypt): set up successfully
done. Begin: Running /scripts/local-premount done. Begin: Will now check root file system fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) /dev/mapper/ubuntu--vg-root] fsck.ext4 -a -CO /dev/mapper/ubuntu--vg-root /dev/mapper/ubuntu--vg-root contains a file system with errors, check forced. Inodes that were part of a corrupted orphan linked list found.
/dev/mapper/ubuntu--vg-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options) fsck exited with status code 4
done.
Failure: File system check of the root filesystem failed The root filesystem on /dev/mapper/ubuntu--vg-root requires a manual fsck
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.3) built-in shell (ash) Enter 'help' for a list of built-in commands.
(initramfs) [ 17.891055] thunderbolt 0000:06:00.0: stopping RX ring 0
[
[
17.891847] thunderbolt 0000:06:00.0: disabling interrupt at register 0x38200
17.892710] thunderbolt 0000:06:00.0: stopping TX ring 0 17.893492] thunderbolt 0000:06:00.0: disabling interrupt at register 0x38200
[ 17.894282] thunderbolt 0000:06:00.0: control channel stopped
Solution 1:
The error messages indicate that the file system contains errors, and that you should manually run fsck against the system to try and repair those errors.
you would need to boot from a live USB, and run something like
sudo fsck -f /dev/mapper/ubuntu--vg-root
Following that, assuming it was successful, you might investigate your disk health using the smart tools, and of course, maintain a backup of your data