LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-02-2006, 05:29 AM   #1
Thin
LQ Newbie
 
Registered: Jul 2004
Location: Southern England
Distribution: Mandriva / Gentoo / CentOS
Posts: 27

Rep: Reputation: 15
Question 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:
2.10 How do I stop my system from fscking on each reboot? Dale Lutz, dal@wimsey.com

Q: How do I stop e2fsck from checking my disk every time I boot up.

A: When you rebuild the kernel, the filesystem is marked as 'dirty' and so your disk will be checked with each boot. The fix is to run:

rdev -R /zImage 1

This fixes the kernel so that it is no longer convinced that the filesystem is dirty.
Is this still an issue - it was from a very old FAQ. Are there any other settings I can check that may govern this?

TIA
 
Old 11-02-2006, 06:25 AM   #2
Thin
LQ Newbie
 
Registered: Jul 2004
Location: Southern England
Distribution: Mandriva / Gentoo / CentOS
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
Old 11-02-2006, 01:25 PM   #3
gearoid_murphy
Member
 
Registered: Mar 2006
Location: Ireland
Distribution: Debian Etch
Posts: 72

Rep: Reputation: 18
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 :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I reboot with a forced fsck upon rebooting? abefroman Linux - Software 4 01-09-2006 09:24 PM
fsck and reboot on FC4! lecedre Fedora 2 09-18-2005 08:11 AM
fsck on root filesystem without reboot? Barx Linux - General 3 03-29-2005 03:55 AM
Kernel 2.6.9- Reiserfs fsck, reboot, repeat Doolspin Linux - Software 0 10-27-2004 05:29 PM
Cant reboot. Inode, fsck? fedoraguy Linux - Newbie 1 08-13-2004 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration