LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-08-2007, 07:34 PM   #1
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
is fsck checking file system on bootup necessary


Every now and then (well, I guess after 20 boot-ups) the message "Root has been mounted 20 times without checking. Check forced." comes up, and then fsck spends 15 minutes checking the filesystem, very fustrating when you just wanted to check your calender.

Originally I had root formatted as ext2 as I didn't know or care much about filesystems, but I have since turned it into ext3 with tune2fs.

Is it still necessary for this boot-time check with a journaling filesystem, and if not how can I turn it off? Or at least change it so it is done at shutdown.
 
Old 12-08-2007, 08:27 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,057

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
Go read this - especially the bits in red, then make a decision.
 
Old 12-08-2007, 09:30 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,300
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by samwise17 View Post
Is it still necessary for this boot-time check with a journaling filesystem, and if not how can I turn it off? Or at least change it so it is done at shutdown.
You can turn it off using "tune2fs -c -1 -i 0". There are some superstitious people who will say you should not do that. However, if the O/S detects a dirty journal during a mount operation, it will run fsck.

I have some embedded boards that run ubuntu, and I turn them off by flipping the switch on the power supply, and I have never seen the journal get corrupted.

The same goes for NTFS. I have embedded boards running embedded XP, and I can turn them off without notice, and the journal is fine.

[RANT]You can create scenarios where a journal gets corrupted, but you really have to go out of your way. This is the benefit of using technology that has been around for many years. Don't ever let someone convince you that something is "bad" just because it is "old". The wheel is very old, but I rely on it for just about everything I do.[/RANT]
 
Old 12-08-2007, 11:20 PM   #4
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Original Poster
Rep: Reputation: 15
Good link syg00, had most of what I wanted to here. Don't worry I use a Puppy Linux liveCD for all the root filesystem changes.
A word about my hard drive set up, I have a root partition with ext3 and a /home partition with ReiserFS, as well as another small ext3 partition with a puppy linux frugal install and grub, and an ntfs one from the vestigial XP dual boot (now only used as a music and video storage partition).
I think I will enable enable full journaling and directory indexing. Every time i've had to do a hard reboot the kernel worked this out and ext3 did a recovery, so I think it should be ok to turn off the count/time checking. All of the stuff I really don't want to lose is in /home on a different partition and filesystem, and backed up on usb/at work/at uni anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 damaged my file system Dr_Death_UAE Linux - General 10 02-03-2010 08:21 AM
Running fsck (or e2fsck) on root file system... xbill311x Linux - Newbie 2 01-02-2006 10:54 PM
[LFS 61][failed fsck] with reiser file system mr_demilord Linux From Scratch 3 10-13-2005 04:56 AM
booting file system errors => cannot run fsck snake_eye Slackware 7 08-26-2004 01:18 PM
checking file system is long av62 Linux - Software 6 05-12-2003 05:17 AM


All times are GMT -5. The time now is 11:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration