Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7544769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:45:34+00:00 2026-05-30T08:45:34+00:00

ext3 has 3 journaling options: journal, ordered, and writeback. According to the wikipedia entry

  • 0

ext3 has 3 journaling options: journal, ordered, and writeback. According to the wikipedia entry, these range from least risky to most risky for crash recovery. For some reason, Android’s version of Linux only supports the latter two options, and defaults to writeback. (I’m running Froyo)

Is there a way to add support for journal mode? I’d like to do this on the /data partition, which is ext3, and also where most of the file writes happen. My device doesn’t have a battery, so I need to make sure it’s crash proof when someone disconnects power.

In case anyone is interested, the Linux options are defined in kernel/fs/ext3/Kconfig. The specific option is EXT3_DEFAULTS_TO_ORDERED.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:45:35+00:00Added an answer on May 30, 2026 at 8:45 am

    The solution was to add the following to kernel/fs/ext3/Kconfig, and rebuild the kernel with EXT3_DEFAULTS_TO_JOURNAL.

    choice
        prompt "EXT3 default journal mode"
        default EXT3_DEFAULTS_TO_ORDERED
        help
          The journal mode options for ext3 have different tradeoffs
          between when data is guaranteed to be on disk and
          performance.  The use of "data=writeback" can cause
          unwritten data to appear in files after an system crash or
          power failure, which can be a security issue.  However,
          "data=ordered" mode can also result in major performance
          problems, including seconds-long delays before an fsync()
          call returns.  "data=journal" is the safest option but possibly
          the the great perfromance burden.  For details, see:
    
          http://ext4.wiki.kernel.org/index.php/Ext3_data_mode_tradeoffs
    
          If you have been historically happy with ext3's performance,
          data=ordered mode will be a safe choice.
    
    
    config EXT3_DEFAULTS_TO_JOURNAL
        bool "Default to 'data=journal' in ext3"
        depends on EXT3_FS
        help
          Both data and metadata are journaled.  Should be safe
          against crashes, power failure, etc.
    
    
    config EXT3_DEFAULTS_TO_ORDERED
        bool "Default to 'data=ordered' in ext3"
        depends on EXT3_FS
        help
          Only metadata are journaled. Data is written first and then
          metadata is update.  Mostly safe against crashes, power
          failures, etc., except if the anomally occurred while a file 
          is being overwritten.  Most of the time files are appended and
          not over written.
    
    config EXT3_DEFAULTS_TO_WRITEBACK
        bool "Default to 'data=writeback' in ext3"
        depends on EXT3_FS
        help
          Ext2 with a fast ckfs.  Not always safe against crashes, 
          power failure, etc., but has the best preformance
    
    endchoice
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Where exactly is the journal on the EXT3/EXT4 file system, ive searched around and
I'm trying to create a temporary file from an entry in my database. I
I moved a git repository from ext3 to a fat32 usb pendrive and later
I'm updating my project from Ext3.3 to Ext4. I have added the ext3-core-compat.js and
I was looking at the source code for the implementation of journaling in ext3
Curious as to the inode data structure differences between 128-byte ext2 and 256-byte ext3
on Linux ext3 filesystem, what happens if mv() is called on the same file
I'm writing backup software. I want to programmatically determine if a file has been
What's the easiest way to access an ext3 file system at the block level?
I'm processing data from a hard disk from one large file (processing is fast

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.