LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 01: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, 01:50 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,682

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

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

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
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, 02:49 PM   #5
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.1 MATE
Posts: 3,074

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
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, 01: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 11:59 AM
Ext4 Filesystem Crash - How to Diagnose? dvarapala Linux - General 3 11-07-2013 01:05 AM
problem with ext4 filesystem farazinux Linux - Server 5 03-03-2013 07:57 AM
support for ext4 filesystem info1686 Programming 2 06-30-2009 11:49 PM
LXer: The Ext4 Filesystem LXer Syndicated Linux News 1 12-25-2008 02:58 PM


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