Hey /g/, I'm hoping somebody with more Linux knowledge than me could give me some input.
I have a home server running Debian jessie off of an USB3 flash drive. Things started going wrong and I noticed that / had been mounted read-only during normal runtime. I got this shit in dmesg, indicating some FS errors (it's ext4, obviously):
[1987815.246293] EXT4-fs error (device sdg2): ext4_iget:4087: inode #785182: comm bash: bad extra_isize (3988 != 256)
[1987815.253209] Aborting journal on device sdg2-8.
[1987815.254240] EXT4-fs error (device sdg2) in ext4_reserve_inode_write:4923: Journal has aborted
[1987815.261218] EXT4-fs (sdg2): Remounting filesystem read-only
[1987815.402643] EXT4-fs error (device sdg2): ext4_iget:4087: inode #785182: comm bash: bad extra_isize (3988 != 256)
...
So, obviously there's some corruption, I don't know if the USB drive went bad or not. The machine is still up right now with / mounted as ro. What I want to do is make sure I don't lose my configured OS install.
I'm thinking I should just shut down the server and fsck the drive on my desktop and see what happens, any better ideas?
Should I back up config files and shit, is there a chance I won't be able to mount it at all if I turn my server off now?