WARNING!: Ext4 data corruption kernel bug on the prowl.
Stable kernels not so stable (again): Film at 11.
http://lwn.net/Articles/521022/ Quote:
Best keep a close eye on the news sites such as lwn for a while. |
Ext2 filesystem corruption was my main reason for switching mission-critical servers to BSD back in 2000 (and back to Slackware as ext3 settled in). So this is not the first time, but the continuation of a long sad story.
|
And for once in my life I've kept up with the 3.4 branch diligently. FML. ;)
|
I've installed my Slackware 14 with ext3 for ability to mount NFS on some older boxen...
Once more, lagging behind has an unexpected advantage! But it is getting crowded back here! |
Sounds like it was a good time to experiment with XFS..
|
Quote:
|
More confirmation that I made the right choice by making Slackware my distro. As if I needed any more. :)
|
Quote:
Seems great so far. I watched this presentation on recent improvements in XFS and decided to try it out. I'm using it on a 128 gig SSD laptop, which is probably not the best use case for XFS. I've got a 2tb RAID 1 home media server running Slack 14 with ext4 at the moment, I'm considering reformatting that over to XFS, as lots of big files are supposed to be the XFS's strong suit. [/OT] |
Quote:
But it's just a major Linux filesystem. Nothing important. |
Quote:
Edit: Oh wait, I had only built a 3.6.2 kernel to expriment with and I have ALREADY formatted and reinstalled using the original 3.2.x kernel that came stock with 14.0! Now I just have to create an XFS partition going forward and I'm good! Good call Pat! :D |
Every software has bugs and some of them are critical. File-system drivers are software, so sooner or later any of them can be the victim of a critical bug. Has this error actually occurred to anyone? Where your backups also affected?
|
Quote:
Quote:
|
Another Red Hat goon named Greg Kroah-Hartmann posted something else negative towards BSD eh? Not surprising. He must be a friend of Lennart.
|
From the 14.0 ChangeLog:
Quote:
|
Quote:
Quote:
|
he likes good muzak too http://bit.ly/RX8Sk8 :)
|
See https://lkml.org/lkml/2012/10/24/620
It's from the original reporter of the problem. He says for example: "It occurs to me that it is possible that this bug hits only those filesystems for which a umount has started but been unable to complete. If so, this is a relatively rare and unimportant bug which probably hits only me and users of slow removable filesystems in the whole world..." and "Verified! You do indeed need to do passing strange things to trigger this bug -- not surprising, really, or everyone and his dog would have reported it by now. As it is, I'm sorry this hit slashdot, because it reflects unnecessarily badly on a filesystem that is experiencing problems only when people do rather insane things to it." So, it seems the bug bites if the system is rebooted or powered off while umount is running but has not yet finished. I wouldn't change the filesystem quite yet... |
I've always had especially bad luck with corrupting data and filesystem's with ext4. That's not to say it's necessarily the the file system's fault, just that it's happened numerous times to me. It's just never been very fault tolerant in my experience. I just now came back to ext4 because it seems like xfs will severely crunch my system for a moment during heavy read/write so it is disconcerting for bugs to be showing up. Anyway I'm not using supposedly affected kernels and I'm still not keeping data on ext4 so we shall see what happens.
|
Quote:
|
Another reason I don't use the popular ext* filesystems. They don't have a good history and it continues up to today.
|
I don't know if this was related to the 'ext4' issue but I had a data loss (single file) 2-3 weeks ago. I was working on a project in Qt Creator when there was a power breakage. The UPS (APC but very old) saved me for few seconds but it switched off while PC was still powered. I don't remember the exact PC state at this moment: if I closed QT Creator or if I left KDE or if I started shutdown sequence, it happened so fast.
Next time I loaded the project one of the cpp files was empty (0 length). I use Slackware64-current. |
Quote:
|
Quote:
BSD users/devs are still the most elitist pricks this side of Apple. I would love to have a BSD like system with a Linux kernel, the closest I have come is Slackware. Quote:
|
Quote:
|
Quote:
Ok, maybe I won't be that mean, how about some examples or articles ? Honestly I think the bugs are due to bad decisions made by the devs, like when they first released ext4 and made the default 'data=writeback'. It was changed eventually, but it took time and data loss. |
Well, I am very happy with Pat's 3.2.29 everywhere but my laptop, where I have to run at least 3.3 on the account of Ivy Bridge. I can't pretend to understand this thread, but it looks like everything from 3.3 and up may be affected, so I guess I just have to not reboot until they fix it :)
|
Now that more detail's have come out I don't think there is much cause for concern: unless you're system has a tendency not to shutdown cleanly for some reason.
|
Quote:
You're right! |
Quote:
|
ReiserFS kicks ass. It's not let me down in 12 years of use. Started using it with SuSE 7.3 through openSUSE 11.3, then in Slackware 13.37 and now 14.0
|
It seems that the bug has been found. https://lkml.org/lkml/2012/10/28/1
Kernel versions 3.4, 3.5, 3.6 have the bug. Kernels 3.2 and 3.3 are ok. Slackware-14.0 uses kernel 3.2.29 which is fine. (Note that the bug was not added in any stable kernel iterations 3.4.x or 3.6.x. It was already in the original 3.4.) |
From another of Eric's posts in the thread linked to by Petri:
Quote:
I'll mark this as SOLVED. Anyone using sensible mount-options won't be hitting this. |
Quote:
ReiserFS used to be good, but in recent kernels it has both momentary data corruption and performance problems. http://www.linuxquestions.org/questi...xt4-4175425294 These problems went away when I switched to ext4. Since not many people use or care about ReiserFS, its quality has gone down hill. Ed |
Quote:
|
ReiserFS is working fine on this system I have now (ASUS M5A97LE R2.0, AMD Athlon II X2 260, 4GB RAM) and on my old system (ASRock A770DE+, AMD Athlon II X2 250, 2GB RAM which I gave to my 73 year old mom as *her* old system was a P-3!). I've yet, in all these years of reiserFS use exclusively had a problem with it. I'll keep using it until the day it *does* start to screw up, but in thirteen years this month (so far) it hasn't and it is nice and stable and takes the beatings of power outages and brown-outs extremely well, imho.
|
Quote:
I've used it on External Drives quite a bit. Never lost data. Even on crap hardware with dying controllers, it recovered. I'd use it before I'd ever go back to NTFS. |
All times are GMT -5. The time now is 08:21 PM. |