LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-19-2010, 04:15 AM   #16
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146

Well, I'm a fanboy but...

JFS check itself every boot. They are amazingly fast, less than second.

Whats great about this?

No more problems, no more hour waits, no more "Forced Checks"...

It works, works fast, and is stable.

if you are interested in File Systems, check it out
 
Old 07-21-2010, 06:07 AM   #17
hatzfeld
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Root has been mounted x times without being checked. Check forced.

Peter wrote about forced fsck checks during system boot:

Quote:
Originally Posted by Peterken View Post
beside from increasing the number of start-ups after which this check runs, is there another way to avoid this?
Isn't there a way to do a check after the os has been loaded?
For my SuSE 11.1 system (probably also for other recent SUSE (!) systems) I have found a way:

Edit as root both (!) files /etc/init.d/boot.rootfsck and /etc/init.d/boot.localfs by adding after the line

FSCK_RETURN=$?

this line:

if test $FSCK_RETURN -eq 32 ; then FSCK_RETURN=0; fi

Now when you are annoyed by watched the "check forced" message just press Ctrl-C.

Bye,
Hatto
 
Old 07-21-2010, 08:48 AM   #18
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,142

Rep: Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127
How hard would it be to make a check of the / partition occur by user option on shutdown rather than automatically on boot?

A few details about what to edit/install for one of Mepis, Debian or Ubuntu would greatly appreciated.

During shutdown, the / partition is ultimately unmounted. Is there a way to check some flag at that point and then do the file system check before the true shutdown?

I'm sure there is a way (but too complicated for me to work out all the details) to:
1) Have a menu option next to the ordinary shutdown option that claims to be "shutdown after checking fs" but actually sets some flag and restarts the system.
2) During restart if that flag is set, check the fs, clear the flag, and shutdown.

That would appear to the user to be a file system check on shutdown even thought it would really be on startup.
 
  


Reply

Tags
boot, check, ext2, ext3, fsck, linux, mounting, suse, tune2fs


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
When "not cleanly unmounted", why the "check forced" is not not applied at boot? frenchn00b Debian 1 09-06-2009 12:21 PM
Data transfer online is slow "at times" or "stops at times" Balarabay1 Suse/Novell 14 04-30-2006 11:00 AM
Mandrake 10.1 hangs at "Checking root file system" while booting ananya Mandriva 1 03-01-2006 07:03 PM
"forced check" when booting Joe Soap Linux - Newbie 6 10-10-2002 03:25 AM
"File system with errors, check forced" Luis Rosso Linux - General 5 02-02-2001 08:26 PM


All times are GMT -5. The time now is 03:59 AM.

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