Problems with the ext4 file system

March 16, 2009 by Ernesto
Filed under: Linux
Warning: file_get_contents () [ function.file-get-contents ]: HTTP request failed! HTTP/1.1 404 Unknown virtual host in / var / www / vhosts / tod-os.es / httpdocs / wp-content / plugins / wikiovote.php on line 40

Warning: [ function.file-get-contents ]: failed to open stream: Success in / var / www / vhosts / tod-os.es / httpdocs / wp-content / plugins / wikiovote.php on line 40

A bug discovered in the development version of the next Ubuntu has shown that some applications may have compatibility issues with ext4 filesystem.

The problem occurs in the writing system disk configuration files of applications. In ext3 journaling mode and the option "data = ordered" these files are written to disk every 5 seconds so that any changes made in the configuration files in the practice are written to disk without problems.

The problem occurs with the system in which ext4 journaling mode is written to cache memory and only written to disk every 60 seconds. Some applications depend on writing to disk as currently done in ext3 file system and this is causing several problems of crashes and data loss.

According to the developer Ted Ts'o the problem is not the file system but the misuse of the features of ext3 that do not follow the POSIX standard. According to Ted some possible solutions could be to use a sqlite database to store the settings, make a call to fsync () to write to disk immediately to the creation of the file or not to use the ext4 journaling mode.

Related posts:

  1. Benchmark between ext4 file systems, ext3, reiser and xfs. find interesting entry we can see on the web ...
  2. Ubuntu 9.04 ext4 will use the facility. Ubuntu no longer news, this time we delight ...
  3. Summary of Features of IBM labor ext4 That the ext4 file system promises, it is no ...
  4. Problems with ATI drivers Jaunty and Jaunty Problems and ATI drivers ...
  5. Security Issues in Mac OS X In Boston, the conference SOURCE, Dino Dai Zovi has ...

Comments

5 Comments on problems with the ext4 file system

  1. Chuko on Tue, 17th Mar 2009 12:50
  2. I am sure that before long this bug will be fixed and we can enjoy in all its glory ext4 for Ubuntu version 9.04.

  3. iago on Tue, 17th Mar 2009 15:49
  4. Not a bug, is a design error in various applications.

  5. Ernesto on Tue, 17th Mar 2009 16:07
  6. Certainly Iago is right. Although initially the error is described as a filesystem bug actually is not.

    However, this issue will bring tail, and if not time.

  7. Deabru on Wed, 18th Mar 2009 14:17
  8. The system does not guarantee that data is written until you call fsync.

    That gives you the opportunity to make sure they are written when you work with something important (some configuration file that you want to make sure it is stored and is not corrupt) or letting the system when you can write to disk when it is something important (Cache the browser, perhaps imap mail folders synchronized, time, etc)

    In slashdot said that, however, forces a sync every 60 seconds instead of 5 which takes ext3, and that can be set, so do not bug or anything :-)

  9. iago on Thu, 18th Mar 2009 17:07
  10. Nothing Deabru not, failure of various applications. Making an application thinking the FS you have an ext3 below is configured with a specific value for a parameter (the Default value in this case), is a mistake as a cathedral. If you want the FS type, strength, writing, period.

What do you think of problems with ext4 file system? ...






Close
Mail