Systems almost always fsck on reboot
Hi all
We have a set of remote systems that almost always fsck on reboot (which takes an absolute age). As most reboots are for new kernels is the following possibly relevant? Quote:
TIA |
We also have .autofsck in /
Is this a config file or a flag to fsck to always run? Googling seems to come up with conflicting info |
I presume you've checked the init.d scripts, particularly the checkfs script.
The /.autofsck file is created by the system automatically at boot time by the /etc/rc.sysinit script by simply touching the file. It has no content. The logic behind it is, that if the host went down not properly (i.e. power loss) the /etc/rc.sysinit script will find this .autofsck file at next boot time and the system can act with a default scenario or like configured within the file /etc/sysconfig/autofsck. If the hosts shuts down or reboots properly, then the .autofsck file will be erased by the /etc/init.d/halt script and no automatic filesystem check will happen next boot. this config is on old systems methinks I use debian :-) |
All times are GMT -5. The time now is 04:27 PM. |