Ubuntu Jaunty Jackalope 9.04 will offer support for Ext4. A lot of users will try the new file system, especially since it will offer a huge performance boost. But it looks like that there is a massive downside. I quote from the bug report…
I recently installed Kubuntu Jaunty on a new drive, using Ext4 for all my data.
The first time i had this problem was a few days ago when after a power loss ktimetracker’s config file was replaced by a 0 byte version . No idea if anything else was affected.. I just noticed ktimetracker right away.
Today, I was experimenting with some BIOS settings that made the system crash right after loading the desktop. After a clean reboot pretty much any file written to by any application (during the previous boot) was 0 bytes. For example Plasma and some of the KDE core config files were reset. Also some of my MySQL databases were killed…
This is not a “Ubuntu-problem”…
I thought it was worth adding this, even though I’m running Gentoo, it seems to be exactly the same issue:
I recently upgraded to ext4 as well, I ran a game in Wine and the system hardlocked (nothing special there with the fglrx drivers). After rebooting all my Wine registry files were 0 bytes, as were many of my Gnome configuration files. Absoloute nightmare. fsck on boot said that it had removed 760+ orphaned inodes.
To sum it up: If a computer with Ext4 partitions crashes it is very likely that there will be loss of data. The problem appears to be huge and there will be kernel patches. But it looks like that applications will have to change the way they store their data too.
Theodore Ts’o – one of the best known kernel hackers – wrote an profound explanation. It looks like Ext4 is good for server system which run safely behind a UPS. But on a desktop or a notebook? I think you should think twice before you format your partitions with ext4…

7. March 2009 at 11:31
Humm… I’m glad Canonical decided that the next Ubuntu will still have ext3 as default.
Maybe other distributions will shift back?
7. March 2009 at 12:56
@1: The solution provided with the patches chris linked seems to be a real solution to this. If you got a stable installation with good drivers you probably want to disable the security-features, if you don’t know anything about this issue or got an unstable installation it will behave like ext-3. So probably the other distros won’t have to shift back, but integrate those patches.
Danke Chris, insbesondere Theodores Zusammenfassung bringt wirklich Licht ins Dunkel.
Gruß
7. March 2009 at 15:18
Ted Ts’o schreibt aber auch, woran die Probleme liegen.
Die Überschrift muss demnach – wenn sie schon so polemisiert – lauten: “Gnome und KDE noch nicht reif für den Desktop”…
Denn in der Tat hat man die gleichen Probleme auch, wenn man z.B. XFS benutzt.
7. March 2009 at 20:24
@SimGer
Hab in der Überschrift bewusst nur Ext4 erwähnt. Wer XFS und Co. wählt, der macht dieses sehr bewusst und ist sich – hoffentlich – auch der Problematiken dieser Dateisysteme bewusst. Bei Ext4 werden sich die Leute jedoch denken “Hey, Ext3 war doch immer gut, dann muss Ext4 ja noch viel besser sein”. Wenn dann nach dem ersten brutalen Reset wichtige Daten fehlen ist das Gejammer groß…
16. March 2009 at 17:27
Vielen Dank für die Hinweise. Mittlerweile berichten ja auch Heise und Co. darüber. Ist nen zweischneidiges Schwert die Sache mit Ext4. Die Performance lockt. Die Probleme lassen einen aber zweifeln.
13. April 2009 at 16:05
Ich Theodore Ts nur Recht geben wenn er schreibt, dass Datenverlust zum Grundkonzept aller POSIX-Betriebssysteme (Unix/Linux) gehört.
Suck it up, baby!
4. October 2009 at 16:02
Ich muss ehrlich sagen, seit der Installation von jaunty auf meinen beiden Rechnern sind mir die Kisten mehrfach abgeschmiert (auch einmal wegen Stromausfall), aber die Probleme, die du hier beschreibst, sind bei mir nie aufgetreten.
ext4 läuft stabil und angenehm schnell. Eine wirkliche Verbesserung des Vorgängers.
Oder habe ich hier was falsch verstanden und es ging noch um ext4dev? Denn ext4 selbst ist ja schon seit dem jaunty-release als stable markiert.
4. October 2009 at 16:12
Hallo C. M. Burns. Der Beitrag stammt aus dem März 2009, zu diesem Zeitpunkt war es noch nicht klar, dass eine Reihe von Patches von Theodore Ts’o aus einem neueren Linux-Kernel in den Jaunty-Kernel übernommen werden oder nicht. Ich sprach damals auch nicht davon, dass es zu den genannten Problemen kommen muss, sondern dass es zu Problemen kommen kann…
Die Änderungen Tsos wurden letztendlich auf den Kernel von Jaunty zurückportiert (Siehe http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_2.6.28-11.42/changelog und nach “Theodore Ts’o” suchen), so dass die bekannte Problematik umschifft wurden.
4. October 2009 at 19:11
Da bin ich ja beruhigt, ich hatte schon angst das ich das mit Karmic das falsche Dateisystem installiert hätte…
30. October 2009 at 18:31
Fairerweiße sollte man erwähnen das dies kein Dateisystemproblem ist sondern von schlecht (nicht korrekt) programmierter Software.
30. October 2009 at 19:56
roidal, entsprechende Patche hatten es sogar noch in den Kernel von Jaunty geschafft. Ext4 ist in der Zwischenzeit reif für den Desktop geworden
16. July 2010 at 20:23
Hi Christoph, ich bin gerade am Festplatten formatieren. Habe mal ext3 gewählt (und bereue es schon wieder). Denn ich hatte noch nicht bis zum Ende gelesen. Kennst ja die ungeduldigen Internetuser mit ihren Verweildauern auf Seiten. Deshalb:
1) Kannst du dein letztes Kommentar vielleicht auch an den Anfang als Edit setzen?
2) Kannst du in deinem CSS Blog-Einträge oben mit Erstellungsdatum ausgeben?
Ich weiß, das ist ein Blog und Neuigkeiten von gestern veralten sehr schnell – aber Suchmaschinen finden alles Mögliche ….
16. July 2010 at 21:50
Hallo nobi, das ist eine gute Idee. Ich denke ich werde in Kürze einbauen, dass Artikel ab einem bestimmten Alter einen kleinen Hinweis im Kopf erhalten, dass die Information eventuell schon veraltet ist.
17. July 2010 at 13:16
So, der Hinweis ist drinnen, muss ihn nur noch ein bisschen hübscher machen.