LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-14-2016, 02:43 PM   #1
yendhe
LQ Newbie
 
Registered: Dec 2015
Posts: 6

Rep: Reputation: Disabled
Ext4 Filesystem


Why ext4 filesystem has on/off options for journaling and not for ext3 filesystem?







Thanks
 
Old 03-14-2016, 02:50 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,880

Rep: Reputation: 134Reputation: 134
Every modern filesystem has journal.
If the computer has to be switched off during operation, then the filesystem is inconsistent.
 
Old 03-14-2016, 03:02 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,914

Rep: Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999
Probably because ext4 is the file system currently being developed and ext3 is redundant?
 
Old 03-14-2016, 03:22 PM   #4
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,491
Blog Entries: 2

Rep: Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198
Why do you think ext3 doesn't have on/off support for journaling?

The COMPAT_HAS_JOURNAL flag is applicable to both ext3 and ext4.

More info on ext3, including its journal feature: https://en.wikipedia.org/wiki/Ext3
 
Old 03-14-2016, 03:49 PM   #5
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,491
Blog Entries: 2

Rep: Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198
To add some info:

Code:
sudo tune2fs -O ^has_journal /dev/sdaxx
will turn off journaling for both ext3 and ext4 filesystems.

Code:
sudo tune2fs -O has_journal /dev/sdaxx
will turn it on again.
 
Old 03-16-2016, 02:30 PM   #6
yendhe
LQ Newbie
 
Registered: Dec 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you for providing such useful information.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does my ext4 filesystem need to be fixed? mailtomsa Linux - General 6 11-16-2015 12:59 PM
Ext4 Filesystem Crash - How to Diagnose? dvarapala Linux - General 3 11-07-2013 02:05 AM
problem with ext4 filesystem farazinux Linux - Server 5 03-03-2013 08:57 AM
support for ext4 filesystem info1686 Programming 2 07-01-2009 12:49 AM
LXer: The Ext4 Filesystem LXer Syndicated Linux News 1 12-25-2008 03:58 PM

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

All times are GMT -5. The time now is 10:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration