Fedora 11 To Default To the Ext4 File System
ffs writes "The next release of Fedora, 11, will default to the ext4 file system unless serious regressions are seen, as reported by heise online. The LWN story has a few comments extolling the virtues of the file system. Some benchmarks have shown ext4 to be much faster than the current default ext3. Some of the new features that matter for desktop users are a faster file system check, extents support (for efficiently storing large files and reducing fragmentation), multiblock allocation (faster writes), delayed block allocation, journal checksumming (saving against power / hardware failures), and others. The KernelNewbies page has more information on each feature. As is the extfs tradition, mounting a current ext3 filesystem as ext4 will work seamlessly; however, most new features will not be available with the same on-disk format, meaning a fresh format with ext4 or converting the disk layout to ext4 will offer the best experience."
After doing research on various cluster filesystems I eventually decided on GFS (as opposed to luyster, which seemed a bit overkill). How does EXT4 compare to GFS? Can EXT4 even be used in a clustered environment?
Trying to install linux on my microwave, but keep getting a kernel panic...
I'm too lazy to read up on ext4, so:
Why not just use ReiserFS? It's definitely faster than ext3.
Because it was convicted of murder, that's why.
Because he killed his wife. Don't you read the news?
Ext4 is not a SAN or distributed filesystem. GPFS/lustre/GFS remain a good choice for that.
Because it takes a mad computer scientist to implement it.
So where can I see some benchmarks showing just how much of a slowdown I can expect after switching from ext2 to ext4? All the benchmarks I see around here compare it to ext3 and to ReiserFS only. Also, is it possible to run ext4 without the journal? Any benchmarks on that? (Oh, and please, don't bother with the reliability lectures. I couldn't care less.)
I still haven't seen sensible benchmarks for ext4 with respect to how large directories scale, interleaved small file read and create, and small-file write with one fsync() at the very end (the only real world case.)
At this point, I have to wonder if the emporer has no clothes, or if the people posting benchmarks are just idiots.
I'll save you the intense effort it must take to scroll up and read the summary. The answer is COMPATIBILITY.
"As is the extfs tradition, mounting a current ext3 filesystem as ext4 will work seamlessly; however, most new features will not be available with the same on-disk format, meaning a fresh format with ext4 or converting the disk layout to ext4 will offer the best experience."
For my own purposes, I can't use ReiserFS because I can't stop thinking about that guy when I install it. Just...ick.
---don't make me break out my red pen.
Some of the minor features are just... less than desirable.
for when you need to partition your wife.
I do not propose offering migration from ext3 by default, at this point, due to bugs in that process, and extra risk involved. Perhaps an "ext4migrate" boot option could be used to expose it for further testing.
ReiserFS isn't actively maintained. In addition to that ext3 and now ext4 have learned quite a few new tricks since ReiserFS first appeared, you can now online resize an ext3 filesystem, it supports hashed b-trees, which should speed up directory handling, it is getting an online defrag tool and a bunch of other goodies. So many of the benefits that ReiserFS originally brought to the table can now be have with ext3 or ext4.
that's just wrong
After several more years testing in Fedora releases?
I'm glad to see Red Hat and Fedora taking the hard steps to push our technology forward. Precious few organizations employ people to work on things like this, instead expecting others to do the hard work to create and integrate disruptive core technologys. I know Red Hat employs people to work full time on ext4 and they have a person working full time on btrfs (which by all early accounts is supposed to be revolutionary and kick the crap out of everything else out there [even the fabled ZFS] (it pains me to say thanks to oracle for btrfs, but one of their employees is the primary driver) Someone has to do the hard work of being a leader, putting in engineering time, and fixing the bugs before the fanboys can consume (and all too often get credit for) new technology. Thank you Fedora for both the freedom and the constant drive to be on the leading edge of technology.
ext3 has had years to establish itself as a reliable performer in heavy real-life situations. Why is everybody being so ambivalent towards ext4 when it's relatively new and not particularly trustworthy as of yet?
Maybe wrong, but definitely hilarious.
As long as there are slaughterhouses, there will be battlefields.
Excellent. This will be a great feature for F11. Now, if they could just get Fedora 10 booting with an nvidia fakeraid, I'd be happy. And, fix the performance issues with intel GMA graphics, that'd be dandy too.
Fedora is my favorite distro, but this fakeraid bug is ridiculous -- keeping me from running F10 on my desktop. Sure runs nicely on my Samsung NC10, though.
sig: sauer
... They're the ones with the arrows in their backs! It's changes like this that underscore treating new distro versions as a public beta. Chances are, this or some other new feature will cause someone real pain. It's always a good idea to make sure that that someone is *not* you. Whether it's Fedora or OpenSuse, or Ubuntu, oftentimes features are added that aren't really ready for prime time. Trust no one.
"My country, right or wrong; if right, to be kept right; and if wrong, to be set right." --Senator Carl Schurz (1872)
In fact suse changed their defaults from reiser to ext3 long time ago. The main reasons were: scalability on SMP, xattrs performance, lack of mainteinance, lack of a upgrade path...
Seconded
Not to mention ext3 doesn't lose random OS files in the wake of a sudden power failure like reiserfs does. I might be alone on this event but after it happening on 3 different systems at 3 different times I'd think it would be documented more. I've always thought reiserfs was overrated and even if there is a speed increase data integrity is a lot more important to me.
It doesn't bother me that the creator is a convicted murderer, it does bother me that the file system gets away with murder all the time.
"Some things have to be believed to be seen." - Ralph Hodgson
me too.. power outage = partially broken filesystem. reiserfsck = completely broken filesystem. and a day long session of trying to fix things on a critical machine. end result: we now use ext3 everywhere...
Seconded
You two make a good RAID-1.
In the very very early days of ReiserFS, it had the tendency to trash files and it happened to me a couple of times, but it got fixed at some point and I didn't had any problem with that after that and have used ReiserFS3 happily for years.
Then on a new system (Ubuntu8.10) I tried XFS just for a change and I had file loss on day one, followed by continual file loss after each and every crash of the system (buggy Nvidia driver). The recommend solution to this was switching of hard drive cache, which however didn't change anything at all for me. I have replaced XFS with ext3 after that, since XFS seems to be completly unable to not lose files on crashes, and so far with ext3 I haven't lost a single file.
With all that talk about file system performance and stuff, it would be really nice to get a bit more information on what really matters: How good is a filesystem at keeping your files safe. All information on that seems anecdotal at best.
ext3 seems to be the nicest at the moment for native linux support and painless Windows support for dual boot machines. Easier than using NTFS in Linux. Last I heard ext4 wouldn't work with Windows.
Critical systems should be on a UPS and have frequent backups... it makes those session much less drastic. That said, ext3 has always been an easier repair.
And to think at one time ReiserFS used to murder all of the other FSs....
there was a UPS.. it didn't last long enough to cover the entire outage. why didn't it shut down a few minutes before the power ran out? because we were using a logging filesystem, and we needed the machine to run as long as possible.. the backup was not as useful as it should have been (incomplete, sigh). I can't remember a time when ext3 failed to be repaired (sometimes with a little manual help recovering files from lost+found). I have a *very* clear recollection of reiserfs eating huge chunks of the filesystem as it 'repaired'.
Apparently there is a serious risk of data loss at this time in case of power loss (at least in ubuntu). http://ubuntuforums.org/showthread.php?t=1040199
I have my home server on an UPS, but it didn't stop the power supply connector on my motherboard (Tyan S2460, it happened to other people on slashdot too) from shorting out, bringing down my system. A UPS is a tool to help prevent catastrophic failure, but it isn't guarantee.
a filesystem should help insulate the data during sudden power loss, not pretty much guarantee that it will thrash all of your data. Sometimes, shit just happens despite the best planning.
Don't leave your mind so open that your brain falls out. Don't close it so much that you cut off the blood.
One of my biggest beefs with ext3 in the data center is the required fsck periodically. Redhat won't support jfs or xfs (which I can get from CentOs) but some vendors won't support anything that isn't on their supported platform list (IBM Clearcase for one).
So is ext4 going to force a fsck at boot, which takes 1/2 a day with ext3 on some of my multi-Tb systems? Will Redhat finally adopt a better server filesystem? These are the questions that some of us doing professional Redhat support are asking.
Overrated, Troll, and Flamebait mod points are not to be used towards posts you disagree with. That IS censorship.
"Why not just use ReiserFS?"
Vendor lock-in?
who cares about ext4 when the release name is Leonidas http://www.redhat.com/archives/fedora-devel-announce/2009-January/msg00004.html
ST3500320AS fw:SD15 you bastards!
ext3 fscks were just too slow for me, reiser is may be a bit unstable (my laptop's hardware is screwed the HDD bales out and the pci-bus lock up randomly but ive only needed to do a whole disk fsck once (200G in 20min wasnt too bad), so im yet to see it)
Because anything valuable is backed up and given how slow ext has generally been i have no intention of using ext for anything that doesn't contain critical data, and ill stick with reiserfs/jfs until a better alternative btfs, et al, comes out.
IranAir Flight 655 never forget!
This is good news. All those Fedora folks can be beta testers. In five years or so I'll consider going from ext3 to ext4. It's only about a year since I went to ext3. I figured it must be OK by now since there haven't been any scare stories. I used to use Reiser before ext3 was stable.
xfs is really over-rated. I used to work on an "Enterprise" storage appliance that used xfs. It was scary. Don't go there. Also, avoid anything from IBM.
Stick Men
Fedora instead of trying to improve its engineering, quality of releases is running after cheap publicity and version number to match up to OpenSUSE and UBUNTU.
Is ext2 a better choice because it limits the number of writes, or is that a silly worry?
Not to mention ext3 doesn't lose random OS files in the wake of a sudden power failure like reiserfs does. I might be alone on this event but after it happening on 3 different systems at 3 different times I'd think it would be documented more.
How long ago was that?
I've used reiser almost exclusively for over five years now, including on my multi-TB home file server which has suffered lots of crashes due to power and -- for a time -- hardware issues (bad mobo).
In all that time, I've abused the heck out of the file system, including using one reiserfs that was on a failed RAID array that was forcibly reassembled and had missing data. I did lose a few files in that case, but that's the only time, and I was impressed reiser was able to rebuild a working FS at all.
I particularly like the fact that growing reiser file systems is fast, and shrinking them without unmounting them is possible. I make fairly heavy use of LVM and rearrange storage frequently, and I find myself really dreading changes to the one FS I was foolish enough to use ext3 on.
It'll take some time before I trust ext4 as much as I do reiserfs.
I know it's not going to happen, but the judge and/or warden would really be doing the world a favor if they gave Hans Reiser a computer in prison and allowed him to hack on his file system.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
Ext4 is orders of magnitude faster than Ext3 regarding fsck time. Your half-day checks will almost certainly be reduced to minutes. The developers rewrote the algorithm to not require as intensive of a search in phase 1.
If it's really important to get the machines up in minimal time (even at risk of some data loss) then you can turn off the auto checks entirely.
and even faster for an agate necromancer...
Not bleeding edge use, though.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
The summary misses the big new feature of ext4... larger file and file system limits! One of the articles says the filesystem size limit for ext3 is 16TB... it is, but that's using a large block size. Using normal block size the limit is 2TB. Disks are rapidly approaching that size!
ext4 has a 1 exabyte limit. They say ext4 "could" be extended to 64-bit block addressing later (versus the current 48-bit) if people start bumping up against that 1 exabyte limit.
Moderators, it's not flamebait if it's true.