LinuxQuestions.org
Review your favorite Linux distribution.
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 05-12-2010, 02:20 PM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
Safe to tune2fs a mounted volume to prevent disk checks at reboot?


I have some large volumes that I don't want to automatically be e2fsck'd when I reboot the server. is it safe to change maximum mount count to -1 and check interval to 0 while a volume is mounted, or will that cause problems to the file system?
 
Old 05-12-2010, 04:49 PM   #2
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
You can change the setting safely. Not checking the f/s at all (ever) is probably not advisable.
 
Old 05-12-2010, 04:50 PM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Thanks Syg. I just want to not have it run during this one reboot in particular. I'm going to change the settings back afterward.
 
Old 02-06-2012, 01:49 PM   #4
dgwhiting
LQ Newbie
 
Registered: Nov 2008
Location: MA
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
On a related note, is it safe to run "tune2fs -T now" against a mounted filesystem to reset the "Last checked" time? Thanks.
 
Old 02-06-2012, 01:52 PM   #5
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
My understanding of that option is yes as that's just setting the timestamp the volume was last checked, not actually doing any file system modifications. But you may want to let someone else chime in too.
 
Old 02-06-2012, 04:32 PM   #6
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
I work on the basis of "if it's safe to turn the journal on and off, what harm can any of the rest of the options do ?".
So yes, go for it. They all modify the filesystem, even if it's just meta-data.
 
Old 02-06-2012, 04:37 PM   #7
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Yeah, guess i meant more like it wasn't trying to fix bad inodes and stuff like that, was just tweaking an attribute of the file system. i stand corrected.
 
  


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
Does shutdown -rF imply a -y on all the checks on reboot anon091 Linux - Newbie 8 04-29-2010 11:59 AM
Windows Disk Checks on startup with dual boot kevin63661 Linux - General 2 07-01-2009 01:00 PM
Data more safe, Which tune2fs parameters do you use / advice ? frenchn00b Linux - General 0 10-26-2007 06:37 AM
Fsck checks SATA disk on every boot. aaargh486 Ubuntu 5 07-18-2007 02:04 PM
Script which checks Disk Volume - - on FC5 bskrakes Linux - General 1 10-11-2006 01:27 PM

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

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