fsck after power outage / shutdown?

autumnwalker
Posts: 30
Joined: Sat Jan 08, 2011 10:52 am
Location: Nova Scotia, Canada

fsck after power outage / shutdown?

Postby autumnwalker » Tue May 10, 2011 4:43 pm

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)?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: fsck after power outage / shutdown?

Postby moredruid » Tue May 10, 2011 11:23 pm

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 2 guests