LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-26-2007, 10:06 PM   #1
gavyn
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Rep: Reputation: 0
Unhappy stopping fsck running at startup


Every now and again when rebooting my computer I get a message
saying something like "disk not checked for 25 times, doing forced check"
and then fsck runs on each of my disks.
Is there a way to stop this happening at bootup or at least do it while I sleep so I don't have to wait forever while all my disks are checked?

thanks
 
Old 08-26-2007, 10:11 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
What filesystem are you using?
 
Old 08-26-2007, 10:24 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
man tune2fs
http://linux.die.net/man/8/tune2fs
 
Old 08-26-2007, 10:48 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Have a read of this for a bit more depth.

Note the warnings; especially the big red ones ....
 
Old 08-29-2007, 03:50 AM   #5
gavyn
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks syg00 that link was quite useful,
I changed the last column of my /etc/fstab to 0's and now I'm pretty sure it's stopped making those time consuming checks.
 
Old 08-29-2007, 01:31 PM   #6
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
I want to propose a workable compromise.

From the tune2fs man page:

Quote:
-c max-mount-counts
Adjust the number of mounts after which the filesystem will be
checked by e2fsck(8). If max-mount-counts is 0 or -1, the num-
ber of times the filesystem is mounted will be disregarded by
e2fsck(8) and the kernel.

Staggering the mount-counts at which filesystems are forcibly
checked will avoid all filesystems being checked at one time
when using journaled filesystems.
By default max-mount-counts is 30. Set a different one for each partition and the time spent waiting for fsck to complete becomes just about negligible.

It takes me longer to make my coffee than for my PCs to boot!
 
  


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
fsck on startup tyloris Linux - Software 1 01-31-2006 02:20 PM
Stopping X from booting at startup in FC3 obelxi Linux - General 2 03-17-2005 04:55 PM
stopping mysql during startup snutz411 Linux - General 2 02-28-2005 10:53 AM
stopping things from loading at startup neverwhere Linux - General 2 10-01-2004 01:04 PM
Stopping a startup service MrJoshua Linux - General 1 05-15-2002 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:07 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