LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-04-2017, 02:37 PM   #1
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 623

Rep: Reputation: 174Reputation: 174
I have some quick questions concerning "tune2fs" and "e2fsck.*"


First: I have checked on linuxquestions.org and have an answer.... I think... so I am just checking if I understand the answer.

==============

Question 1:

I did a "touch /forcefsck" and when I did a reboot, it behaved as normal. About a week later, I had read that the "touch /forcefsck" had been deprecated, and that I should insert a similar command in the grub configuration.

Apparently, "forcefsck" still works properly.

WHAT'S UP WITH THAT???

==================

Question 2:

On "tune2fs" if I set an interval AND a mount amount, will it honor BOTH parameters?

That is, if either the interval OR the mount amount parameter "triggers" it will do a fsck and reset both numbers (interval and mount amount).

Is that correct?

======================

Just checking if I understand what I have read.

Thank you for your response.

Have a good day.
 
Old 12-04-2017, 02:54 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,259

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
In answer to your questions

1. Go with the flow
2. Yes it should.

1.
 
Old 12-04-2017, 04:00 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
forcecheck was convention, implemented in init scripts. Maybe it it still honoured by your distro, maybe not on others.
As for interval driven ext? fsck, that has all been ignored for years unless you specifically override it in mke2fs.conf. E2fsprogs now checks at every mount, and runs fsck as needed.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remapping a Northgate Omnikey "Omni" button to serve as a "Windows" or "Super" key. CVAlkan Linux - Hardware 6 01-07-2019 12:21 PM
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 11:00 AM
[SOLVED] "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" larieu Linux - General 0 11-09-2014 12:45 AM
LXer: Use "pushd" and "popd" for quick switching between directories LXer Syndicated Linux News 0 07-13-2012 07:40 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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