Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I discovered that my disk was mounted read-only, which caused a lot of things to fail. Upon rebooting (perhaps that was a mistake) I had a ton of disk errors, that I had to correct by manually running fsck. After this was done I rebooted and everything appears normal.
I'm wondering why this happened? Should I be concerned that my disk is failing? Should I be concerned about the data on the disk being corrupted? I ran the smartctl long test and the drive passed. Is there something else to do? I can't even find anything in syslog about the disks being remounted, let alone something that would explain *why* they were remounted.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,156
Rep:
Usually after a certain amount of mounts without a disk check the system will force a check, usually not somthing to worry about as its just maintainence, but if as you say you had a load of errors, there could be an underlying problem, have you had any sort of system crash?
If smarctrl reports everything is ok I wouldn't worry too much but I would make sure I did a regular backup, just in case.
Maybe I wasn't clear about what happened. While the system was up the file-system was somehow remounted as read-only. I was in my windowing system with a bunch of programs running that could suddenly no longer write to the disk. This made my running system fail because I couldn't write to /tmp, for example, so things started failing left and right. It did not happen during a boot process. I'm not sure how long the system had been up...but not particularly long, maybe a couple weeks.
After rebooting the system came up in "emergency mode"---text only and some very limited selection of programs available---and said that fsck couldn't be run automatically and that I had to run it manually. I ran fsck manually and told it to correct a lot of errors.
I've been running linux for 16 years and have never observed this before. It's not normal.
errors={continue|remount-ro|panic}
Define the behaviour when an error is encountered. (Either ignore errors and just mark the
filesystem erroneous and continue, or remount the filesystem read-only, or panic and halt the
system.) The default is set in the filesystem superblock, and can be changed using tune2fs(8).
As to why it happened... possibly a power event, a strategically placed cosmic-ray (it happens), memory error (might be worth running memtest86), other hardware or PS hickup.
Other than running a good long memtest, I would update all my backups, reseat cables and cards, and monitor it but try to not worry about it if the hard disk looks OK - unless and until it happens again.
One event in 16 years is a tribute to just how good the hardware and software really are. Two events in a smaller time window is a problem worth investigating.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.