LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-05-2017, 07:44 AM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
Tune2fs says volume is clean but does that mean zero errors


Tune2fs says a big volume I have is "clean" but does that mean there are absolutely no issues at all and it doesn't need to be fsck'd to clean up even minor things, or is it more it hasn't hit an error threshold to flip it to dirty?
 
Old 08-05-2017, 01:08 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
The superblock s_state field essentially shows whether or not the filesystem was cleanly unmounted.

According to man tune2fs:

Quote:
If you are using journaling on your filesystem, your filesystem will never be marked dirty.
This is because journaling can usually recover a system that has been incorrectly shut down.

Also, the man entry states:

Quote:
Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error.
So, "clean" in this case does not mean that errors do not exist.
 
1 members found this post helpful.
Old 08-07-2017, 07:33 AM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Thanks for the help, and settling an argument
 
  


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
How to "tune2fs" encrypted TrueCrypt volume Mr. Alex Linux - Software 2 03-24-2015 02:04 PM
[SOLVED] Safe to tune2fs a mounted volume to prevent disk checks at reboot? anon091 Linux - Newbie 6 02-06-2012 04:37 PM
Corrupted Volume: fsck shows thousands of group descriptor errors on ext4 volume. abejarano Linux - General 2 04-21-2011 06:49 AM
[SOLVED] not clean volume according to tune2fs, what's wrong though? anon091 Linux - Newbie 10 06-28-2010 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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