Fuzzy Logic

Because things aren't confusing enough…

rainbow

Posts Tagged ‘fsck’

Well fsck that…

I got home today and booted up my Ubuntu Linux (8.04) server that had been down most of the semester and got some fun errors.  Now, the reason it was down in the first place was because the CMOS battery was out which caused hell with the system’s security features and I hadn’t bothered to get a new CMOS battery.  So I boot it up and walk upstairs to set up my desktop.  I come back downstairs and get this ever friendly message:

* An automatic file system check (fsck) of the root filesystem failed.  A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode.

So, basically, my main filesystem was broken somehow.  Adding insult to injury, of course, was the fact that the thing that was shown as causing the problem was S01E02 of Firefly, which I was considering watching soon.  Great. On a strange note, the other place that was giving me trouble was on /etc/acpi/suspend.d/10-thinkpad-standby-led.sh. As for the problem itself,  I know why it happened, of course–this server only goes down when the power goes out and I would imagine that the file reference didn’t get correctly written to the journal before the server crashed. So, after multiple “Multiply-claimed block(s) in inode: x: xxxx xxx” errors, it finally told me to reboot.  After doing so, it fscked the disk again and then had me reboot AGAIN.  Awesome.  That finally let it work though, so I can’t complain.  Now to get a new CMOS battery…