Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-18-2004, 10:42 AM   #1
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Rep: Reputation: 15
schedule 'e2fsck' to run on startup, possible?

Is it possible to schedule e2fsck to run on startup? since when i try to run it, it says it's dangerous to run it on an actively mounted partition.
Old 02-18-2004, 01:15 PM   #2
Registered: Aug 2002
Posts: 13,455

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
Yes and your system should be already configured.

Look at the last value in the /etc/fstab file entry.
An example
/dev/hda / ext3 defaults 1 1

Look at the last digit. Anything >0 will perform a check according to how the filesystem was setup. The value is based on priority with 1 being the highest. See man pages for fstab for more help.

You can change how often using the tune2fs command.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to schedule startup time wolfipa Linux - General 4 09-01-2006 11:55 PM
e2fsck startup problem abattoir Mandriva 2 09-25-2005 10:00 AM
Schedule a Script to Run nutthick Linux - Newbie 8 02-02-2005 01:37 PM
schedule job to be run at 8:00pm every night ashley75 Linux - General 22 10-24-2003 01:44 PM
how do i schedule events to run daily. ThaddNZ2003 Linux - General 2 03-10-2003 11:59 AM

All times are GMT -5. The time now is 06:14 PM.

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