Open Source Software and Linux

Mar 15 2009   1:53PM GMT

Maybe you shouldn’t use the ext4 file system

John Little Profile: Xjlittle

Users of the Kubuntu recently suffered data loss while using the new ext4 file system. It happens when there is a power loss or a system failure. Note that this is not specific to Kubuntu. The Kubuntu users were just the first to try out the new file system.

I’m not talking about data that you’ve just written to a document or application. These failures are returning 0 byte files on any application that has a write to a file. That is to say that your data is completely gone, not just the unsaved part.

Developer of the ext4 file system, Ted Ts’o, has joined into discussions to explain what is going wrong. He has this to say: “The short answer is (a) yes, I’m aware of it, (b) there is a (partial) solution, (c) it’s not yet in mainline, and as far as I know, not in an Ubuntu Kernel, but it is queued for integration at the next merge window, after 2.6.29 releases, and (d) this is really more of an application design problem more than anything else.”

The problem is a write commit issue. The ext3 file system committed writes within 5 seconds. In an effort to enhance security and speed Ts’o increased the data commit to 60 seconds on the ext4 file system.

So far as the application design comment he apparently is asking developers to redesign their applications to deal with the 60 second delay. While this may happen over time it is certainly not going to be something that happens in the immediate future.

My advice is to leave the ext4 file system alone until it becomes mainstream and matures. There is obviously quite a bit of work still to be done before it is production ready for servers or workstations.

-j

1  Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Salq
    Chesterfoster, what kernel / package were you running to see this problem?
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: