View Full Version : [ubuntu] AutoFSCK

May 1st, 2008, 03:38 AM
On the desktop edition you can install AutoFsck
to run the periodic fsck when the system powers down rather than facing the delay or running when you power on.

This utility is really very good but it depends on a gui.

Is there any way of accomplishing the same for the server edition?

May 1st, 2008, 10:48 AM
I've been talking to expatCM via email about this, and have thrown together a server 'shutdown call' version of autofsck for him, you can find it here for now:

This version is designed for people who have servers, perhaps home servers, which they do not leave on all the time, maybe they're shut down overnight by a cron job.

Download this file, rename it to whatever you want, make sure it's executable, and put it somewhere convenient.

When you want to shut down your server, simply call this script (or get cron to do it for you).

I'm looking into incorporating this into AutoFsck, or simply making an AutoFsckServer edition, we'll see.

For now, I hope this helps.

May 1st, 2008, 12:41 PM
This really is excellent and has exactly solved my need.

Thank you very much indeed for this and in such a fast response time.

I look forward to seeing formal release of the Server Edition ... :)

March 28th, 2009, 07:19 PM
Thanks for the script.
But there seems to be a big bug!
It checks my filesystem after a reboot EVERYTIME i shut down the machine, insted of every 30th time. can someone see the bug in the script??
i couldnt find it. please help me, this would be so useful

March 29th, 2009, 07:57 PM

July 14th, 2009, 02:19 AM
Is this still a problem for you?