LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-16-2013, 07:59 AM   #1
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Rep: Reputation: Disabled
Override Filesystem Check


command executed,

mkfs.ext3 /dev/mapper/sdx1



Error thrown,

This filesystem will be automatically checked every 22 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.

How to override.
 
Old 09-16-2013, 08:04 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jojanmpaul View Post
command executed,
mkfs.ext3 /dev/mapper/sdx1

Error thrown,
This filesystem will be automatically checked every 22 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
How to override.
  1. That isn't an error, that's information.
  2. Did you bother to read the part of the line, that TELLS YOU how to override it?? I bolded it above, so try doing what the system suggests.
  3. You REALLY don't want to override that. It's there for a reason, and will help keep your system running well.
And you don't provide ANY details (version/distro of Linux, WHY you want to override it, etc.)

Last edited by TB0ne; 09-16-2013 at 08:06 AM.
 
Old 09-16-2013, 11:55 PM   #3
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Original Poster
Rep: Reputation: Disabled
I am using 2.6.32-279.el6.i686 kernel of CentOS release 6.3 (Final)(ext3 only).
I tried tune2fs -c or -i to override, but not happening. I really want to override for my upcoming project.
 
Old 09-17-2013, 08:43 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jojanmpaul View Post
I am using 2.6.32-279.el6.i686 kernel of CentOS release 6.3 (Final)(ext3 only).
I tried tune2fs -c or -i to override, but not happening. I really want to override for my upcoming project.
Just saying "not happening", tells us nothing. WHAT did you type in, and what did you expect it to do?? All that command does is set the parameters to be different than what they are. Did you try reading the man page on that command??

And again, THIS IS A BAD THING, and there is NO REASON to do it. WHY do you want to override this for your 'project', and what is your project?? Why would this matter? Again, unless you reboot 22 times in a row, or have your system up for more than six months before rebooting, you'll not see this come up at all. And AGAIN...when it DOES check the file system, it's doing it FOR A REASON.
 
1 members found this post helpful.
Old 09-18-2013, 05:33 AM   #5
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Original Poster
Rep: Reputation: Disabled
Disabling file system integrity check.

Quote:
Originally Posted by TB0ne View Post
Just saying "not happening", tells us nothing. WHAT did you type in, and what did you expect it to do?? All that command does is set the parameters to be different than what they are. Did you try reading the man page on that command??

And again, THIS IS A BAD THING, and there is NO REASON to do it. WHY do you want to override this for your 'project', and what is your project?? Why would this matter? Again, unless you reboot 22 times in a row, or have your system up for more than six months before rebooting, you'll not see this come up at all. And AGAIN...when it DOES check the file system, it's doing it FOR A REASON.
Thank you Very much for supporting me, I got the solution.

1. sudo tune2fs -c 30 -i 3m /dev/sdxx

tune2fs 1.41.12 (17-May-2010)
Setting maximal mount count to 30
Setting interval between checks to 7776000 seconds

2. sudo tune2fs -i 0 /dev/sdxx

tune2fs 1.40.8 (13-Mar-2008)
Setting interval between checks to 0 seconds
 
Old 09-18-2013, 08:52 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jojanmpaul View Post
Thank you Very much for supporting me, I got the solution.

1. sudo tune2fs -c 30 -i 3m /dev/sdxx

tune2fs 1.41.12 (17-May-2010)
Setting maximal mount count to 30
Setting interval between checks to 7776000 seconds

2. sudo tune2fs -i 0 /dev/sdxx

tune2fs 1.40.8 (13-Mar-2008)
Setting interval between checks to 0 seconds
Yes, reading the man pages is always a good idea first. And again, what you have done is a BAD THING, and there is NO REASON TO DO IT.
 
  


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
Filesystem check lrt Linux - Newbie 2 02-05-2010 12:09 PM
Filesystem consistency check. swamprat Linux - Newbie 1 03-29-2008 12:30 PM
Filesystem check failed! cerin Linux - Newbie 1 12-03-2005 07:42 PM
Filesystem Check Every Boot springshades Linux - Software 4 08-16-2005 12:25 PM
Check filesystem twantrd Linux - Newbie 4 03-26-2003 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:41 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
Open Source Consulting | Domain Registration