Slashdot Mirror


Why Redhat Choose ext3 For 7.2

mz001b writes "There is an interesting article from RH posted on LinuxToday discussing why they chose ext3 over the other available journaling filesystems (ReiserFS, xfs, jfs,...) for RH 7.2"

68 of 250 comments (clear)

  1. Who out there has actually done real research? by bconway · · Score: 3, Troll

    I've worked with ext2, ext3, and ReiserFS extensively, and I can say I've had vastly different results than what many people have _read and repeated_ here. Ext2 is a nice filesystem, assuming you don't have to worry about an unclean shutdown. I can't count the number of times I've lost a filesystem entirely because it was ACTUALLY doing something when the power was lost, or just 2.4's bad VM sending the machine into oblivion and the filesystem with it. Ext3 was nice when I used it once or twice, until I turned DMA on for the disk, at which point it started corrupting itself quite nicely (not a hardware issue, trust me). I would hope this is fixed by now, but I always found it to be a nice feature. ReiserFS, but comparison, has never failed me. I've used it extensively on production machines under 2.2 and 2.4, and been using knfsd since 2.4.6 was released (damn ext2 hooks in the code, completely ridiculous). Obviously, you should find what suits your needs best, but some of the flaming and outright incorrect claims I've seen recently are just ridiculous. See what works for you, not just what RedHat tells you. I remember when Linux was about choice, not about RedHat telling me that I shouldn't use a certain filesystem on my machine and not giving me the CHOICE of doing so.

    --
    Interested in open source engine management for your Subaru?
    1. Re:Who out there has actually done real research? by dhamsaic · · Score: 5, Insightful
      Red Hat gives you the choice to use whatever file system you want. You don't *have* to use ext3 if you upgrade to Red Hat 7.2. It says so in the article, which I'm assuming you have not yet read.


      Linux still is about choice. You can choose Red Hat, or Debian, or Suse, or Mandrake, or Progeny, or whatever you want. Inside those choices, you can choose to install whatever packages you like. And you can choose whatever filesystem suits your fancy. Red Hat isn't telling you what works for you, and it isn't telling you that you shouldn't use a certain filesystem. It says that very plainly in the article. Please read them before posting drivel like this.

      --
      Every once in a while I like to masturbate a new word into my vocabulary, even if I don't know what it means.
    2. Re:Who out there has actually done real research? by Anonymous Coward · · Score: 5, Funny

      I've done some research on the different filesystems. The machines I used were all old Dell Dimension XPS D233's, 64M memory, 2G HDD's.

      Machine 1: Redhat 7.0/ext2
      Machine 2: Debian Woody/ext3
      Machine 3: Slack 7.0/reiserfs

      Test 1:

      The machines were elevated to a distance of 5 stories to the rooftop of a local building, or approximately 70 feet off the ground. Each machine was dropped veritcally then tested to see if this damaged the filesystem.

      Machine 1: Destroyed
      Machine 2: Destroyed
      Machine 3: Almost Destroyed, but made funny noises and started to smoke during CMOS check

      Test 2:

      Unable to test due to unpredicted destruction in test 1.

      Conclusion:

      No current filesystem for mainstream Linux systems is capable of surviving a 5-story vertical drop. Until this feature is implemented in an open source file system, it will be hard for that FS to be widely accepted.

    3. Re:Who out there has actually done real research? by Sir_Real · · Score: 2

      I remember when Linux was about choice, not about RedHat telling me that I shouldn't use a certain filesystem on my machine and not giving me the CHOICE of doing so.

      And how are they taking away your ability to choose which filesystem to use? Did RedHat drop support for Reiser from the kernel they distribute?

      As for why they chose to use ext3, I believe they were leary about relying on a single persons knowledge of the filesystem code. Also reiser and nfs weren't playing nice the last time I looked (granted, this was a while ago).

    4. Re:Who out there has actually done real research? by chabotc · · Score: 2

      Actualy my recent experiances with ext3 are prety decent... using it with great success on my scsi softraid volumes.

      However, i do agree, not 100% well tested software can be dangerous, not 100% tested file systems can be lethal.

      Reminds me when IBM's JFS 1.0 kernel patch came out. I spend a day converting my workstation to it, and on the first fsck.jfs that was run, my file system was -nuked-, destroyed, whiped away.. Ever since i'm waiting for the 1.1.0 release :P

      ReiserFS has seen a lot of testing over a long period of time, and has some nice b-tree's and all build in that give it better performance then ext2 in some cases.

      So use ext3 in a production envirioment? not for me anyways.. however i do plan to test it out on more experimental computers. I mean, if no one would test it, how is it supposed to become stable :)

    5. Re:Who out there has actually done real research? by chabotc · · Score: 2

      Actualy it is a shame that Redhat 7.2's installer won't allow you to select ReiserFS during install. One might argue that 'takes away choice'.

      One might also argue its not 'officialy redhat supported' and they dont care to either ;-)

      However if you look at the projects mentioned in the linuxtoday forums, it supplies modified redhat install disks which allow for ReiserFS to be chosen on install.

      I gues the main reasons why rh 7.2 chooses ext3 over reiserfs are
      - ReiserFS cannot be converted to, ext3 can
      - ReiserFS did have issues with NFS, dump, etc. (Most are fixed if not all right?)
      - RedHat should support upgrades and ReiserFS would make that impossible as ext2 could not be upgraded to ReiserFS.

    6. Re:Who out there has actually done real research? by randombit · · Score: 2, Interesting

      ReiserFS, but comparison, has never failed me. I've used it extensively on production machines under 2.2 and 2.4, and been using knfsd since 2.4.6 was released.

      Well, we had many problems here with ReiserFS/RAID0 and NFS, even after all the NFS and RAID problems were "fixed". Then we went back to ext2. Which works.

      We're thinking about maybe going to ext3 (and not because Redhat told use to do so - we're using Mandrake, and maybe going to Debian sometime). But rather, because if something goes wrong we can do a simple fall back to ext2 and we're working again.

      So, yeah, try what you think will work, be it ext2, ext3, XFS, JFS, ReiserFS, or FAT16; if it doesn't work, try something else. :)

  2. its the migration stupid.. by n3m6 · · Score: 5, Insightful

    why did they choose to use ext3 ?

    ofcourse its the migration path. Users can choose to install ext3 and later if they want to they can choose to go back to ext2. forward and backwards compatiblity makes ext3 a much more friendly jouraling filesystem for businesses. Some of the intranet servers cannot risk to backup and hope the new filesystem to go up working alright. Ofcourse there are better journaling filesystems out there. But the choice to use ext3 is good one since, its mature,stable and easier to administrate and use. Easier to administrate and use the keywords here. Any kernel out there can read an ext3 partition without extra modules. So it definitely plays well with others. Is there any other journaling filesystem that can say this ?

    1. Re:its the migration stupid.. by quartz · · Score: 2

      Except for those of us who already have ReiserFS on all our partitions. But that's OK. Even though ReiserFS has worked perfectly for me (no problems at all, even with power failures and everything) I'm willing to give ext3 a chance. I'll probably have one of my partitions reformatted to ext3 and and see how each of them performs. And when I have the winner, I'll convert the machines at work (which are still running on good ole' ext2) to it. IMO, the more choices you have, the better.

    2. Re:its the migration stupid.. by scrytch · · Score: 2

      > But the choice to use ext3 is good one since, its mature,stable and easier to administrate and use.

      I would contest that it's mature (it is brand new), and time will tell if it's stable. Personally I tend to think that filesystems take longer to shake out than the operating systems that use them. The fact that it's largely additive to ext2 and fixes its biggest wart (metadata integrity) makes it quite appealing.

      Now if we could see softupdates applied to the ext2 side, I'd be willing to switch servers from BSD over to it (I understand reiser is faster than softupdates, but it needs a lot more time in the oven, being such a radical redesign). Well, to debian with source .debs anyway, not redhat and rpm versioning hell.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
  3. Better than nothing... by Ron+Harwood · · Score: 2

    The same could be said for ext2, really... but the idea is that after an "unclean" shutdown you don't have to wait as long for a disk check... at least that's what I look to either reiserFS or EXT3 for... When you start looking at really large disk arrays - ext2 fsck takes a helluva long time.

    Yes, backups and a UPS are alway necesary for mission critical stuff... but this adds another layer of 'help'.

  4. Re:No it doesn't by dhamsaic · · Score: 2, Flamebait
    ReiserFS didn't even make 2.4. So it's not a *long* time. It's been there for "a little while." Ext3 is not in the official kernel yet, you're correct. But it is in Alan Cox's kernel, and should be in the official kernel soon.


    I like ReiserFS, but I have had it fuck up on a machine before. I'm not bitter against it, and I'm not saying that it's not good - but there is still work to be done on it. Ext3 has a lot working for it, and that's why Red Hat is using it in 7.2. Read the article for more details.

    --
    Every once in a while I like to masturbate a new word into my vocabulary, even if I don't know what it means.
  5. Re:Man, I can't imagine... by blakestah · · Score: 3, Informative

    You are missing a little from your math. Alan Cox is not relevant in this case.

    Stephen Tweedie is. He is one of the top filesystem ext[23] hackers and is employed by Redhat. RedHat runs the mailing list for ext2 and ext3 stuff.

    But mostly, ext3 allows new filesystems to be employed over old existing ones without a backup and re-creation of the file system. This means ext3 will be deployed (in the US) 10 times more than any other journaled file system.

    As for speed, I think the ext[23] file systems, which are already fast, are going to catch up with the addition of an inode hash from Daniel Phillips. Or with his Tux2 file system which is in development. But really, unless you use directories with a large number of small files, ext2 and ReiserFS are not much different for speed.

    Having an EASY upgrade path is the way. I also suspect Linus will add ext3 to the mainline kernels in another 2-3 kernel iterations, since the ext3 hackers are quite used to the appropriate methods for getting new code included.

  6. Really not a surprise ... by hal0802 · · Score: 4, Informative

    ... since Alan Cox (@redhat.com) had so many arguments over the Linux kernel Mailing List with Hans Reiser.
    This thread is a good example.

    1. Re:Really not a surprise ... by bgarcia · · Score: 2
      After having read the posts in that thread, it sounds like RedHat did extensive testing of ReiserFS and found several bugs (many of which have since been fixed).

      Not sure why you make out the arguments to be overly personal. Alan seemed quite willing to accept reiserfs patches in the AC kernels.

      --
      I'm a leaf on the wind. Watch how I soar.
  7. speed reading? by mattdm · · Score: 3

    I'm impressed that you were able to write that long paragraph in the three minutes since the article was posted, let alone read the message linked-to. But, I think that in your hurry, you missed a few key things, so I thought I'd quote them here for your benefit and the benefit of anyone else in too much of a rush:

    I wrote up a short piece that I hope to flesh out a bit more later on why Red Hat chose to include ext3 in this release, why you want to use it, and what we did to make it robust.
    It's not an anti-any-other-filesystem tirade at all. Don't take any part of it as meant to put down any other filesystem, even ones we have not chosen to ship yet. No hidden agenda involving alien abductions... :-)

    Red Hat is just telling you what they think works -- not taking away any of your choices. They even ship the reiserfs tools. Perhaps you've fallen to the whole "Red Hat is too popular to be cool" thing?

  8. I have to say, I agree by Zenithal · · Score: 3, Insightful

    I've been interested in upgrading the FS on the machines I manage here in the office, give or take about 15 servers. The fact of the matter is that it is no small job bringing down a production machine to change its filesystem. So, it sits with an unjournaled ext2 fs. Which is where it would sit, potentially forever until it left the production scope. The ability to upgrade the FS to ext3 without even a reboot, AND maintaining the security of being able to roll back those changes are more than enough to convince me that this is the best way to go.

    If I push to have the systems upgraded, say to ReiserFS, and something goes wrong. I'm just plain f**ked. It's that simple. This offers me the ability to upgrade with a fraction of the risk. Which, considering RedHats duties to its customers, I think is the perfect decision.

    --


    Aaron
    AaronCameron.net
  9. What about Stephen Tweedie? by soboroff · · Score: 2, Redundant
    My first thought was that it's because Stephen Tweedie, lead developer of ext3, works for RedHat. ReiserFS was developed primarily by SUSE. JFS and XFS come from IBM and SGI.

    So I read the article, and all of those reasons could easily apply to any of the above filesystems. Never mind that all of them are more mature and more stable than ext3. The only technical argument for ext3 is the upgrade path: ext3 is ext2 with a journal. But the real reason might be that RH can speed adoption (and by the bazaar model, improvement) of ext3, developed at RedHat, this way.

    1. Re:What about Stephen Tweedie? by Lac · · Score: 2, Funny

      My first thought was that it's because Stephen Tweedie, lead developer of ext3, works for RedHat. ReiserFS was developed primarily by SUSE. JFS and XFS come from IBM and SGI. / So I read the article, and all of those reasons could easily apply to any of the above filesystems.

      Your very thorough reading probably missed this surprising section:

      "Easy transition:
      It is easy to change from ext2 to ext3 and gain the benefits of a robust journaling file system, without reformatting. That's right, no need to do a long, tedious, and error-prone backup, reformat, restore operation in order to experience the advantages of ext3."

      It could happen to anyone. I know I had to read the article half-way before I even saw it!

  10. Re:No it doesn't by Smitty825 · · Score: 2

    Although my machine is currently running Mandrake 7.2 (I can't vouch for 8.0 & greater, but I'd assume it is the same), Mandrake gives you the option of what file systems you would like to install. You even have more choices than what you listed above...
    ext2, ext3, XFS, Reiser, UFS, HFS (Mac), etc. I'd guess that there are 40 different filesystems for you to chose from...

    --

    Doh!
  11. Re:Performance... by Erik+Hensema · · Score: 3, Informative

    Reiser performs better than ext2 mainly on two points:

    • Large directory handling
    • Space allocation

    ext2 uses a linear search algorithm to index directories while Reiser uses a hashtable. This makes handing of large (10000+ files) directories far more efficient. No more need for /home/h/he/hensema.

    Reiserfs also packs together the 'tails' of files, meaning that multiple endings of files can occupy the same disk block. This saves space (less slack). The classic example where this works very well is a newsspool, containing hunderds of thousands of files sized typically around 4 KB.

    I'm not sure wether the special Reiserfs API has been implemented which can allocate files without names but using their hash-index. This may speed up processes like squid, which have to store vast amount of files but don't care about their names. Cutting out the directory layer completely is a very nice sollution.

    --

    This is your sig. There are thousands more, but this one is yours.

  12. Not what it says! by arestivo · · Score: 5, Informative
    I wonder if who posted this article even read the original one.

    The article at LinuxToday isn't about RedHat prefering ext3 over other journaling filesystems. It's merely an explaination of why they decided to include ext3 in the new RedHat 7.2.

    ... I wrote up a short piece that I hope to flesh out a bit more later on why Red Hat chose to include ext3 in this release ...

    The only comparison made is between ext3 and ext2 where they explain the advantages of a journaling system.

  13. Experiences with ReiserFS by DaveWood · · Score: 5, Interesting
    As our partition continued to grow, from 13GB to 37GB to 50GB and now 100 and soon to grow again (and there are hundreds of thousands of files), somewhere around the 50GB mark ext2 started to get a little overburdened.


    Linux has never crashed on me without a hardware problem causing it (not an exaggeration), but that doesn't mean we haven't had plenty of hardware problems, and each time there was a failure, the fsck would take 30-45 minutes. My first thought was ext3, but... heh. It was always grayed out in the kernel config menus. Not a good sign. ReiserFS on the other hand was immediately available.


    Of course, you don't trust your data to something without being damn thorough about it, so I did a bunch of tests on staging servers (which went great) and I spent a lot of time reading Hans Reiser, who impressed me considerably as a smart person with a lot of good ideas. We made the move this spring and have had zero problems with the filesystem during normal operations. Zero. It's blazing fast on our tests, it appears to scale beautifully, and if I go down, I have no wait time anymore coming back up.


    Of course, I keep up with the kernel changes and upgrade when I see updates relevant to the filesystem.


    It's not a perfect package, but nearly. Its consistency checker/repair tool (reiserfsck) is not finished (as its messages vigorously warn). Now, remember, this is not the same thing as e2fsck. You are not using it in the same role, its purpose is much more specialized (disaster recovery), so the significance is different. Still; we came to use it during several of the many times high-speed SCSI chomped on our asses and corrupted data. We have backups, of course, but I wanted to see what the tool was capable of. In several cases it was able to successfully rebuild the filesystem, very slowly, with --rebuilddb, but in several other cases, the tool would dump core, which, if you were one of those fools without a backup, would leave you stranded.


    Even in this, however, I was reassured; the maintainer of the tool answers emails quickly and was eager to try to troubleshoot the problem. I thus have no doubt that it will quickly mature into something quite good. It's just not there at this moment.


    On the whole I would say I'm extremely happy with ReiserFS; we've punished it here pretty brutally and it's passed every test. I don't have any experience with ext3, but anecdotally I'm told it's less mature. Still, I have nothing against it. I can only comment that I hope Redhat's upgrade process from 7.1 to 7.2 will at least take reiserfs into account, instead of breaking the way it did from 7.0 to 7.1.

    1. Re:Experiences with ReiserFS by bero-rh · · Score: 2

      I can only comment that I hope Redhat's upgrade process from 7.1 to 7.2 will at least take reiserfs into account, instead of breaking the way it did from 7.0 to 7.1.

      It doesn't.
      It'll recognize and keep your partitions.

      --
      This message is provided under the terms outlined at http://www.bero.org/terms.html
    2. Re:Experiences with ReiserFS by HiThere · · Score: 2

      Well, since 7.2 is an early beta, perhaps that should be "not yet". At least one can hope. I note that Linux Today (I think) today had a story about someone who what issuing a Reisser based Red Hat 7.2 distribution, with the comment that they would start shipping as soon as 7.2 was final. Didn't follow it up, but it was there.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
  14. XFS anyone? by greenfly · · Score: 5, Insightful

    I'm suprised that more people haven't said anything about XFS. I've been using for awhile now at home and on a production fileserver at work for awhile now and haven't experienced any problems. The only thing at all that has been a worry is the fact that Grub can not yet read XFS, so you have to create a small boot drive at the beginning. At least with XFS, the filesystem has already been designed and tested for years by SGI, and the only matter was porting it to Linux. From what I've seen with ReiserFS, they are still trying to decide on features and on how it is going to go about doing things. That's fine and all, but I don't want to end up having to backup and restore my filesystem a few times as they decide to impliment a new "everything and the kitchen sink" feature. If I'm doing something for file integrity and security, I'd rather have something that I know has been working for years now in a high performance environment. Just so this won't be considered offtopic, I would say that I can see why ext3 would be preferred by Redhat over Reiser (with the in-house development, and the easier migration), and hey, it will probably be "good enough" for most people (and certainly some kind of journaling is better than plain ext2), so hey, good for Redhat, and good for their users. I'll continue using XFS, but that's what's nice about choice anyway, right?

    1. Re:XFS anyone? by Brian+Knotts · · Score: 2
      The only thing at all that has been a worry is the fact that Grub can not yet read XFS

      I didn't know that. I have XFS running on all partitions including root on five machines (4 debian, 1 mandrake).

      I've had no problems, either. XFS is awesome!

      I wish Linus would put it into 2.5, and I wish Alan would then backport it to 2.4. I think it's proven itself.

    2. Re:XFS anyone? by bero-rh · · Score: 2

      SGI Has put a major effort in porting XFS to the RH ISO and Linux Kernel . You'd think RedHat might collaberate on the effort. Or Will XFS be an option for RH7.2?

      No, because our kernel people dislike some parts of its code. e.g. it adds system calls Linus hasn't approved, and changes too many parts of the kernel a filesystem shouldn't touch.

      When those things get resolved, it will probably be re-evaluated.

      --
      This message is provided under the terms outlined at http://www.bero.org/terms.html
  15. Re:Migration goot by Chaostrophy · · Score: 3, Informative

    http://cambuca.ldhs.cetuc.puc-rio.br/ has a install disk for RH & ReiserFS, I expect you could
    use it for recovery.

    These make nice emergency disks, including ssh:
    http://www.lnx-bbc.org/ The LNX-BBC is a mini Linux-distribution, small enough to fit on a CD-ROM that has been cut, pressed, or molded to the size and shape of a business card.

    --
    Plato seems wrong to me today
  16. Easier Partitioning by GroundBounce · · Score: 4, Interesting

    I use Partition Magic on a regular basis to manage my partitions, resizing and moving them around as needed. (I know, it's commercial software, but it's one of the more useful pieces of commercial software out there, especially if you like to change things around a lot on your systems.)

    PM supports ext2 but not any of the newer exotic journaling file systems like ReiserFS or xfs.

    The fact that ext3 is comatable with ext2, and can be converted back and forth is a welcome feature for those who use PM to manage their partitions.

    1. Re:Easier Partitioning by Phaser6047 · · Score: 2, Informative

      It's just as easy to resize with GPL'ed tools. I've had times where Partition Magic is not avaliable to me, and I needed to resize a partition. I loaded up a boot disk with a copy of resize2fs and away it went.

      resize_reiserfs works much in the same way.

      I'm honestly not sure if the metadata and journal will be fully compatable with Partition Magic. It may just lead to a corrupt partition, but hell, that's what backups are for.

    2. Re:Easier Partitioning by GroundBounce · · Score: 2

      I'm honestly not sure if the metadata and journal will be fully compatable with Partition Magic.

      I'm not sure either. My plan is to try it on a fresh install once I upgrade to RH7.2 and see if it works. If it corrupts everything, no biggie since it was a fresh install.

      It may also be that PM might refuse to recognize it if the partition type ID is different for ext3 (which I assume it is, although I don't know for sure).

      The nice thing about ext3 in either of these cases is that you can back-convert to ext2, resize the partition, and re-convert to ext3.

      BTW, I agree with your comments on alternative partitioning tools; but I have been a PM user for many years and have come to trust it, so I haven't felt like changing even though good GPL'd tools are now available.

    3. Re:Easier Partitioning by Xenex · · Score: 2

      "I haven't felt like changing even though good GPL'd tools are now available."

      I've used Partition Magic for a few years too, and I haven't see any Free alternatives around, apart from fips, and, well that comes no-where near PM for features.

      Do you have the names of any of the 'new' ones?

  17. Re:journaling fs can crap out on you by j7953 · · Score: 2

    I'm anything but a filesystem expert, but from what I know, a journaling filesystem doesn't magically protect your files against damage. If power fails while writing to your disk, even journaling filesystems won't be able to complete the write later, the data simply isn't stored anywhere.

    What the journaling system can do is have a very short disk check time during reboot, because it doesn't have to scan the complete disk after a crash.

    --
    Sig (appended to the end of comments I post, 54 chars)
  18. Re:Man, I can't imagine... by blakestah · · Score: 2

    Yes, I admit I skipped over some of the technicalities, but my point still remains. Alan has already written the kernel patch. He works for RedHat.

    Stephen Tweedie and Ted T'so wrote ext3, mostly. Andrew Morton led its port to the 2.4 filesystem, and maintains patches for ext3 to be applied to the 2.4 kernels.

    Alan Cox merges those submitted patches into his ac series, which ultimately leads to Linus adding them to the "stock" kernels.

  19. Re:Man, I can't imagine... by blakestah · · Score: 2

    Um, how can ext[23] catch up on speed with the addition of Tux2 filesystem?

    In many ways Tux2 is an add-on to ext2 to add
    1) A hash function which is analogous to a B-tree for directory searches. This is currently a big speed hit for ext2 for directories with lots of small files.
    2) Atomic updating of file system writes. This will make the file system power-button resistant without adding a journal. This is a feature already present in FFS + Soft Updates in FreeBSD.

    The atomic updating algorithm will make the file system faster than any journalled file system, ceteris paribus. But Tux2 will also be an add-on to existing ext[23] file systems, and will inherit most of its code base from them. Similarly, the upgrade path will not require a backup and re-creation of the file system. At least, this is according to statements made by its coder, Phillips.

  20. LILO works fine with XFS by Brian+Knotts · · Score: 2
    Forgot to mention explicitly in my last post. I use LILO with my XFS-root-partition machines.

    BTW, people can get more information about XFS, or download patches or kernel source from the SGI Linux XFS site. CVS is also available.

  21. Entertaining by toofast · · Score: 2

    Thank you. That was entertaining.

    =)

  22. Because they're RedHat by HerrGlock · · Score: 2

    and they want to define what Linux is. That's not so hard to understand.

    Yes, I'm a Linux user, yes, I have it pre-loaded onto computers I buy for work and will sing it's virtues all day long, but RedHat is still a company and does have to make money. If they've tested the filesystems and one type works better for what Redhat needs in a filesystem, it doesn't take a brain surgeon to figure out which filesystem they're going to use.

    The good news is that you can have a dozen filesystems on your hard drive and mount each and every one of them and not have to worry about which one is what when it comes time to go to that directory.

    DanH

    --
    Cav Pilot's Reference Page
    UNIX - Not just for Vestal Virgins anymore
    1. Re:Because they're RedHat by Jason+Earl · · Score: 2

      More importantly RedHat went with Ext3 because it offers similar performace, potentially greater reliability (since it is based on ext2 code) and most importantly, upgrading from ext2 to ext3 is much more straightforward.

      RedHat has a lot of existing customers. Providing them with an upgrade path to a journaled is a clear win for them. ReiseFS may have been first, and it almost certainly is better in some situations (and not particularly worse in others). However, it requires a much more painful transition, it isn't backwards compatible with ext2, and it doesn't come with the wide array of bulletproof recovery tools that ext3 inherits from ext2.

      The beautty of Linux is (as you pointed out) we Linux users get to pick and choose from a growing assortment of very acceptable choices. We are literally being drowned with cool filesystems, and once they are mounted they will all act similarly to the 'ls -la' command.

      Linux rocks!

  23. Michael Johnson Fails Objectivity Test by Karma+Sucks · · Score: 2

    Here's my reasoning:

    * Any non-trivial choice in the computer world has its pros and cons.

    * Magically, Michael Johnson only finds pros in adopting ext3.

    Conclusion: Michael Johnson is not fully confronting the issue or being fully objective and upfront.

    --
    (Please browse at -1 to read this comment.)
    1. Re:Michael Johnson Fails Objectivity Test by bero-rh · · Score: 2

      Actually, the article is the reasons why we're using ext3 as the default filesystem. It is not as a full comparison between ext3 and the other options.

      Yes, other filesystems have some advantages under some circumstances. Nobody here would contradict to that statement.
      ext3 simply happens to be the only filesystem that has all the pros listed in the article, and those are the most important ones IOO.

      --
      This message is provided under the terms outlined at http://www.bero.org/terms.html
  24. Why, Indeed. by GroundBounce · · Score: 2

    ext2 - hmmm, too cold.

    ReiserFS - mmmm... too hot.

    ext3 - mmmmm.... Ah! Just right!

  25. We have experienced data loss with reiserfs by FreeUser · · Score: 2

    Both at home, and at work, running various versions of the 2.2 kernel plus patches, stock Mandrake installs, 2.4 kernel, etc. we have, over time, experienced data loss using reiserfs. This has not been limited to one machine, or one configuration, or one version of the filesystem (though, admittedly, we have been unwilling to try any newer versions in the last six months or so ... let someone else take the pain for a while).

    I say this not to knock reiser per se (I am quite happy it made it into the kernel tree, although I won't be completely happy until ext3, jfs, and xfs are all in the kernel tree as well so that they can compete with one another on quality and features rather than merely convinience), but to point out that all is not necessarilly sunny, nor is it unequivocably the "leader" when it comes to Linux journalling filesystems. I feel it is important to counterbalance some of these overly sunny depictions of experimental filesystems being used in serious environments with a little real-world, personal experience to the contrary.

    I haven't yet tried ext3 or jfs, but have used various incarnations of xfs and must say that I have developed a preference for it over the last few weeks. That having been said, I still make use of ext2 filesystems in production environments and will only use less tried linux filesystems (previously reiser, now ext3 and xfs) in development/test environments only ... at least for the nonce. I concur with another poster who pointed out that SGI's XFS has been well tested and stable since 1994 ... any issues are porting issues, not design or internal issues, which IMHO is quite important when looking for a managable and stable alternative.

    These filesystems are fun and exciting, but they are not perfect, and in the case of reiser some rather serious (hopefully now fixed, but what's next?) flaws have gotten played down a little more than they should have. Remember, back up early, back up often, and be conservative in using any of them in anything other than a test situation (you can, once its tested to your satisfaction, but be cautious).

    Back up early and back up often.

    --
    The Future of Human Evolution: Autonomy
  26. My thoughts... by jd · · Score: 2
    ReiserFS? Ext3? XFS? JFS?


    =WHY CARE WHICH???=


    Once you've formatted the partition, and loaded the appropriate FS driver, you don't =NEED= to care what the underlying filesystem is. There is NO DIFFERENCE!


    From the perspective of Red Hat, or any other distribution, the difference in effort of supporting one journalling FS or a hundred is negligable. A menu is a menu is a menu. The number of items on it is irrelevent.


    From the perspective of the user, it doesn't make a difference, either. Oh, it's a pull-down menu! Wow! Never seen one of those before, I wonder how it works. Duh! Give even novice users the wits to ignore things they don't understand, and expert users the freedom to tweak things they DO understand. Futher, since ALL filing systems behave in much the same way, from the user's standpoint, it doesn't make a damn bit of difference whether someone "messes up" on this or not.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  27. Other Journaling file systems available? by miguel · · Score: 2

    I did not see any mention on the article on whether other journaling file systems would be available on Red Hat 7.2 as part of the installation/upgrade procedure.

    I am have been using ReiserFS for about 18 months now and greatly appreciate it on my 20 gig hard drive on my laptop. Never had a single corruption problem, and always rebooting the machine quickly (specially with VMware crashing the system ;-)

    Some systems at Ximian use XFS extensively as well. When you have too many files in a directory (for example Gnus spools) ext2/ext2 wont cut it due to the slow operations on directories with lots of files.

    Miguel.

    1. Re:Other Journaling file systems available? by bero-rh · · Score: 4, Informative

      I did not see any mention on the article on whether other journaling file systems would be available on Red Hat 7.2 as part of the installation/upgrade procedure.

      We support installing to ext2 and ext3; reiserfs partitions are preserved when they're existing.

      The kernel does not have XFS or JFS patched in (mostly code issues).

      --
      This message is provided under the terms outlined at http://www.bero.org/terms.html
  28. fsck not that long by josepha48 · · Score: 2

    Hmm this will be interesting. My machine has had a few unexpected shutdowns, and I have had to run fsck on them. With a 30 GIg drive it actually was faster than with my old system. Of course it helps that I have a super fast computer these days (1.2Gighz with WD 7200RPM drive). I'd imagine that soon I can have my dream of instant on / instant off machine ;-).

    --

    Only 'flamers' flame!

    1. Re:fsck not that long by josepha48 · · Score: 2

      duh! I already know that. But the real question is for a smaller system will you actually see any difference? In my system now, it takes a few seconds to run fsck. So with journaling it will be what 1 second a mount point? Sure it will be faster, but I still want instant on / instant off like my palm does.

      --

      Only 'flamers' flame!

    2. Re:fsck not that long by peterdaly · · Score: 2

      That's all well and good, but when one of our RAID5 140GIG dual 700MHZ machines goes down hard for some reason (which has happened a couple times), it is nice not to have to wait 20 minutes for the machine that has 2-6 hits a second check it's hard drives. Every second counts.

      (We had some wierd NFS problem from an AS/400 that caused Linux to lock.) While it's not a big deal for home users. Production servers are a much different story.

      -Pete

  29. No major fs changes in a point release ... by RedDirt · · Score: 3, Insightful

    RedHat has been VERY good about not radically changing their platform between point releases so I'm not surprised to see this incremental filesystem improvement.

    I would, however, be surprised to see them skip XFS, JFS or ReiserFS in their 8.0 release. It would make sense for them to add that capability at that time (and would allow the implementations to mature that much more).

    -- James

    --
    James
  30. RaiserFS experience by einhverfr · · Score: 2
    I have experienced some interesteing problems with RaiserFS on SuSE 7.0. THe more interesting scenario is something like this:


    $ ls

    .

    ..

    script


    $ chmod 700 script

    $ ./script

    File Not Found


    Yet, ls still finds the file... This is a phantom problem I have only seen on RaiserFS and appears to be some sort of metadata corruption. It is really irritating because you have to create another file. To the credit of RaiserFS, the problem has not occurred since I upgraded to SuSE 7.1.

    --

    LedgerSMB: Open source Accounting/ERP
  31. Re:isn't it Chose? by Rudeboy777 · · Score: 2

    They should change it to

    Why Redhat Choo-Choo-Choose ext3 for 7.2

    and replace the Red Hat logo with a picture of a train ;)

    --

    From hell's heart I fstab at /dev/hdc

  32. That's not what a journal is for. by aussersterne · · Score: 2

    A filesystem like reiser/ext3/xfs is only designed to guarantee the internal consistency of the filesystem and metadata after a power failure. No guarantees are made about the data itself.

    Contrary to popular misunderstanding, using a journaled filesystem does not mean you can start using the power switch before doing a proper shutdown -- try this and you will lose data on any filesystem. It's just that on the journaled filesystems, the risk of further filesystem corruption as a result of power failure is drastically reduced and there is no long delay to analyze the entire filesystem for consistency when powering up again.

    --
    STOP . AMERICA . NOW
  33. NVRAM? by ajs · · Score: 2

    Allusion is made in the article to the future use of NVRAM for the journal. Now, I know how much a performance win this would be, but doesn't NetApp hold a patent on that?

    Can someone with more patent-searching skills than myself verify? Thanks!

  34. So, where is it? by Pflipp · · Score: 3, Interesting

    (Sorry if I be a little short-sentenced. I just wrote a whole story then Mozilla went nuts so now I am doing it again.)

    Two things: First, with 2.4 we were `promised' journaling and devfs. Both are still marked experimental, and of journaling, only ReiserFS is included as an appetizer, but the subsystem is still heavily in development. Some smaller things that were supposed to be improved at 2.4 are also still marked experimental. My guess is that most people -like me- are still using ext2 and device nodes, silently but eagerly waiting until journaling and devfs (and these other smaller things) get marked `stable' (by the proper authorities ;-), and that, as a result, journaling and devfs will really become mainstream when 2.5 is in good sight. So while 2.4 was supposed to bring us these two big features, in reality, well, it doesn't. Yes, I know, it provides the basis, is being worked on, can be obtained by patches etc. etc., but that doesn't practically make it much difference from 2.2, because as I said, for what I guess, most people still aren't encouraged to take the step to a journaling filesystem.

    Second: think GCC-2.96 (IIRC). RedHat has the power to shape the Free Software market a little bit the way they like it. With the inclusion of the compiler marked as GCC-2.96 they have practically released a GCC version without involving the GCC team. When RedHat issues a kernel that does ext3 (not just as an option, but as a default feature), I guess at least some of the results are the same as with the GCC-2.96 case. Although maybe this time not `faced with the facts' (that RedHat issued GCC-2.96), but merely `by popular demand' (from other distro's that want to use journaling by now), there will be some pressure on other distro's and the kernel developers to get journalining in.

    Hmm. Maybe I'm really exaggerating the case. And do keep in mind that I'm not mad that I don't `get what I'm promised' or something like that. It just makes me nervous that I can't find ext3 anywhere in my fresh kernel sources (2.4.7; debian testing doesn't have 2.4.8 yet but I don't think the differences are that big wrt journaling and `marked experimental' stuff AFAIK from the changelogs) while the ext3 patches for the 2.2 series _are_ in the distro. And I really can use that stable VM of 2.4; earlier on the GIMP crashed my box, now it just crashes itself when loading huge things. I do get complete keyboard blocks once in a while, but no trashing anymore, and hey, that's what the reset button was built for, right?

    Which brings us back to journaling.... Oh well ;-)

    --
    "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
  35. Related note: beta2 released by bero-rh · · Score: 2

    Not 100% on topic, but somewhat related: The second beta has been released yesterday. You can get it at ftp://ftp.redhat.com/pub/redhat/linux/beta/roswell /.

    --
    This message is provided under the terms outlined at http://www.bero.org/terms.html
  36. Re:the word is "administer," stupid by HiThere · · Score: 2

    Isn't "to administrate" to issue lots and lots of reports?

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  37. Re:No it doesn't by HiThere · · Score: 2

    It seems to me that hard disks are now large enough that there needs to be another option (make it easy enough so that everyone can try it):

    At install time, optionally (check box, just like ext3) set up a few partitions, each a test version. Set each one to a boot partition with a different file system. At boot time, allow the user to pick which one to boot from. Set up a few dummy one's, too, so that new file system types can be added, and a utility to copy a boot partition to the new one, customizing partition mapping tables (which is why the scripting is needed).

    I tried doing something sort of like this by hand once, but I had a lot of trouble getting the partition mapping tables straight. In fact I considered myself lucky to be able to straighten things back out without a reinstall.

    The names of the boot partition and the dummies need to be shuffled around as you move from one to the other, but the device addresses stay fixed. This is fine, but when some options are used the device addresses get replaced by the current name of the partition... well, it got a bit messy.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  38. Reiser can get corrupted under heavy loads by Billly+Gates · · Score: 2

    When Redhat 7.1 was released, someone here on slashdot wondered why reiser was not part of the distro. A redhat employee posted that under certian conditions with heavy file i/o tests, the filesystem became corrupted. I am sure the bug is not very common but on a corporate server it should not be installed. The article has been slashdotted so I have no idea what it said about rieser or the other filesystems but I assume that the other filesystems were not fully tested enough with the linux kernel so were not included.

    Also remember that redhat is made and used for bussiness oriented servers and workstations where stability and reliability over cutting edge technology is very important. I would not want to bet my job on a new technology until its very matured. Redhat needs to take it slow due to their market. You can always use a more bleeding edge distro like mandrake. Also reiser is available on the Redhat Powertools cd with the deluxe or server edition of RH 7.1 if you just have to have it.

    PS: Could someone posting anonymously post the story so I could read it. Thanks

    1. Re:Reiser can get corrupted under heavy loads by (H)elix1 · · Score: 2
      Ok, I just don't buy the "it was not tested, so they did not include it". I code mostly Java these days, and I'll be damned if they have not horked up most of the RH 6.9+ releases - I even had to make a symb link to cut in 7.1 (I think, been a while now). GCC was a bit of a mess to for the C++ work, and Oracle continues to be its own special place in install hell.. Anyhow, as a workstation class OS, you would think things like that would catch someone's eye rather than some obscure FID like error.... smells like politics to me...

      As for betting your job on new technology, cutting edge still pays better than the stable stuff - kidding here, I know what you are trying to say - if the cutting edge is not greased with the blood of developers, its the ops folks who are next in line for the sacrifice... A bit more QA might be in order between final cuts. Guess I should grab those 7.2b ISO's and get testing again. {Grin}

  39. Re:Performance... by teg · · Score: 2

    I suspect performance characteristics will vary with how and what you use it for.

    An example: When I did benchmarks with PostgreSQL 7.1.1/2 a couple of months ago, XFS and ext3 were of similar speed while ReiserFS was rather slow. OTOH, I'd expect ReiserFS to handle cases with lots of files in a directory faster than ext2. Also, the tailmerging in ReiserFS should save space (especially in situations with many small files), but is somewhat risky (there's been a few bugs in that part of the code) and will cost performance.


    One of the big benefits of ext3 is that the filesystem isn't new, it's proven solid and has been around for a long time. Adding a journal layer isn't too risky, and it has been in testing (with good results) for a long time.

  40. Corruption with ReiserFS by einhverfr · · Score: 2
    I have experienced some extremely severe system file metadata corruption under ReiserFS. The example was posted previously but basically, the problem involves an inability for the system to find the file when it is trying to execute it, even though the file can still be read and modified in an editor (yes, permission is granted, and the error specifically indicates a file not found type of error).


    The only resolution I could come up with was to recreate a new file. It was limited to our ReiserFS / partition, and was most common with the rc.d scripts. This was a major headache and I decided that the journal did give some advantages but at that time (SuSE 7.0) was not ready for prime time, as it added additional ways things could go wrong.


    This problem had a habit of preventing certain important services from starting because the metadata for the startup scripts would become corrupt. It was an issue for us, and it has not made us very favorable towards ReiserFS. In fact it prevented further migration.

    --

    LedgerSMB: Open source Accounting/ERP
  41. Re:NTFS! by einhverfr · · Score: 2
    Yes, but the NTFS drivers on Linux have a tendency of breaking it. Can you say File Corruption?!


    If it don't run properly on Linux, I don't run it.

    --

    LedgerSMB: Open source Accounting/ERP
  42. Re:Red Hat no longer gives you enough choice. by timster · · Score: 2

    If you will recall, Red Hat was flamed extensively for releasing glibc when they did.
    Benchmark results are not #1 on the list of important features in a server-class OS.
    Red Hat is not claiming that "reiser goes corrupt", but you would have known that, had you read the article.

    --
    I have seen the future, and it is inconvenient.
  43. what is the max file size? by weave · · Score: 2

    Is there still a two gig max file size limitation? I'm assuming so, since this seems to mainly be ext2fs with journaling tacked onto it.

  44. Re:Red Hat no longer gives you enough choice. by emil · · Score: 2

    Bero has indeed claimed that Reiser experiences corruption at high loads, and it is you who have not done sufficient research. Please pay attention.

    However, if the likes of Oracle has stress-tested Reiser and pronounced it good enough, Red Hat's protestations fall upon deaf ears. I myself would have preferred to see XFS or JFS, and we both know that bugs have never stopped Red Hat from making a production release before.

    The next time you are insulting, try to be more literate.

  45. Re:Red Hat no longer gives you enough choice. by timster · · Score: 2

    The linked article (also known as, "the subject under discussion") makes no such statement. As for previous statements, if Red Hat discovers flaws in reiserfs, it is important that they say so (as they have done in the past with both reiserfs and ext3). What Oracle chooses to do has absolutely no bearing on the validity of Red Hat's tests or on whether reiserfs has bugs or not.
    I am not trying to be insulting. This is Slashdot. By posting you give an implicit license for others to post replies which disagree with you.

    --
    I have seen the future, and it is inconvenient.