LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2014, 07:17 AM   #1
rivercat
Member
 
Registered: Aug 2010
Location: USA
Distribution: Slackware 14.1, LFS (someday)
Posts: 40

Rep: Reputation: 0
Unhappy Do I choose a "Journaling level" when using Ext4 filesystem?


According to wikipedia.org/wiki/Ext3#Journaling_levels, there are 3 "Journaling levels" for Ext3:

Journal (lowest risk)
Both metadata and file contents are written to the journal before being committed to the main file system.

Ordered (medium risk)
Only metadata is journaled; file contents are not, but it's guaranteed that file contents are written to disk before associated metadata is marked as committed in the journal.

Writeback (highest risk)
Only metadata is journaled; file contents are not. The contents might be written before or after the journal is updated. As a result, files modified right before a crash can become corrupted.


Are there 3 choices for Ext4, and when do I make them?
During "mke2fs -t ext4 /deb/sdxx", or after installing the OS, maybe with tune2fs?.
 
Old 09-27-2014, 07:27 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
You read https://en.wikipedia.org/wiki/Ext3, why not read https://en.wikipedia.org/wiki/Ext4 (or https://www.kernel.org/doc/Documenta...stems/ext4.txt) also? To determine what journaling option is suitable check the amount of data loss that could occur due to data not (yet) being written out to medium due to unclean shutdowns like for example a power failure. And yes, you may specify the journaling option during mkfs and tune2fs.
 
  


Reply

Tags
ext3, ext4, journal


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
"VFS: Can't find ext4 filesystem" after boot alemoo Linux - Newbie 5 03-16-2014 03:22 PM
[SOLVED] Ho to delete "orphaned" files after switching /tmp from ext4 to tmpfs? JZL240I-U Linux - Software 2 12-14-2012 07:29 AM
LXer: [Podcast] Linux Outlaws 82: "Journaling Is Not So Funny Now" LXer Syndicated Linux News 0 03-19-2009 11:20 AM
k3b: To choose "normal" or "clone" copying grautu Linux - Software 1 01-09-2006 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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