Page 1 of 1

fsck after power outage / shutdown?

Posted: Tue May 10, 2011 4:43 pm
by autumnwalker
Hi Folks,

I have had a couple power outages recently and was forced to run fsck on my Amahi box in order to get it back up and running. I finally had enough of this and purchased a UPS this evening. I powered down my server, installed the UPS, and powered back up presented with another disk check failure and being told to manually run fsck. Obviously, it's not an improper dismount as I shut the server down via the HDA control panel (http://hda).

Does anyone have an idea as to why my server forces fsck after it loses power (expected power down or outage)?

Re: fsck after power outage / shutdown?

Posted: Tue May 10, 2011 11:23 pm
by moredruid
Well, it's quite normal to run an fsck after a power outage (sudden power loss). It is not normal to have it each time the server is booted.

you may want to check it again, just do a normal shutdown/start and see if fsck runs again. If it does then there's something wrong in the shutdown process (no sync command issued?). You can check this by ssh-ing to your server and issueing the following commands: sync && shutdown -h now
after that, turn the system on and see if there's still an fsck needed, it probably won't.

If it does I recommend you run smartctl on all your devices to check for disk failures.