Slashdot Mirror


First Journaling FS for Linux

wendyW writes "LinuxPR has the press release from Namesys, announcing the stable release of the journaling version of ReiserFS. According to the press release, journaling wound up making it even faster than it already was. "

281 comments

  1. Re:Compression and Encryption too? by demon · · Score: 1

    I know that ext2 has per-file attribute bits to support compression on a file-by-file basis, and there're patches out there to support that. afaik, there's no "whole filesystem" compression like Stacker/DriveSpace/etc. on DOS/Windows, however, and I don't know what the opinion is on doing it that way. (Probably not too good, unless I miss my guess.)

    --

    Sam: "That was needlessly cryptic."
    Max: "I'd be peeing my pants if I wore any!"
  2. Re:Another item gone from the MS FUD page by demon · · Score: 1

    Not that M$ has that much to brag about as far as NT's journalling filesystem... it only journals on the metadata. For them, it's basically just another "me-too" kind of thing, so they can say "Hey! Look! Enterprise people! See, we're reliable! We do journalling just like all those expensive UNIXen!"

    --

    Sam: "That was needlessly cryptic."
    Max: "I'd be peeing my pants if I wore any!"
  3. Articulate Mumbling! by Anonymous Coward · · Score: 0
    Anybody remember the book by the ex-civil servant, Charles Boren? He defined a term called "articulate mumbling". A long list of currently "in" 3 and 4 syllable words were placed in a table and numbered. Numbers were then picked at random and used to compose an article.

    The result was long boring articles that sound like memos from management. They were, however, completely content free, in the same spirit as this example.

  4. Re:journaling fs isn't news by Anonymous Coward · · Score: 0

    It's news because Linux has finally caught up with NT in this - so we can be proud.

  5. SGI Open Source's worse enenmy by Anonymous Coward · · Score: 0

    Example 1:

    The link entitled:
    "SGI freeware related to Interoperability"

    On the page:
    http://www.sgi.com/developers/technology/interop /interop.html

    Requires a $100 per year subscription to access!

    Seriously though, I've worked with SGI equipment since 1988 and one thing I have learned: SGI wants your Money! This was OK when they did things no one else could, but those days are long over. Their new commitment to open source is just a dying company trying to ride the latest software-fashion wave to a comfortable beach to die on. XFS, GLX, OpenVault all anounced a 1/2 year ago or so and still nothing useable to show for it.

    My organization is fleeing SGI as fast as we can. In it's place we are installing windows NT (thats where the apps are, thats where the apps are going), with a smattering of Linux/FreeBSD (great servers for small stuff) boxen.

    We feel we've been burned by SGI's insane actions over the last year or so. Dropping tried and true Mips and commiting to Intel IA64 over a year before the product even ships. Buying then dumping CRAY. Hinting at the demise of IRIX and announcing LINUX as the heir apparent, years before critical features of IRIX (like xfs) will be available in Linux.

    Our only conclusion is that SGI management spends most of their time high on CRACK.

    So Long SGI!!!!!


    1. Re:SGI Open Source's worse enenmy by Anonymous Coward · · Score: 0

      Gotta love those guys from SUN logging in as AC's and posting these slams.

      Of course, this poor misguided individual may not know about the SGI freeware site. But then again, after reading this rant, well, you'd sorta expect that even if they knew about it, they wouldn't tell you.

      So, ignore the FUDders from SUN. Enjoy the GNUware.

    2. Re:SGI Open Source's worse enenmy by kkenn · · Score: 1

      I've gotta agree. SGI's actions in recent times strike me as those of a drowning man clutching at straws -- anything, anything which might prop him up for a few moments longer. They haven't exactly been making boatloads of money recently..

    3. Re:SGI Open Source's worse enenmy by Anonymous Coward · · Score: 0

      whoopy... builds of free (tm) software for IRIX on MIPS... big damn deal... they are on crack if they think that that shit site counts as a contribution. I have hosted more comprehensive FTP servers. And I have yet to aquire and flip my first super computer company! I agree ... a last gasp at the public eye.

  6. XFS, reiserfs, ext3fs by Laven · · Score: 3
    It looks like there are a lot of questions about other journalling filesystems. I'm no expert on these things, but I have spent quite a bit of time following all three projects and I've read through all available documents on the three filesystems. Here's what I understand of the three.

    XFS
    Originally made by SGI for their IRIX OS, XFS is one awesome filesystem. Read this white paper (http://www.sgi.com/Technology/xfs -whitepaper.html). This white paper describes all of its cool features. The main features of XFS make it a super scalable, very reliable, ultra fast journalling filesystem utilizing many cool FS technologies like B-trees and other cool stuff.

    Unfortunately, it seems that currently there are many problems with the Linux implementation of XFS. I don't know any details of this, but I guess it is safe to say that XFS will some day become available for Linux. This would be great.

    ext3fs
    I've only read about this in the linux mailing lists. ext3 appears to be a standard ext2fs implementation with journalling data, allowing backward compatibility with ext2, although one of the authors hinted that they may not make it backwards compatible in some later version. It is currently in super early alpha testing and definately not anywhere close to usable, stable and reliable.

    In my opinion this project is very new, and holds much promise. From their README, they appear to be done basic journalling code, and what remains to be done is error handling contingencies, metadata only journalling, performance tuning and lots of other coding. As a result, it may take some time but this could hold much promise and give another viable option for a journalling FS for Linux. Choices are always good.

    Ext3 Site - ftp://ftp.linux.org.uk/pub/linux/sct/f s/jfs/

    Reiserfs - http://devlinux.com/namesys/
    I've been following reiserfs for a few months now. Its actually been available for quite some time now as a very stable, reliable and quick filesystem for Linux, but it was only recently when journalling was added to the code. Apparently this new addition is supposed to make it faster.

    In "releasing" reiserfs, SuSE doesn't mean that it is the first journalling filesystem for Linux. It is the first journalling FS for Linux to be dubbed reliable and suitable for normal use. This is great as journalling has long been a stumbling block for enterprise adoption of Linux. Alan Cox hinted that he may include reiserfs in the standard kernels soon. Excellent =)

    Warren Togami
    warren@togami.com

    1. Re:XFS, reiserfs, ext3fs by Anonymous Coward · · Score: 0

      I have been using stephen's ext3 jfs stuff on my laptop, and I have not lost any data since I installed it three weeks ago. I only hosed my
      setup once, and that was on the first attempt at
      getting it working. I now have all of my partitions, including root, using journaling ext3.

      Just sync the disk and turn it off. Very sweet on
      a laptop. Even better than using suspend to disk.

      Reiser looks nice, but I would pay more attention
      to ext3, since ext3 is backward compatible with
      ext2.

      I don't like that suse is pre-announcing the features of their next distribution. It is their
      business, and they can say what they want, but it's going to suck for them when they cannot produce all that they announce.

      Oh well. Enough blabbering.

      Back to learning docbook.........

    2. Re:XFS, reiserfs, ext3fs by Anonymous Coward · · Score: 0
      Is XFS really an SGI creation or is it a Veritas creation. I've heard the claims that XFS is a varient of VxFS.

      It's not a significant issue, more of a curiosity.

  7. browsers by kip3f · · Score: 1

    The three really usable linux browsers are netscape/mozilla, lynx, and KFM.
    --
    Man is most nearly himself when he achieves the seriousness of a child at play.

    --
    ****Gfx Scrollbar Special case hit!!*****
  8. Re:ext3 seems fine by peter · · Score: 1

    why would you like pressing the power button? Your computer turns off when you do that, and then you can't use it :( Also, it can't run rc5des without power. :)
    #define X(x,y) x##y

    --
    #define X(x,y) x##y
    Peter Cordes ; e-mail: X(peter@cordes , .ca)
  9. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

    Years of use. I run *BSD and Linux. ext2 is definitely faster.
    No. I also run FreeBSD and Linux and I can tell you that FFS is definitely faster. That is FreeBSD and Linux servers with the same hardware (SCSI only).

  10. Check your facts by Anonymous Coward · · Score: 0

    It is not free at the moment but will be soon. I guess it is about as "free" as the GPL at the moment. FYI her is the link to the code with the copyright.
    But I can see by your sarcasm that your insterest is not the truth, but spewing bullshit is.

  11. Re:Hmmm... What about the *BSDs? by Baki · · Score: 1

    This is not true. I've been using a dual boot FreeBSD (-current) and Linux system for half a year. I have a shared homedirectory on ext2fs which I access regularly from FreeBSD.

    The only annoyance is that in case of a crash in FreeBSD, I have to boot into Linux to fsck the ext2fs filesystem. There is no fsck for ext2fs in FreeBSD yet.

  12. SuSE does it again! by Ignatius · · Score: 1

    While until last year SuSE has positioned itself as a rather conservative distibution, only impementing proven technology (no glibc2 for over a year, KDE instead of GNOME) their X-Server efforts being the only visible exception, RedHat has always been the "bleeding edge" choice among the standard distributions.

    This seems to have changed dramatically during this year: after embracing ALSA (i.e. hireing the top-ALSA developer and making ALSA part of their distribution) and publishing their next version also on DVD, SuSE now also seems to be the first distib to include a working journaling FS and is actively funding its development. Considering their recent expansion efforts (esp. in the US and Eastern Europe) and their actually positive balance (instead of RedHat, they do make some money now), I can't wait for their IPO!

  13. Where ???? by Anonymous Coward · · Score: 0

    Can you give me a pointer to this or did Kirk tell you in private? :^)
    Troll?

  14. How to migrate filesystems by heroine · · Score: 2

    Well I'm ready to either change filesystems or increase the block size on my ext2 partition but there's one problem: I've got 15 gigs of data to migrate, a CD recorder, and no money to invest in 15 gigs of tape storage. What strategies are most often used to migrate filesystems?

    1. Re:How to migrate filesystems by WNight · · Score: 1

      Buy or borrow any new HD. $200 USD will get you a 20GB HD... Find a friend, or someone at a local LUG willing to loan you one for a few hours if you can't afford it.

    2. Re:How to migrate filesystems by cabbey · · Score: 1

      two dozen CDRs should just about cover it, that's about $25 today isn't it? I helped a guy in uni do this with 9Gb worth of his research data when he moved from NTFS to ext2fs (take a guess why ;) in his case we had about 1.5Gb of space to work in so we used tar and bzip2 from cygnus to pack the data down into chunks just the right size for a CD, then did a comparison of the expanded data before nuking the original and moving on to the next chunk.

    3. Re:How to migrate filesystems by Anonymous Coward · · Score: 0
      Maybe a disk image? 'Course, I think that depends on how much free space you've got...

      If your box has internet access, you might be able to compress your stuff and upload it to one of those free "disk" space things, Magic Floppy comes to mind, don't know the URL. I don't know how much room they let you have, though. It should be fairly simple to download the data once you've reformatted.

    4. Re:How to migrate filesystems by otis+wildflower · · Score: 1

      IIRC Linux 2.x kernels supports filesystem concatenation (like Solaris DiskSuite) and if so, you may be able to concatenate a new fs onto your existing fs. Check the Software-RAID mini-HOWTO (on a RedHat linux workstation with documentation installed, it's here. Otherwise, check your friendly neighborhood HOWTO mirror...)

      Your Working Boy,

    5. Re:How to migrate filesystems by embobo · · Score: 1

      The strategy used most often is to backup the filesystem and restore from the backup. You do have a backup, don't you? As a sysadmin the two things that make me sleep well at night are a good backup and a good ups.

      15G of tape storage is pretty cheap. DDS2 tapes are $7 for 4G.

      If you don't care about backups at all, then you could buy a 27G hardrive for $300 and use that.

  15. Another item gone from the MS FUD page by maroberts · · Score: 1

    Journalling is mentioned as one of the reasons you should buy NT over Linux on the FUD page:

    http://www.microsoft.com/ntserver/nts/news/msnw/ LinuxMyths.asp

    They'll have to edit it again, now it appears Linux has 2 or 3 to choose from. At the current rate of progress MS will have to edit it almost daily :-).

    --

    Donte Alistair Anderson Roberts - hi son!
    Karma: Chameleon

    1. Re:Another item gone from the MS FUD page by Zagato-sama · · Score: 1

      Yeah that would work if Linux came with the journaling file system _installed_ Last time I checked Redhat, Caldera, or whatnot were still using ext2. It's not "FUD" if it's true. Linux distributions do not come with a journaling filesystem installed

  16. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

    we have lower scheduling latency now, so neener-neener. In case you didn't understand that, we can do realtime audio processing better. BeOS is only THE "media OS" compared to things like MacOS and Windows. from a pure capabilities standpoint, Linux would be just as good a choice, and IRIX beats the hell out of both of them.

  17. Wrong forum by Anonymous Coward · · Score: 0

    Do you really think that Slashdot is the right forum for discussing things like this.
    It will propably be more usefull for you to discuss it on the hackers mailing list and file a bug report. That is if you are really interested.
    I can't imagine there are many developers reading Slashdot.

  18. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

    need ddd and visual slickedit. Already got gcc. but quite frankly, I prefer to use an OS I can tinker with.

  19. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

    flamebait? hey moderator, just because YOU don't understand why running a news spool off BFS would be a catasrophicly bad idea, doesn't make this AC any less correct. To ALL moderators: IF YOU DON'T UNDERSTAND THE SUBJECT, DON'T MODERATE THE COMMENTS!

  20. Re:Yes, It Works. by Anonymous Coward · · Score: 0

    Actually SGI DID release parts of the XFS source a while back (it was even mentioned on Slashdot). It was nowhere near complete, though, and mostly a demonstration of commitment from SGI.

  21. Filesystem Being DBMS by Christopher+B.+Brown · · Score: 2
    Yes, I certainly agree that ReiserFS intends to be a DBMS of sorts; you can use a filesystem to do so where:
    • A directory can represent a table
    • Each file in that directory is a record in the table
    • An "index directory" can contain symbolic links to the records
    • Things can hierarchicalize as needed

    One goal of ReiserFS is to make this practical even for small records by providing ways of efficiently storing hordes of tiny files.

    But that's a separate issue; that requires that someone create something like a ReiserSQL, a database server that maps SQL queries onto file requests on a filesystem.

    The journalling issue discussed in the top level posting implicitly regards journalling as being important for conventional RDBMSes like Oracle, Sybase, DB/2, PostgreSQL, where the model you are suggesting (and which probably is not too unlike what I outline above) does not apply.

    --
    If you're not part of the solution, you're part of the precipitate.
  22. Fast, free wave editor (mxv) by Anonymous Coward · · Score: 0

    MiXViews (mxv) is a free wave editor written in C++ (source). It's fast, powerful, and runs on Linux (and other UNIX-style operating systems).

    1. Re:Fast, free wave editor (mxv) by Anonymous Coward · · Score: 0

      The point is not whether there is an application for media editing. The point is that under BeOS it is simple enough to write your own, since the innards of the OS have been designed with mmedia in mind from day one.

      How dows MiXViews make it easier for me to add multimedia capabilities to a program that -I- write -- what BeOS has is an entire multimedia framework that is built right into the OS, and LOOKS like it.

  23. Re:Paranoid, aren't we? by Anonymous Coward · · Score: 0

    >I wouldn't call myself paranoid.

    Paranoids never do.

  24. Use the a patch to use files >2GB on x86 by Anonymous Coward · · Score: 0

    The 2GB-limit only exist on 32bits systems like Intel, but you can patch the kernel and you can use files bigger then 2GB. But now back to your question. A journaling FS will log the actions taken on the FS between to checkpoints and when the systems stops hard when you have a powerfailure. You can bring your FS back to your last checkpoint and this takes a few seconds. For example Novell 5 can bring up 3TB in about 8 or 10 sec if I'm not mistaken. This development will give Linux a stronger grip on the servermarkt, specialy because NT doesn't support journaling on NTFS. The should support journaling on NTFS5, but who is going to use Windows on there critical systems?

    1. Re:Use the a patch to use files >2GB on x86 by pboulang · · Score: 1

      Actually, this is not quite true regarding NTFS. This is on their website regarding terminal server:
      "Fault Recovery
      The Windows NT Filesystem (NTFS) is a journaling, or transactional file system. This means that any I/O that alters the file system data or meta-data (directory structure, etc.) is completed atomically so that either all of the changes are completed, or none of the changes is completed. This design means the transaction log can be used to restore the file system to a known good state after a system crash. In addition, NTFS keeps copies of vital file system information in multiple sectors for extra redundancy."

      --

      This comment is guaranteed*

      *not guaranteed

  25. Re:What about Veritas? by Anonymous Coward · · Score: 0

    Veritas is a logical volume manager, used for maintaining "logical volumes" (like partitions) that can be sread across RAID arrays or WAN systems or whatever. You can do things like have a giant drive array (or several small ones) "hand out" portions of space to several machines (even several at once!) and the machines don't know (or even care) where that actual data is located, as long as it is available.

    ReiserFS is a filesystem, like ext2, NTFS, FAT (ugh!), FFS, UFS, etc....

  26. BSD SU is NOT free, violators will be prosecuted by Anonymous Coward · · Score: 0

    McKusick's "Soft Updates" is a gussied up version of "lazy writes", nothing new really, just a tweak on an old concept. But the biggest drawback is that it is not free. Hobbyists can use it (with restrictions), but commercial users must pay a fee, or face prosecution by the courts. McKusick has requested that the net community report all violations of the "Soft Updates" license directly to him in order to expedite prosecution of violators.

  27. Daaaaamn! I sure hope this works well. by GreyFauk · · Score: 1

    Finally?/Hopefully?

    I can't wait to try this one out :>

    --
    Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
    1. Re:Daaaaamn! I sure hope this works well. by aqua · · Score: 2

      FWIW, Alan Cox did mention that he was considering merging reiserfs in with the stable kernel -- it was in the fairly short list of big-thing additions in the "maybe" pile. It would be nice to see it get into the stable tree, assuming that it's sufficiently rock-like to permit it.

    2. Re:Daaaaamn! I sure hope this works well. by Anonymous Coward · · Score: 0
      Today's experiment at playing around with all the JFS:es Linux supports (at the moment):

      • ext3 => oops. blew up when mounting (kernel dump)
      • reiser => made FS fine. worked fine (copied tons of stuff on it), and then ran 'du' on it. Bang, X froze _dead_.

      Looks like neither is ready for prime time yet. With ext3, that's no wonder, but I hoped more of reiserfs.. :P
  28. Re:Ok, has anyone had problems with the patch by longspur · · Score: 1

    I'll second the advice of the previous replier and recommend typing 'man patch'. If it's anything like any of the other kernel patches, you're going to cd to /usr/src and type 'patch -p(0 or 1)
    --

    --
    keep acting shocked and move slowly towards the cake.
  29. Re:First? by Anonymous Coward · · Score: 0

    Please tell me you're kidding. You're using code that was SPECIFICALLY marked as early alpha, to be used on test filesystems only.... ON A SERVER? Is this server also running 2.3.35? Dangling over the kiddie pool by cat5?

    I know living dangerously can be a thrill, but that is out of control.

  30. Can someone explain this by Anonymous Coward · · Score: 0

    For us slightly behind the curve folk, can someone please explain what a journaling filesystem, and what are the advantages?

    I'd just be happy if it could handle large than 2GB files.

    1. Re:Can someone explain this by m3000 · · Score: 1

      So basically it means that if a newbie linux user presses the reset button after X crashes, it won't fsck up their file system and maybe have to reinstall Linux because they don't know how to fix it? (speaking from personal experiance : ) If so, then that is a very Good Thing (tm).

    2. Re:Can someone explain this by aqua · · Score: 1

      Well, roughly and generally (and possibly somewhat innacurately), a journaling filesystem is one that writes its data in such a way as, should a crash or power failure or similar event occur, the disk is left in a runnable state and there should be no data loss beyond a possible loss of the changes that were being written to a file. A consequence of journaling is that in such events, since the filesystem does not need fixing after a crash, a machine using it for a really huge disk can restart far more quickly than would be required if a fsck had to be run across an entire filesystem, as happens with ext2.

    3. Re:Can someone explain this by Anonymous Coward · · Score: 0

      What happens in case of a log-overrun? It gets very slow, doesn't it?

    4. Re:Can someone explain this by aqua · · Score: 2
      Clarification from the Multi-Disk-HOWTO:
      These take a radically different approach to file updates by logging modifications for files in a log and later at some time checkpointing the logs.

      Reading is roughly as fast as traditional file systems that always update the files directly. Writing is much faster as only updates are appended to a log. All this is transparent to the user. It is in reliability and particularly in checking file system integrity that these file systems really shine. Since the data before last checkpointing is known to be good only the log has to be checked, and this is much faster than for traditional file systems.

      Note that while logging filesystems keep track of changes made to both data and inodes, journaling filesystems keep track only of inode changes.

    5. Re:Can someone explain this by Anonymous Coward · · Score: 0

      By the way what else are you supposed to do when X is crashed and you can't go back to any of the virtual consoles??

    6. Re:Can someone explain this by -brazil- · · Score: 1

      Either log in remote, over a serial terminal, or (which is probably most feasible for most people) have the Kernel Hotkeys activated (requires re-compilation) which allow you to terminate all processes or synch the filesystems.

      --

      The illegal we do immediately. The unconstitutional takes a little longer.
      --Henry Kissinger

    7. Re:Can someone explain this by Salamander · · Score: 1

      >Writing is much faster as only updates are appended to a log

      That sounds like a description of a log structured file system, which is related to - but not the same as - a journaling file system.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    8. Re:Can someone explain this by Anonymous Coward · · Score: 0

      Not exactly. If the systems crashes, the filesystem still has to be repaired, it just will be a lot faster repair time. Also, if you look through some of their documentation there is a note that thier file system can not be mounted until it has been repaired.(Even read only) So it you use it as a root file system, you will have to have a back up root filesystem to mount off of. It looks like the filesystem should be a good performer, at least acording to the benchmarks

    9. Re:Can someone explain this by Anonymous Coward · · Score: 0

      Thanks to aqua and everyone else who responded to my question.

      :)

  31. Re:Journaling by Anonymous Coward · · Score: 0

    3+ ms scheduling latency is pretty bad for the so called "media OS." A simple patch to Linux, a general purpose OS, can beat that. And i don't get the source, so I can't fix this problem. Color me unimpressed.

  32. Re:Linux advocacy by WNight · · Score: 1

    Then you're just as ignorant as he is.

    They're just OSes. If one offers a feature you need, use it. If not, stay with what you're using.

  33. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    wow. some moderator is an absolute idiot. The request for a comment to get moderated up as funny gets moderated up as funny, while the origional comment doesn't. Perhaps the selection critera for moderator access needs to be tightened a bit.

  34. Anyone using this w. "md"/NFS and IDE drives? by Anonymous Coward · · Score: 0


    Right now I have three fairly large "multidisks":

    4X16GB IBM UDMA33 w. Promise Ultra33 controler

    4X18GB WD UDMA66 Hard drives running in UDMA33 mode on a BX MB

    4X25GB IBM UDMA66 Hard drives running in UDMA33 mode on a BX MB

    All three "md" drives are exported using NFS for use by some of our SGIs.

    Has anyone tried creating NFS servers using journaled ReiserFS, and similar hardware????

    Thanks!

    trikster2@hotmail.com





  35. sgi's xfs? by sgtron · · Score: 2

    so what about sgi's xfs? i thought that was going to be linux's savior for a journaling file system. Are we to expect this bundled in any distro's any time soon? will it replace ext2fs?

    --
    No todo lo que es oro brilla
    1. Re:sgi's xfs? by MikeBabcock · · Score: 1

      Which brings up the question of keeping support for multiple filesystems. MINIX has so little overhead that many still use it on floppies. The Squid caching group is working on a new VFS to put on top of the Unix filesystems it is installed on because they are so bad at handling large numbers of small files. It would be great to have an open filesystem standard for a small-file reliable filesystem for such things as caching and user document partitions. Then use ext2/3 for binary/library directories, etc. There shouldn't be a "one size fits all" filesystem we aim toward, should there? Complexity may be a pain some days, but you don't have to expose the average person to this, just those wishing for optimised performance (just like not everyone needs to know how to use RAID).

      - Michael T. Babcock <homepage>

      --
      - Michael T. Babcock (Yes, I blog)
    2. Re:sgi's xfs? by Anonymous Coward · · Score: 0
      IIRC, XFS can't be used as a root filesystem because it must be compiled as a module. This means ext2 will still be needed for the root filesystem.

      ReiserFS looks like it has a similar problem. It can't be mounted *at all*, not even read-only, if it was not cleanly unmounted (see the FAQ). So it can't be used for a root partition either.

      Ext3 will probably be the replacement for ext2, since they are fairly compatible. Distros will probably bundle other filesystems and make them available for non-root partitions.

    3. Re:sgi's xfs? by CelestialScum · · Score: 3

      The difference between the two are more of an academical than user-related issue, as it is basically in the way they are built up. As far as journaling goes, they are both up to the task.
      I do not know if ReiserFS is a true 64 bit one, handling the files as big as the XFS does, but a quick and dirty look at the two FS's homepages should yield a lot more info on this.
      XFS and ReiserFS is not going to replace ext2. Actually, ext3 is, which will, when released, also be a journaling FS (from what I heard).
      Maybe someone could provide the right urls or more info on this than I can. I believe in time, they will all be included into the kernel, and you can choose your preference based on your needs. In the meantime, make a small partition, insmod the module and mount the drive and play with it I guess :)

    4. Re:sgi's xfs? by Fizgig · · Score: 1

      ReiserFS looks like it has a similar problem. It can't be mounted *at all*, not even read-only, if it was not cleanly unmounted (see the FAQ). So it can't be used for a root partition either.

      That has to be old, doesn't it? I mean, what even the point of a JFS if it's going to be like that?!

    5. Re:sgi's xfs? by Magus311X · · Score: 1

      Indeed it shall be bundled. SuSE 6.3 will be bundled with the ReiserFS according to the press release. SuSE has nothing official on their site yet though.

      C'est tres chic, non?

      --

    6. Re:sgi's xfs? by Anonymous Coward · · Score: 0
      Actually, the differences between ReiserFS and XFS are more than of just academic interest. XFS was designed in large part to handle very large files and multimedia-style long, streaming reads and writes efficiently. ReiserFS is not bad at handling large files, but it is very good at handling small filesystem objects.

      Traditional filesystems don't handle lots and lots of itty bitty files well, so writing something like an object store with every object being a separate filesystem entity is not really an option. Instead you end up using something like Microsoft's compound files, where you have a filesystem embedded in stream embedded in a file. That helps preserve locality of reference for related objects, but it means you have multiple, independent namespaces -- which limits easy interobject relationships, because they have to cross a namespace boundary.

      With ReiserFS, you can effectively have all those objects in one global filesystem namespace, which should make dense, rich interobject relationships much simpler.

      Between XFS and ReiserFS, Linux should soon have very high performance filesystems that cover the complete range of filesystem needs.

    7. Re:sgi's xfs? by znu · · Score: 1

      Maybe this is a dumb question (I'm not all that familiar with the Linux kernel), but why does it have to be compiled as a module? It's GPLed. Can't it be dropped directly into the kernel?

      --

      --
      This space unintentionally left unblank.
    8. Re:sgi's xfs? by Anonymous Coward · · Score: 0

      That line was basically copied out of the FAQ, but it's a bit unclear. ReiserFS also has an old non-journalling version, which this probably refers to. I'd wait for some new information before installing it as my primary filesystem though.

    9. Re:sgi's xfs? by Anonymous Coward · · Score: 0

      It's not a license problem, I think it's because xfs is such a huge project (>100k lines of code). Look at the xfs web site if you need details.

    10. Re:sgi's xfs? by Anonymous Coward · · Score: 0

      114,000 lines of C code.

  36. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    "semi-coherent output"?

    I didn't think katz had *ANY* fans. I suppose this means he has at least one.

    s/semi-/in/g for the slow ones out there.

  37. Re:Hmmm... What about the *BSDs? by WNight · · Score: 1

    >>If the commercial entities were willing to
    >>redistribute the source for any changes they
    >>made, there would be no problem.

    Wrong. Since this FS is linked against the kernel, they would also have to make their kernel source code available under the GPL (unless they obtain the source under different licensing - see above).

    Again, the BSD folks are happy to redistribute the source for even their entire kernel, but because of the GPL restrictions (or features, as RMS would say), they cannot use this source in their product.


    Actually, no. All they need to do are put stubs in the kernel that will call an exteral filesystem module. Then rewrite the filesystem code as an external module. It'd be slower, but that's the price they pay for their anti-GPL decision.

    The are controlling who can use the currently-available source code. In particular, BSD folks cannot use it,

    As the other respondant said, BSD *can* use the code. The only thing stopping them is themselves.

    The GPL ensures that the Linux kernel will always be open source if the BSD guys want to look at a new FS to see how it was done. The BSD license does not ensure that BSD and its derivatives will always be open source.

  38. Re:Woohooo! by Anonymous Coward · · Score: 0

    We're running out of axes perpendicular to "on-topic". I suggest that we jump into ***THE 4TH DIMENSION*** (cue music).

  39. Re:SGI/XFS can KISS OUR ASS! by Anonymous Coward · · Score: 0
    XFS is about lots more than journalling. And I don't know where you've got your "benchmarks", you little troll, since XFS isn't available on Linux yet, and thus you don't have any environment where the numbers won't be skewed by other stuff (such as different kernels).

    In addition to journalling XFS also provide support for huge multiprocessor systems, and guaranteed IO bandwidth (which is important for multimedia systems). This is features no other Linux filesystem has.

  40. Only one question? by GreyFauk · · Score: 2

    I see that some updates have required re-compile
    and re-format of existing partitions to use now
    source... *ouch*

    Any ideas on how many more times this may happen before the beta-testing is done??
    (Hmm... got first post earlier and didn't even try. :> Nice way to start the evening. *grin*)



    --
    Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
    1. Re:Only one question? by Spamizbad · · Score: 1

      Well, an ext2 to there OS convo tool would be handy, but oh well. I've got to figure out how to back up all of this data so i can make the convertion.... probably i should move all my data to 1 partition, convert the other, move the crap to that one, then delete and recreate the other one in the journaling FS... hmm

  41. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

    Does anyone remember the QoS patches for 2.0.36?
    Will we see a QoS scheduler /RT extensions in linux 2.6 ?

  42. Wow. by Parity · · Score: 2

    That came out of left field... all the hype has been about xfs, and now this.

    I wonder, though, how GPL purists are going to react, since their business model is to be GPL but sell GPL-exceptions to some companies.

    I suspect that the project will quickly fork into Reiser-FS-commercial and Reiser-FS-pureGPL as soon as a contributor refuses to license a GPL-exception.

    I wonder if anyone here has heard of this before? Beta-tested it? Maybe I'll try it tomorrow. (I want to keep my machine running tonight, so I can't very well replace the fs. :))


    --Parity

    --
    --Parity
    'Card carrying' member of the EFF.
  43. Re:Question about journaling by Anonymous Coward · · Score: 0
    If you turn off disk caching the filesystem can still be left in a messy state when you loose power, so that's not an alternative.

  44. FYI: NameSys FTP archive by MrHat · · Score: 2
    The NameSys FTP Archive, which houses the reiserf files, is located at:

    http://devlinux.com/pub/namesys

    If you grab the sources from the site, the README.FIRST file says to:
    • Apply linux-2.2.11-reiserfs-3.4.gz to pure linux 2.2.11 with `zcat linux-2.2.11-reiserfs-3.5.gz | patch -p0`

    • Do 'cd /usr/src/linux/fs/reiserfs/utils; make dep; make; make install' to make the utilities.
    1. Re:FYI: NameSys FTP archive by ghazban · · Score: 1

      Damn, now I have to reformat my partiton. *sigh* oh well, the non journalling reiserfs partition sure was fast though.. hopefully the journalling one will be faster =). Maybe I shouldn't have hit the off button to test it ;) Thanks

    2. Re:FYI: NameSys FTP archive by clmason · · Score: 2
      Sorry for the confusion here, I'll ask them to change the README. These instructions will get you the non-journaled version of the ReiserFS. From the ftp site, the patch you want is:

      linux-2.2.11-reiserfs-3.5.5-journaling-beta.gz

      This is the most recent code, even though it is not in beta any longer. The journaling portion of the ReiserFS site has links and more information:

      http://www.devlinux.com/projects/reiserfs/jrnl

      -chris

  45. Re:*Can* be mounted before being checked by vendull · · Score: 1
    I didn't say it wouldn't make a good root file system, just that you would neet to boot off of another root partition to repair it.


    The above is incorrect. When mounting the filesystem, the journal is replayed. When the filesystem is unmounted cleanly, there is nothing to replay. If the filesystem was not unmounted cleanly, then there is *something* in there to replay. So you do *not* need to boot off of an alternate root to repair it. Just mount it and let it do the journal replay, and you are ready to go. It seems the FAQ must be out of date.

  46. Can you afford another hard drive? by Anonymous Coward · · Score: 0


    A 10GB TR5 Tape drive would run about $279.95 (todays buy.com price for a Seagate tapestore 20).

    However, tapes are BORING. You can get an IBM 15GP 15.2GB hard drive for about $116.95 (again, todays buy.com price, also this will probably format around 14GB so cut a CDR or two to make up the difference).

    If your motherboard is old (like mine) and will not support drives greater than 8GB, then spend an extra $18.95 and get a promise ultra33. They are great, near-scsi performance, low CPU usage, and work swell with linux.

    If your data was compressable you could get away with an even smaller hard drive and use "tar" with the option to compress and the option that will break up the archives into small 2GB chunks, ??, you could get away with a drive as small as 9 or 10GB.

    There is some windoze software that will let you back up your 15GB hard drive to CDR:

    http://www.powerquest.com/driveimage/didetail.ht ml

    Even so, the time it would take to make 20+ CD-R's could hardly justify the $100 you would be saving.

    Good luck!

    trikster2@hotmail.com

  47. Re:Good things come in threes? by Anonymous Coward · · Score: 0

    Sync three times and then shutdown -

    I /still/ find myself doing this, just out of habit :-)

  48. Re:using it? by Anonymous Coward · · Score: 0

    AFAIK, the check is internal to the FS code

  49. Endianness, the killer feature by geert · · Score: 1
    I'm afraid SGI still has lots of work with making the code endian clean.

    I spoke with the SGI guys at Linux Kongress. Currently XFS works on Linux/ia32, but the disks cannot be moved to a big endian (IRIX/MIPS) box because the version of XFS for Linux is little endian. Since we (the m68k and PPC guys) have quite some experience with bi-endianness in ext2 (originally ext2 was big endian on m68k and PPC), we were able to convince them that XFS has to be big endian on all platforms, just like ext2 is little endian on all platforms.

    Best wishes, SGI!

    1. Re:Endianness, the killer feature by holt · · Score: 1

      This is a little off-topic, but I will ask anyway

      Call me stupid, but what exactly is endian-ness? What are endians? I mean I see the endian check anytime (it seems) i compile a prog in linux and just kinda ignored it since everything usually works

      thanks

    2. Re:Endianness, the killer feature by rueba · · Score: 1

      Jargon file:
      http://www.tuxedo.org/~esr/jargon/jargon.html#bi g-endian

      "big-endian adj.

      1. Describes a computer architecture in which, within a given multi-byte numeric
      representation, the most significant byte has the lowest address (the word is stored `big-end-first'). Most processors, including the
      IBM 370 family, the PDP-10, the Motorola microprocessor families, and most of the various RISC designs are big-endian."

      --
      The only reason all cover-ups appear to fail is that you never hear about the ones that succeed.
    3. Re:Endianness, the killer feature by coreybrenner · · Score: 1

      One little, two little, three little endians... Four little, five little, six little endians... Seven little, eight little, nine little endians... Ten little endian boys... --Corey

      --
      Not only will they not deserve liberty or safety, Mr. Franklin, they will be DENIED both!
  50. Re:Beware the Jabberwock! by vendull · · Score: 1
    Did you get the right patch?

    If you built the journalling version, you should not even have gotten a reiserfsck. In fact, the README in the utils directory specifically says you should *NOT* fsck a jRFS filesystem. It sounds like you built plain reiserfs, and not the journalling version.



    As far as fsck'ing an ext2 partition. I have to disagree. We have a machine at work with 4 17GB SCSI disks in it. When that machine resets, it takes between 10 and 20 minutes to fsck all of the disks, and mount the filesystems. Reiserfs with journalling would cut that down to a minute at most I would think...


    JFS is not just a buzzword IMHO. Other OS's have had this for quite some time (XFS on SGI, VxFS on HP-UX etc..), and Linux has been quite lacking in this area. Just my .02

  51. Re:journaling fs isn't news by Anonymous Coward · · Score: 1

    Sigh. NT "journalling" is MS's definition of journalling. It differs significantly from what SGI would call journalling. MS basically implement a subset of what a true JFS does, enough that their Marketing Droids could prate about it - not enough that your data is reasonably safe. That's why you have to _buy_ real JFSes separately for NT.

  52. Journaling Filesystem by Anonymous Coward · · Score: 0

    So it means that root partition has to be reformatted using one of the utils RieserFS offers in order to use RieserFS' jfs for / ? . If yes, does this mean that SuSE will be dropping ext2 in favour of RieserFS? If '/' is still to be remained ext2, so OS will still be performing fsck on '/' while regenerating data via jfs on partitions formatted with RieserFS. I've heard that ext3 will be out in 2.2.14, but I don't know if it will bear a jfs capability. I would like to see more clarification regarding RieserFS vs ext2(i.e., will this mean that if I were to implement RieserFS accross all partitions, that I have to reformat all of them using RieserFS ??) Thanks to everyone.

  53. SFS on Amiga by Anonymous Coward · · Score: 0

    For those Amiga people who feel left out, there's an amiga JFS. It's very stable, and very fast.
    The web site also includes a good, easy to understand graphical guide on the inner workings of the filesystem


    Check out www.xs4all.nl/~hjohn/SFS/

  54. Beware the Jabberwock! by Anonymous Coward · · Score: 0
    I recently installed ReiserFS on my computer, converted most partitions since, as someone in this discussion already pointed out, ReiserFS enables you to delete files and file trees really quickly. And guess what: It's just like that. When my system crashed (this actually does happen ;), 4 out of 3 ReiserFS partitions were gone and the fsck-program that came along with the kernel patch wasn't able to restore anything. Apart from that, fscking an ext2 partition doesn't take much longer.

    Maybe I'm just a particularly unlucky fellow, but I certainly won't abandon ext2 again for next few years. Journaling FS's seems to me to be just another buzzword technology, and at most users won't ever need them.

    1. Re:Beware the Jabberwock! by Bruce+Stephens · · Score: 1

      Did you have journaling enabled? If so, please try and report as much information as possible to the reiserfs mailing list.

    2. Re:Beware the Jabberwock! by jms · · Score: 2

      Well, first off, you're probably right not to switch over immediately for anything mission-critical. Every new program has bugs that need to be discovered and fixed, and this will be no exception.

      I don't agree that journaling FS's are a buzzword, or a fad, though. When they work, they work extremely well -- and invisibly. A good example of a solid, robust journalled filesystem operating system is IBM's AIX. AIX uses the journalled filesystem for everything, including the root partition, and based on my many years experience with these machines, system crashes simply don't break the filesystem.

      However, journaling filesystems aren't the end-all. There's still a significant feature set missing from unix filesystems ... and that's the concept of work units with commit/rollback.

      It works like this ... you want to make a bunch of changes to a bunch of files, all at once. However, if the system were to crash while you were in the middle of making these changes, your data files would be in an indeterminate state.

      If you had a filesystem with work units, you would start by making a system call to open a work unit, then make your changes. When you are finished, you either make a commit system call, or a rollback call. If the commit ends with a success return code, then all of the changes are guaranteed to be made. If an error occurs in the commit, or you make a rollback call, all of the changes in that work unit are backed off. If the system crashes before you make a commit/rollback, all of your changes are backed off when the system reboots. This gives you fine-grain control over how data changes are made to files in your filesystem. Once you've tried it, you'll never want to go back.

      This is a standard database programming technique, but moving the functionality into the operating system gives you a huge programming capability. It lets you write programs with database-grade data integrity as a matter of course, without requiring that you program against a database API.

      I was skeptical as to the value of commit/rollback for ordinary filesystem programming, until IBM included them in it's then-new SFS filesystem on VM. Now I consider it one of those great things that will probably take years for the rest of the world to discover and implement.

      - John

  55. Re:What about Veritas? by Anonymous Coward · · Score: 0

    I think you're refering to VxVM (Veritas Volume Manager). VxFS is Veritas's file system which, as far as I know, _is_ SGI's XFS.. but I could be wrong.

  56. Re:Question about journaling by Jimbo123 · · Score: 1

    Lose only has one "o"

  57. Re:It's comming by Anonymous Coward · · Score: 0

    Just to clarify, McKusick has speculated about working on a commercial product, not free software. It is uncertain whether he will even do that. He has said that he is short on time and money, and the whole thing would be way off in the future, if it ever happens at all.

  58. Re:journaling fs isn't news by warp · · Score: 1

    Heh, NTFS == journaled? When our NT servers crash they spend over 4 hours to run chkdsk on their 80GB volumes, this is not exactly what I would call journaling... unless you believe everything in Micro$oft's glossy NT product folders :)

  59. Re:journaling fs isn't news by arielb · · Score: 1

    but you shouldn't be proud by merely catching up with NT. That's my point. The news should be about the technology that makes reiser fs unique.

    --
    ---
  60. Re:Hmmm... What about the *BSDs? by bgarcia · · Score: 1
    They aren't controlling who can use it. By putting the code under GPL, they're just making sure no one else can take away someone else's right to use and modify it.
    At the risk of starting a GPL flame war...

    The are controlling who can use the currently-available source code. In particular, BSD folks cannot use it, and neither can commercial entities whose kernels are not GPL'd and who do not wish to buy a license.

    Worse, since they are also making it available under alternative licensing schemes, they themselves are taking away other's rights to use and modify the code streams that are released in commercial systems. Now, I suppose it could be licensed to commercial entities in a way that requires all changes made to the code be assigned to the ReiserFS developers under their copyright, but I don't think they would be adamant about such a clause if the commercial entity didn't want it, and the ReiserFS folks stand to make a good bit of money from a deal.

    If the commercial entities were willing to redistribute the source for any changes they made, there would be no problem.
    Wrong. Since this FS is linked against the kernel, they would also have to make their kernel source code available under the GPL (unless they obtain the source under different licensing - see above).

    Again, the BSD folks are happy to redistribute the source for even their entire kernel, but because of the GPL restrictions (or features, as RMS would say), they cannot use this source in their product.

    99 little bugs in the code, 99 bugs in the code,
    fix one bug, compile it again...

    --
    I'm a leaf on the wind. Watch how I soar.
  61. Production? by leoc · · Score: 1

    Does anyone use this code on a production machine? Is it stable? I've got a bunch of Linux boxes just itching for the performance improvement and security of reiserfs. Is it possible to use this as the root file system? Thanks.

    --
    STFU about slashdot bias.
    1. Re:Production? by Anonymous Coward · · Score: 0

      This site is running on ext3 http://www.rpmfind.net

  62. I think you've missed the point. by Macka · · Score: 1

    I hate to take issue with a well-spoken posting, but journalling is not of primary usefulness for helping support High Availability RDBMS systems.
    I'm sorry to disagree, but you're very very wrong here. The fact that Reiserfs is fast (if the article is true) as a filesystem for manipulating ordinary files is not what's important (though it's a big plus in many configurations). Nor is how a database manipulates its data relevant. It's how quickly the filesystem is recovered after a failure that's the primary benefit. I've delt with many hundreds of customers over the last 4-5 years that have brought systems for the sole purpose of running databases on Journalling filesystems.

    On multi system High Availability configurations of the type that run database application services designed to failover from one system to the next, a journaling filesystem is essential. Unless it's controlled by an administrator, when a service moves from one system to another it's because of some kind of system failure and in this situation the filesystem is not unmounted cleanly. With a journaling FS, recovery is quick, measured in seconds. For a non journaling filesystem recovery could take hours. I've even seen one (very stupidly configured) customer system (100+ GB's) where this took days. If it takes more than a few seconds to recover, then it's not High Availability.

    Note that for these, the metadata is very static which means that journalling of metadata is of relatively little importance.
    It doesn't matter if the metadata is static or not. If the database sits on filesystem that isn't journalled it will have to be fsck'd regardless and will take almost as long to fsck as a filesystem that isn't as static.

    As you rightly pointed out, the only other option is not to have a filesystem at all and drop the database into a RAW partition. In this case all bets are off as the stability and recovery time of a database after a system failure is up to the implementation specific design of the database vendor.

    Macka

  63. Re:welcome to modern times, Linux. by Lx · · Score: 1

    I haven't heard of those tools...are they open-source? If you can tell me where to find them, maybe I can see if a port might be possible...

    -lx

  64. Re:Journaling, Linux going lowlatency ! by Anonymous Coward · · Score: 0

    This patch will of course be included (if it isn't already) in the main kernel.
    Can you patch BeOS?
    Closed source software is doomed.

  65. Re:BSD SU is NOT free, violators will be prosecute by Anonymous Coward · · Score: 0
    FreeBSD (3.x) has its own variant of Soft Updates by a different author, only its license is somewhat different and is not quite as restrictive as described above (I have not read McKusick's code or texts). However, the guy does retain his own rights, if I am reading this correctly.

    Basically, the sources can (must) be distributed, but you MUST compile your own kernel from those sources to get Soft Updates. Any distributed kernel with the code compiled in would be violating that license. Otherwise, I do not think he cares whether the application is commercial, hobbyist, or what-have-you.

    Look at the file /usr/src/sys/contrib/softupdates/README for more details.

  66. ACL (Access Control Lists) by semis · · Score: 1

    Ok... great.. we have journaling.. where are the ACL's??? ACL's are one of the biggest things setting linux behind commercial *nixes such as solaris and irix. (And don't tell me User Private Groups get around ACL's - because they don't.)

    1. Re:ACL (Access Control Lists) by jd · · Score: 2

      Try ACL-Posix or Trustees. Both implement ACL's for Linux.

      --
      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)
  67. Re:welcome to modern times, Linux. by Lx · · Score: 1

    BeOS isn't a heavy server platform? No shit. I might point out, though, that the vast majority of computers spend their time being workstations, not servers.

    What I asked for was a comparison between the different journaling filesystems, without saying that any of them was a cure-all.

    -lx

  68. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

    Doesn't really matter since UFS has been superior to ext2 for many, many years (eg no 2 gig file limit, much, much less data losses etc). I really don't know how ISP's etc bothered at all with Linux given the fragility of ext2. Now though, it's a different story.. I might take out my old SuSE disks and reinstall it with the new FS and see whether it can replace my FreeBSD server.... A few "unscheduled power-outs" while the server is loaded should test it out nicely.. Linux has always failed these test, whilst FreeBSD has either not been affected, or easily recovered the data for me...

  69. Re:Ok, has anyone had problems with the patch by Anonymous Coward · · Score: 0
    Have you tried reading patch's man page?

    I applied it using a patch -p1 within /usr/src/linux and it applied without a problem. I got the 2.2.11 patch and applied it to 2.2.12 without any problems whatsoever.

  70. Circular buffers by UnknownSoldier · · Score: 1

    If you let the log grow unbounded, then yes.

    Thats why the log is recycled in a circular buffer fashion.

    Cheers

  71. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    Heh, almost funny but not quite. Did you use Scott Pakin's automatic complaint-letter generator?

  72. Re:BSD SU is NOT free, violators will be prosecute by Chris+Mikkelson · · Score: 1

    BS: Soft Updates is about as "not free" as the entire Linux kernel. RTFL

    --
    -Chris
  73. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

    Linux has a lower scheduling latency than BeOS? AIR, under BeOS it's ~250ns, with Linux it's tens of milliseconds. What's Linux's equivalent of the MediaKit? Piping to /dev/dsp is hardly the same thing... C-YA Jon

  74. Re:Journaling, Linux going lowlatency ! by ChadN · · Score: 1

    When the time comes, some company or individual could release a distribution targeted specifically for musicians, with all the kernel mods they might need, and the sound utilities included and configured. Not a problem.

    --
    "It's overkill, of course. But you can never have too much overkill." - Anonymous Slashdot Coward
  75. Re:Hmmm... What about the *BSDs? by Chris+Mikkelson · · Score: 2

    You have absolutely no idea what you are talking about.

    There is an old, deprecated "Log-Structured FS" in the FreeBSD source tree. Nobody's interested -- log structured FS'es generally have atrocious read performance, because they cannot lay out files for faster read performance like FFS (and I assume ext2fs) can. McKusick has nothing to do with this, and is not very interested in this approach either.

    The related journalling filesystems add an extra disk write for every single update operation, making them somewhat slower than the normal filesystem that the journal augments. The journalling technique is, however, conceptually quite simple. Since the extra data structure (the journal) is only used during FS recovery, at least it only wastes disk bandwith during normal operation.

    OTOH, soft updates makes a different trade-off: it saves the disk bandwidth, but takes up CPU time and memory. Since CPU's and memory systems are always going to be much faster than magnetic disks (for the forseeable future, anyway), I think this is a better tradeoff.

    And SU *does* leave the filesystem safe to mount after a crash. The *only* inconsistencies that can occur are:
    1) unused data blocks not marked free.
    2) inodes with too high of a link count.
    These can only result in wasted space, nothing more serious. McKusick is working on a background fsck (using NetApp-style FS snapshots) for FFS, so that fsck can basically be run at anytime during system operation (i.e. the FS doesn't have to be unmounted or r/o mounted).

    Oh, well, not that it matters -- this is slashdot, and I fully expect any reply to be "Linux rulez!"
    The bias I see running through this thread is that "Linux has it, so it must be great" and "BSD doesn't, therefore it must be necessary," so "let's bash BSD on technical grounds -- we can almost never do that ;-)"

    In reality, SU and journalling are radically different approaches to solving the same problem. They both add *extra* complexity to async writes -- that is, they are not performance tweaks! They are techniquest that try to retain *part* of the performance of async, while adding crash-resistance.

    --
    -Chris
  76. Re:Journaling by Anonymous Coward · · Score: 0

    Like you could fix the source asshole

  77. Re:Journaling by arielb · · Score: 1

    umm BeOS has a 250 microsecond scheduling latency. That's us not ms.

    --
    ---
  78. Re:Good things come in threes? by TerryMathews · · Score: 1

    ./configure;make;make install

    :)

    --
    -- Terry
  79. Re:Hmmm... What about the *BSDs? by Chris+Mikkelson · · Score: 1

    Slower? by what benchmark?

    Some System V advocates had created a "benchmark" that proved that FFS (with 4k blocks and 1k fragments) was faster than their 1k-blocksize filesystem. They would create a file, and grow it by 1k blocks. This cause FFS to grow the file's last fragment (which often involves a copy) on every update. Of course, it was the optimal case for their filesystem. It was this crooked benchmark that lead to the tunefs -o (space|time) option. '-o time' will upgrade a fragment to a full 4k block, wasting a bit of space, but saving time -- it is quite useful for constantly-growing smallish files, e.g. logfiles. (and, of course, for running crooked benchmarks ;-)

    Also, logging filesystems and journalling filesystems are *very* different. Loggin filesystems pretty much have to leave file blocks scattered throughout the disk, or waste disk bandwidth relocating them (to the head of the log, of course). Journalling filesystems, however, can choose whatever file layout they please, so they can optimise this layout for good read performance. The FreeBSD LFS is not even alpha -- it's past that stage, nobody is working on it, and I think it might even be in the CVS attic... yep, no code there anymore. I think the LFS approach is pretty much dead -- journalling and soft updates give the same sort of reliability and write performance as LFS promised.

    Also, having just read two papers on the soft updates technique, I feel the need to improve on your description of it: the behavior you describe is present on FFS/async, as well.

    What soft updates does is mantain a list of updates for each in-memory metadata block. Before the block is written to disk, this list of updates is scanned, and any unsafe updates (i.e. ones that depend on other uncommitted updates) are rolled back. After the write completes, they are then rolled forward, to bring the block to its current state. In other words, the latest safe version of the metadata block is written to disk.

    --
    -Chris
  80. Re:This whole "Linux" thing... by shadrack · · Score: 1

    Me too. I thought it looked familiar. How lame. And to avoid getting into trouble the loser doesn't even have the courage to refer to a real person.

  81. Re:Journaling, Linux going lowlatency ! by Anonymous Coward · · Score: 0

    BeOS: 250usec in theory, but audio apps seems not be able to go reliably under 3ms latency. With the Event Layla BeOS achieved 7ms input to output latency. With Linux + lowlatency patch ( http://www.gardena.net/benno/linux/audio ) I got 1ms audio latencies using a Celeron333 + cheap SB 128PCI. Not that bad eh ?. Linux will be THE MEDIAOS !

  82. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    I've seen this before. It's a flame form letter. You can replace the word "Linux" with someone's name and it's a general piece of hatred for anyone. It's not even new.. I saw this many years ago.

  83. Try Ext3fs... by Anonymous Coward · · Score: 0

    It's great being able to hit the reset button and have the system shrug it off at boot. I've even invited people over to poke the button and watch how quickly the thing starts up as a test, with all sorts of disk activity going.

    Besides, how can you possibly support a filesystem named after a guy who inserts his own stuff at the TOP of the message, includes EVERYTHING in the previous message BELOW it (you know, quoting), and changes the subject on every third posting? What a luser. There's a reason why he got both knees (legs? which was it?) broken... for annoying someone on the linux-kernel mailing list, no doubt.

  84. Re:These stats ARE FISHY by Amphigory · · Score: 2

    Disclaimer: I have never looked at the ReiserFS code, nor am I significantly familiar with it or Ext2 internals. The following is rampant speculation of the worst kind and should be ignored.

    Having said that, I can think of a couple of reasons why, given the stated design goals of rfs, it would not perform well on those tests. Basically, the performance ( O(n) = "big O" ) of an algorithm can be measured as it varies on the size of data points.

    Now, let's suppose that ext2 uses sequential scans to get directory entries (I'm fairly sure it does). The O() of a sequential scan is O(n)=n. That is, the time required to perform the scan for n elements increases linearly.

    The time for a B-tree based filesystem would increase according to O(log2(n)). The curve on this one is /worse/ for small values of n, but much better as n grows larger. Try graphing x=log(y) to in gnuplot to get an idea of what this would look like.

    In other words, you may not have had enough items in a single directory to experience the benefits of RFS. I would be interested in results with say 10,000 items in a single directory, or better yet 10,000 directories in a single directory with 10,000 one byte files.

    That (as I understand it) is really the kind of grueling stuff that reiserfs is designed for. Nor is this without application. On one of the boxes where I work, we have > 70,000 elm email folders, each stored under "customer_name/email". A simple "ls" takes an hour! Granted this is a boneheaded design (that I didn't do), but the point remains.

    --
    -- Slashdot sucks.
  85. Re:Journaling, Linux going lowlatency ! by arielb · · Score: 1

    I wasn't able to reach that site (no response) but it's pretty strange to expect musicians to go out of their way to install an unsupported patch.

    --
    ---
  86. Re:Intersting..... MP3.com by Anonymous Coward · · Score: 0

    Really? mp3.com? Why the hell are they sponsoring the developemnet? I thought Paul Reiser,everyone's favorite family funnyman, was.

  87. UCBerkeley dropped the advertising clause by Nicolas+MONNET · · Score: 1

    ... So you can perfectly integrate a GPL part into BSD. The only problem is that the whole thing then has to be distributed under the GPL. (If I understand properly).
    Now people could still develop BSD under the Berkeley license, provide Reiser FS as an add-on, so that commercial types could rip off the BSD code, only without ReiserFS.

    1. Re:UCBerkeley dropped the advertising clause by Fizgig · · Score: 1

      I guess you're right. I was working under the pretty-valid assumption that the BSD people would rather die than license their kernel under the GPL.

  88. Re:Important, but likely not for DBMSes by EZ-G · · Score: 1
    I understand it differently. It seems to me that they want the filesystem to BE THE DBMS, instead of a "conventional" dbms USING the filesytem.

    Something like every row in the db is a file and you can use the unix io primitives to access them.

  89. It is amazing... by Anonymous Coward · · Score: 0

    It is amazing that all of the OSS'ers will complain about closed source, and not look at Be.

    A small company wrote an extremely fast OS with many features Linux users would drool over. 10-15 minute effortless setup. The journaling file system (18 Exxabyte support). SMP. Fonts. Performance. Multimedia. UI.

    Coming soon are better Samba/MS Network support. Better OpenGL support. Data and audio cd burning in the OS. More robust USB support. Many new professional and home user audio and video real time editing software packages.

    By the way, Be does share a lot of the code. Just not the kernel and related stuff.

    In a happy world we would all run Linux servers and Be workstations. Be happy.

    1. Re:It is amazing... by arielb · · Score: 1

      linux offers other technologies that Be doesn't have. It's a better server. It's more configurable because it's under the GPL. Fine-BeOS is easier to use because it's _not_ under the GPL. 2 completely different OS's for 2 completely different users. Sometimes they need to share technologies. Linux needs a journalling FS to be a better server. That doesn't mean it's going to turn into BeOS! BeOS needs to integrate VM and disk cache to be better for users-that doesn't mean it's going to turn into freebsd or linux. In the end, it's all about implementation. Most people don't want to deal with 5 zillion patches, GUI's and distros. And some people _do_ and you have to accept that.

      --
      ---
  90. Re:welcome to modern times, Linux. by Erik+Hollensbe · · Score: 1

    Disclaimer: I've never used BeOS. What you read below is based off of inference :)

    If you need sound mangling (not editing) tools, you should look into sox... Not sure of the URL, but if you're working directly with the dsp and audio devices this is probably the tool for you.

    There are also Cool-Edit style sound editors out there, but they're done in Tcl/Tk, but working with large files is nearly impossible because interpreted languages are not exactly fast. :)

    There are also a few mod trackers and 808 synths out there as well. You just have to look.

    It *WOULD* be nice if someone wrote a nice fast asm/C Wave Editor though. :)

    -Erik-

  91. Oops! Just a little to the left... by Chris+Mikkelson · · Score: 1

    That's a "log-structured" filesystem, not a journalling filesystem. They're very slightly related (in that both of them are filesystems).

    The difference is a journalling filesystem can maintain decent read performance, because journalling does not confine the layout of data on the disk, while log-structuring does. Log-structured filesystems cannot get past the file fragmentation problem, without wasting tons of disk bandwidth.

    --
    -Chris
    1. Re:Oops! Just a little to the left... by QuMa · · Score: 1

      Ah, thanks. I thought they where more or less the same. You learn something every day.

  92. Use bigger block size! by bugfix · · Score: 1

    Why don't you use 4 KB block size especially because you're using large files. It's about 10 times faster.

    % ls -l bigfile
    -rw-rw-r-- 1 root root 1843200000 Nov 7 17:04 bigfile
    % time rm bigfile
    0.00s usr, 0.28s sys, 4.94s real, 5% CPU


  93. Re:This whole "Linux" thing... by MrHat · · Score: 0

    Ha!

    It's times like these when I wish I had that little moderation drop-down box in front of me that reads "Funny". Someone please do me a favor and moderate this up. :)

  94. Hmmm... What about the *BSDs? by bgarcia · · Score: 3
    I noticed that this code is released under the GPL. That means that the *BSD folks can't just take the code and incorporate it into their OS's.

    There is a clause in the license that states that if you contact them, they will let you use it under a different license. But I can't imagine them putting it under the BSD license. It sounds like they want to control who can use it, and they've decided that GNU projects and commercial entities who pay are their target market. If they ever release it under a BSD license, then commercial entities could just grab the BSD-released copy and work from there.

    Will the BSD's simply miss out on this nice new filesystem?

    99 little bugs in the code, 99 bugs in the code,
    fix one bug, compile it again...

    --
    I'm a leaf on the wind. Watch how I soar.
    1. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      Not quite true. UFS is a fine filesystem, but that doesn't stop commercial Unices from creating journalling file systems to use instead of UFS. UFS may be better than ext2 but it ain't mission-critical to many sysadmins.

    2. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      > And SU *does* leave the filesystem safe to mount after a crash. The *only* inconsistencies that can
      > occur are:
      > 1) unused data blocks not marked free.

      I create a 2GB file and write to it un a softupdates file system. I then delete the file. The system crashes before the delete is fully written to disk.

      System reboots. I now have 2GB of unusable space that cannot be reclaimed, because it is still marked as used.

      Softupdates doesn't really make a filesystem safe to mount after a crash.

      (also, what about the case where the power fails in the middle of a disk write-- wouldn't this result in such things as metadata being half-updated? what would this do to, say, a superblock?)

    3. Re:Hmmm... What about the *BSDs? by Zurk · · Score: 0

      yep. nothing new. BSD missed out on XFS which is soon to be out too.

    4. Re:Hmmm... What about the *BSDs? by Graymalkin · · Score: 2

      But the free BSDs (FreeBSD, OpenBSD, NetBSD) all AFAIK use their own file system that works alot better than ext2, although I don't know if it is journaled. The FreeBSD people don't need to worry much about "missing" GPL software, FreeBSD and the like will run most if not all linux binaries and code is simple to port.

      --
      I'm a loner Dottie, a Rebel.
    5. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      Well we can mount ext2fs partitions...what does that mean?

    6. Re:Hmmm... What about the *BSDs? by JordanH · · Score: 1
      Will the BSD's simply miss out on this nice new filesystem?

      I'm sorry I don't get it. Most if not all FreeBSD, OpenBSD and NetBSD systems use lots of GPL'd code, like gcc, for example. I guess it would be possible to have a *BSD system with a commercial compiler, like the old days of BSD releases (SunOS, Ultrix, etc.), but I've never heard of a FreeBSD system developed with anything but gcc.

      If this File System is a good thing and can be integrated with *BSD, what prevents someone from including it as an option with their *BSD release?

    7. Re:Hmmm... What about the *BSDs? by Chris+Mikkelson · · Score: 1

      The BSDs now have McKusick's implementation of "Soft Updates" which works better than journalling in many situations, and makes similar guarantees to journalling filesystems. That is, with soft updates, the filesystem is always safe to mount after a crash.

      --
      -Chris
    8. Re:Hmmm... What about the *BSDs? by Fizgig · · Score: 2

      If this File System is a good thing and can be integrated with *BSD

      It can't. It specifically says in the readme that you can't use it with a kernel that's not GPL'd without the authors' permission. That would generally be the case with GPL'd code anway, though (you don't link gcc with the FreeBSD kernel, so it's ok; but you can't take video4linux, which is GPL'd and in the kernel, and include it in the FreeBSD kernel).

    9. Re:Hmmm... What about the *BSDs? by Coward,+Anonymous · · Score: 1

      The file system itself isn't GPL'd, the code that the author wrote to use the file system is. Someone could contribute code to *BSD to use the filesystem so long as it isn't a derivitive of GPL'd code.

    10. Re:Hmmm... What about the *BSDs? by Fizgig · · Score: 1

      Oh, that's true. I guess I didn't think of a filesystem as a system, but more as a bunch of .c files :)

    11. Re:Hmmm... What about the *BSDs? by gargle · · Score: 1

      It sounds like they want to control who can use it

      They aren't controlling who can use it. By putting the code under GPL, they're just making sure no one else can take away someone else's right to use and modify it (by making modifications, then selling it in binary only format).

      If the commercial entities were willing to redistribute the source for any changes they made, there would be no problem.

    12. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      The BSDs now have McKusick's implementation of "Soft Updates" which works better than journalling in many situations, and makes similar guarantees to journalling filesystems. That is, with soft updates, the filesystem is always safe to mount after a crash. Not exactly. McKusick's now implementing a logging FS precisely because soft-updates do not accomplish the same thing as a journaling FS.

    13. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      The BSDs now have McKusick's implementation of "Soft Updates" which works better than journalling
      in many situations, and makes similar guarantees to journalling filesystems. That is, with soft updates,
      the filesystem is always safe to mount after a crash.


      Not exactly. McKusick's now implementing a logging FS precisely because soft-updates do not accomplish the same thing as a journaling FS.

    14. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      Well we can mount ext2fs partitions...what does that mean?

      I'd classify *BSD's ext2 support about like Linux' NTFS support--it's there in name only.

      Sure, *BSD can mount ext2--unless your system is SMP, or the FS is moderately large, or you want to write to it w/o corrupting it hopelessly.

    15. Re:Hmmm... What about the *BSDs? by Rhys+Dyfrgi · · Score: 1

      If someone is prevented from using it, then they are controlling who can use it. And they are certainly controlling *how* people can use it.
      ---

      --
      END OF LINE
    16. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      But the free BSDs (FreeBSD, OpenBSD, NetBSD) all AFAIK use their own file system that works alot better than ext2,

      If by "better" you mean "slower." FFS, even async, is slower than ext2 on the same hardware. Featurewise, they're the same otherwise.

      although I don't know if it is journaled

      It's not. The closest things in the BSD world right now are a logging file system (very alpha right now though, and it has been for years), which is similar in intent to journaling, though slightly different conceptually, and Soft-Updates for FFS, which have nothing to do with journaling or logging (it's just a way of speeding up the slow FFS by keeping short-lived files in cache instead of having to write them to disk and then delete them, basically).

    17. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      You mix the users and the authors/developers again. GPL doesn't prevent any people using it. It just pevent certain writer moderfy it.


      CY

    18. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      Slower? by what benchmark?

      Years of use. I run *BSD and Linux. ext2 is definitely faster.

      The FreeBSD LFS is not
      even alpha -- it's past that stage, nobody is working on it, and I think it might even be in the CVS
      attic... yep, no code there anymore. I think the LFS approach is pretty much dead -- journalling and
      soft updates give the same sort of reliability and write performance as LFS promised.


      Actually, McKusick has stated that he is working on one.



      What soft updates does is mantain a list of updates for each in-memory metadata block. Before the
      block is written to disk, this list of updates is scanned, and any unsafe updates (i.e. ones that depend
      on other uncommitted updates) are rolled back.


      Sure, I've read the papers. Now, actually *look* at the changes it makes to the FreeBSD kernel. Vnodes only get synced after being dirty in the cache for 30 seconds, and the vnode freelist is split into two lists--the totally free vnodes, and the "free but still referring to something" vnodes, with new vnodes preferentially being taken from the former list. Together, all this does is keep you from writing short-lived files to disk unnecessarily. It's just a performance hack.

      It'd be nice if someone implemented soft updates for Linux, but it looks quite difficult--Linux' buffer layer pretty much kills the possibility of doing the ordering that soft updates would need.

    19. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      This is not true. I've been using a dual boot FreeBSD (-current) and Linux system for half a year. I
      have a shared homedirectory on ext2fs which I access regularly from FreeBSD.


      This *is* true. I have a farm of FreeBSD 3.3 machines (SMP servers). They can't mount any ext2 disks I try in them w/o panic'ing.

      I've gotten -current to mount, but it's corrupted the partitions.

    20. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      Your problem might be newer ext2's sparse superblocks. *BSD doesn't support them, and they confuse the hell out of it.

      It'd be nice if someone added support for them to the *BSDs, and added them to ffs as well.

    21. Re:Hmmm... What about the *BSDs? by Anonymous Coward · · Score: 0

      The are controlling who can use the currently-available source code. In particular, BSD folks cannot use
      it,


      Bullshit. The code is there, and it's available to use. *BSD folk won't use it, however, because they want the option of becoming greedy down the road.

      Nothing wrong with that, but that's a choice the *BSD folk made, not the ReiserFS people. Reiser put his code out there for anyone to use who wants to meet his conditions. If you choose not to meet them, that's your choice, not his.

  95. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    No, the moderator has a sense of humor. Now, if your post gets mod up as funny. It will be really funny.

    CY

  96. Re:Intersting..... MP3.com by Anonymous Coward · · Score: 0
    mp3.com?

    Use netcraft and you'll see they use FreeBSD. :-)

    -T

  97. Journaling File System by keytoe · · Score: 4

    This would be a huge boon to those of us trying to truly break free of the commercial unices. I've had to put together quotes for enterprise quality database solutions before and there have always been a couple of hurdles to get past when considering an Intel/linux based system.

    PostgreSQL works wonderfully with large data sets, but lacks the ability to do hot restores. I'm eagerly awaiting that one... Now that it does a much better job with concurrant locks, that's my only real hesitation at this point.

    SMP has come a long way in a short time with linux, but is still a bit lacking. This makes it difficult to settle on Intel hardware - sometimes, you just need Raw Horsepower. I'd like to get there without having to buckle down and buy a Sun or HP box. I'm not worried about this one - things are coming along quite nicely...

    Now, my last concern was journaling filesystems - and it looks like it's coming at long last! I was excited when the initial announcement was made, but now that the code is out (and Alan is even considering merging into the stable branch!), I'm all gushy inside! Let's hear it for our team!

    I've watched this whole linux thing start out as a 'hobby OS' and develop through adolescence into what is becoming a damned serious contender with the big boys. Sure, they're baby steps at the moment, but at this pace, they add up right quick. God, I love this industry - never know what's gunna happen next. Who knows - maybe the government will sue Microsoft for anti-trust violations next. Oh... right...

  98. Re:welcome to modern times, Linux. by ajf · · Score: 1
    flamebait? hey moderator, just because YOU don't understand why running a news spool off BFS would be a catasrophicly bad idea, doesn't make this AC any less correct.

    I'm not the moderator responsible, but I do agree it's flamebait. Let's have a look, shall we?

    Modern times? BFS? Yeah, right. That crud is fine for BeOS, but would die under multi-user stress. Want to run INN on BFS? That's what I thought.

    Ooh, look! Flamebait! And now, apply Instant Flamebait-Away(tm):

    BFS is fine for BeOS, but would die under multi-user stress. Want to run INN on BFS?

    It's saying the same thing (that BFS isn't appropriate for servers), but it's not so inflammatory any more.

    To ALL moderators: IF YOU DON'T UNDERSTAND THE SUBJECT, DON'T MODERATE THE COMMENTS!

    "Flamebait" is about tone, not content.

    --

    I miss Meept.

  99. Re:welcome to modern times, Linux. by Erik+Hollensbe · · Score: 1

    You know what really pisses me off, is the fact that it's not hard to look at any message and tell if it has an actual point or is just intended to be a flame, despite the fact that you don't know the subject well.

    Some moderators need to visit a BBS or read some real flame wars so they know what decent flames are instead of moderating down "heated discussion".

    Heated discussion is good for people, it provides them with a way to release stress on each other and at the same time have a discussion where honesty tends to be more prevalent.

    Some of you guys need to spend more time downtown. :)

    -Erik-

  100. Selling GPL Exceptions by crow · · Score: 4

    This is not the first time software has been released under this model. My understanding is that this is how RT Linux was released.

    [The idea of RT Linux is to put a small real time kernel underneath Linux. This kernel handles the real time tasks, and schedules Linux when a real time task doesn't require it. It also provides a communication mechanism between Linux processes and real time tasks.]

    So the RT linux kernel could, in theory, be used without Linux (perhaps with another OS instead) to provide real time services. The author has carefully retained the copyright to his code, so he can sell it under a non-GPL license if someone wishes to incorporate it into a commercial project.

    I'm not aware of any non-GPL licenses for RT Linux, but the model is there.

    The main thing that helps make this model work is that the copyright holder controls the distribution. That means that in order to get your changes into the official releases, you have to resolve any copyright issues. It only breaks down if there is a significant dispute and someone is willing to go to the effort to start a separate distribution. Of course, if they get the file system into the main Linux distribution, that action will trigger a fork in development.

  101. Filesystem competion by Anonymous Coward · · Score: 0

    Looks like there will be serval journaling filesystems competing with each other. I only see it positive to have 5-7 diffrent JFS to choice from. That means the best technology designed one will become the defaco standard. I can also be them focuses on diffrent segments, ext3 at homeusers. and SGI XFS to big corporate datawarehousing, others to midsize companys, etc. What do you think?

  102. Needed Badly by retep · · Score: 1

    Journeling is something Linux badly needs. This can only be good news.

    I've been dieing to get a journeled filesystem for my three servers. I design my servers so they will never have to be touched again. But I've always worried that we might get a power outage and the automatic-fsck Linux does might fail. Journeling would be a big help.

    I'm still waiting for Sun's XFS though...

    1. Re:Needed Badly by Anonymous Coward · · Score: 0

      I thought the person meant "IBM bundles JFS with AIX, SGI bundles XFS with IRIX, why the heck doesn't Sun bundle something too?".

    2. Re:Needed Badly by Niomosy · · Score: 1

      Well Sun has Veritas' VxFS (which I think they should just license and include with Solaris) -Matt

    3. Re:Needed Badly by Russ+Steffen · · Score: 1

      You'll be waiting a long time for Sun's XFS.

      Perhaps you were thinking of SGI's XFS.

  103. Re:BSD SU is NOT free, violators will be prosecute by Anonymous Coward · · Score: 0

    So basically FreeBSD with Soft Updates is under a GPL like license :)

  104. Re:BSD SU is NOT free, violators will be prosecute by Anonymous Coward · · Score: 0

    If you were at the USENIX 1999 conference, you would have heard Kirk McKusick deliver a paper on soft-updates.
    Licencing was one of the questions that arose and he said that Sun are currently interested in soft updates for Solaris, and about a year or so after their commercial introduction, the standard BSD licence would apply.
    I don't know why this has arisen here -- soft updates is meant to eliminate synchronous writes from the filesystem, while keeping the standard FFS layout policies underneath. Anyhoo, 50 elite points to anyone who tells me how the ext2fs violates standard UNIX filesystem semantics.

  105. Ext3FS / XFS / ReiserFS by Anonymous Coward · · Score: 0

    Um... So, how's ext3fs doing?
    It was my understanding that to go to Ext3FS journalling, you didn't need to reformat your partitions, since Ext3FS just uses empty Ext2FS inodes as journals?

    What's xfs supposed to be doing? Is the line still
    "the architecture is significantly different to linux, so we're working on merging linux's vm and file object layers before porting"

    And isn't ReiserFS Russian made?




    1. Re:Ext3FS / XFS / ReiserFS by Speed+Racer · · Score: 1
      • And isn't ReiserFS Russian made?

      Are you attempting to make a point?

      Why don't you go ahead and spit it out because I've tried to read between the lines and all I see is a misguided attempt to defame an entire nation.

      --
      Free Mac Mini. Yes, I'm
  106. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    Hey, this looks like it was randomly generated.

  107. "Intelligent" FS wishes by heikkile · · Score: 1
    I have been speculating about filesystems for a while, and have come to the conclusion that performance is nice, but not a top priority for a home user/devloper like me. Instead I would like to see a little bit of "intelligence" in the fs, in the way it uses the unused (wasted?) part of the disk. With a little tracking of usage patterns, it should be able to do

    automatic version control of files that I work with.

    back-up copies of important system files

    compress seldomly used files

    reorder files on the disk by access patterns to save seek times

    even delete unwanted files if running low on space (core dumps and editor backups more that a week old...)

    This could be configured with special tools, and/or with a hidden file in each directory to tell what are the important things here. Most of this should happen automatically in the background, out of sight.

    Has this been done already? where? Anyone working on this sort of things? Anyone willing to steal these ideas? Technically feasible?

    --

    In Murphy We Turst

  108. Re:Deletion times by Anonymous Coward · · Score: 0

    Typical my ass. You have picked the one case where ext2 deletions are too slow-- huge files.

    I believe that reiserfs is much faster in this case nevertheless, because of the tree structure. (huge files on ext2 require more metadata to be touched than on reiserfs; future ext2 will probably solve the problem by using extents)

  109. Re:excellent news for linux by Anonymous Coward · · Score: 0

    get lots of crashes? :)

  110. Re:2GB file limits by Anonymous Coward · · Score: 0

    The 2GB limit never existed on 64-bit Linux systems, i.e. Alpha or UltraSparc.

    It will be gone for good when Linux 2.4 comes out.

  111. Re:using it? by Anonymous Coward · · Score: 0

    There are no long fscks required.

    When an unclean journaled fs is mounted, the filesystem itself does a brief resync and is then ready for use. This check probably takes a second or less on any modern machine.

  112. Re:This whole "Linux" thing... by Ashen · · Score: 1

    lol, what the hell are you talking about? For one thing, Linux is just an operating system, there is no need to personify it as Hitler. ;)

  113. Deletion times by heroine · · Score: 2

    How does this new filesystem compare to ext2fs on deletion times. For starters here is what a typical deletion ext2fs takes:

    heroine:/home/mov% l *.mov
    -rw-r--r-- 1 root root 1958135327 Nov 6 17:49 xena1.mov
    heroine:/home/mov% time rm xena1.mov

    real 0m56.536s
    user 0m0.000s
    sys 0m0.920s

    Even a 30 second deletion time would be great.

    1. Re:Deletion times by Jeff+Mahoney · · Score: 4

      There is a semi recent benchmark vs ext2fs at http://name sys.botik.ru/~yura/benchmarks/journal_227/ext2_vs_ jour9.html

      Chris has the office next to mine and has been showing me these benchmarks just about every day - they improve just about every day.

      -Jeff

  114. Ok... so I read the rest and it gets ONE ha... by GreyFauk · · Score: 1

    Kinda funny... but not really... a mind like that could have done a much better job... take a little more time before your next post

    --
    Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
  115. Re:What about Veritas? by Anonymous Coward · · Score: 0

    VxFS is not XFS. It is a distinct product, and a good one at that. Veritas announced last week that they will be porting VxFS to Linux.

  116. Some benchmarks by Magus311X · · Score: 2

    Though benchmarks aren't everything, they're always nice to look at.

    Here's the linkage:
    http://devlinux.org/namesys/bens.html

    --

  117. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    oh good god. shut up. have a beer. stop acting like your life revolses around your warped philosophical viewpoints on the info age, and oh yeah, shut up

  118. This looks like a sporgery to me. by Anonymous Coward · · Score: 0

    See the definition if you don't know what a sporgery is.

    I really hope we won't be seeing more of these on slashdot.

  119. Re:Journaling, Linux going lowlatency ! by arielb · · Score: 1

    if it's not Redhat, nobody cares. You're not going to get Windows and Mac musicians to come to yet another obscure underground linux distro.

    --
    ---
  120. LinuxOne by Anonymous Coward · · Score: 1

    ...didn't they develop this?

    1. Re:LinuxOne by ScottMurray · · Score: 1
      Nope. There's no evidence that LinuxOne's developed anything of their own at all.

      ReiserFS was developed by a team led by (surprise!) Hans Reiser. Check out NAMESYS for more info.

      Scott

  121. First? by Anonymous Coward · · Score: 0

    I've been running ext3 on a couple of servers for a few weeks now. It's worked like a champ the one time I yanked the cord to test it.

  122. Re:This whole "Linux" thing... by PG13 · · Score: 1

    Finally a AI slashdot poster....in a few months the writers will be getting ontopic first posts automatically :-)

    --
    Marriage is the "pseudo-ethics" that cloaks the messy truth of sexuality in the raiment of propriety -- it's "Don't Ask,
  123. namespace unif is bozonic and incompatible... by Anonymous Coward · · Score: 0

    I don't disagree with reiser's observations about database semantics, and I definitely would like to see a journalling FS for Linux, and I like the idea of being able to store smaller files more efficiently, BUT... 1) Won't this create compatibility problems? I mean, really, what if there is no reiserfs for FreeBSD? for Slackware? I'm really not sure that the OS is the right place to force such a layer except for very specialized applications. What if I need a distributed filesystem in my environment (AFS, Coda) but the software I'm using requires more efficiency than the networked fs I'm using? Can I not use the networked FS? 2) To all GNOMEs reading this, DO NOT EVEN THINK ABOUT USING THIS FOR YOUR METADATA. Your metadata is already a piece of crap (URL files should have the actual URL if nothing else IN THE FILE, but don't), but making it incompatible by littering the filesystem with tons of tiny entries like a database will kill your project from user frustration with incompatibilities.

  124. namespace unif is bozonic and incompatible... by Anonymous Coward · · Score: 0

    I don't disagree with reiser's observations about database semantics, and I definitely would like to see a journalling FS for Linux, and I like the idea of being able to store smaller files more efficiently, BUT...

    1) Won't this create compatibility problems? I mean, really, what if there is no reiserfs for FreeBSD? for Slackware? I'm really not sure that the OS is the right place to force such a layer except for very specialized applications. What if I need a distributed filesystem in my environment (AFS, Coda) but the software I'm using requires more efficiency than the networked fs I'm using? Can I not use the networked FS?

    2) To all GNOMEs reading this, DO NOT EVEN THINK ABOUT USING THIS FOR YOUR METADATA. Your metadata is already a piece of crap (URL files should have the actual URL if nothing else IN THE FILE, but don't), but making it incompatible by littering the filesystem with tons of tiny entries like a database will kill your project from user frustration with incompatibilities.

  125. excellent news for linux by Anonymous Coward · · Score: 0

    I've been enjoying Be's file system for months now. Once you start using a journaled fs you cannot go back to that other shit :)

  126. Wasn't ext3 first? by tap · · Score: 3

    The ext3 journaling filesystem has its first beta a few months ago. It does't require you to reformat your existing ext2 partitions to convert to ext3. And an ext3 filesystem can still be used as an ext2 filesystem, you just need to update the journaling information if you go back to ext3 after using it as ext2. Read more about it at Stephen Tweedie's ext3 site.

    1. Re:Wasn't ext3 first? by mjg · · Score: 2

      They mean ReiserFS is the first "stable" journaling FS for Linux. You are quite correct in saying that ext3 was "first", in that it had journaling before ReiserFS (at least, ext3 was publically available with journaling before ReiserFS was, that I'm aware of), but it's a fair way from being considered stable just yet.

      Having just looked at ReiserFS's site, it seems either they haven't updated the site yet, or they consider beta == stable, since I could only find the beta release of the code which has journaling.

    2. Re:Wasn't ext3 first? by ponyisi · · Score: 1

      Depends on your definition of 'stable.' I've had ext3 on all my drives for a while and it everything's been fine, even with a bad reboot or two...

  127. Re: [moderation] (welcome to modern times, Linux.) by smw · · Score: 1

    "Flamebait" is about tone, not content.

    I strongly disagree with this. I don't believe we should moderate good content down just because we don't like the author's tone of voice. I totally agree that the author could have phrased his comment in a less inflammatory manner, but he did contribute a relevant point to the discussion. An article should be considered "flamebait" when it adds no (or repeated) content, and is obviously intended to provoke heated response. This article fails the first test, but passes the second.


    Flamebait:
    BeOS sucks.


    Not Flamebait:
    BeOS sucks because it's filesystem doesn't handle multiple users well.

    -smw

  128. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    eh?

  129. Re:Funny IMO by Anonymous Coward · · Score: 0

    I thought it was pretty funny. It does seem to be automatically generated (hopefully in an elisp routine run in emacs on linux ;-).

  130. Re:Ok, has anyone had problems with the patch by Anonymous Coward · · Score: 0

    BarFS? Do you have an URL for that?

  131. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    The only explanation I have about this moderated post is that it sounds like a servere case of schizophrenia.

  132. WOW!!! by Anonymous Coward · · Score: 0

    Your stunning, brilliantly insightful rebuttal sure did an excellent job of countering the thesis of that essay! I commend you, GreyFunk, on a philosophical tretise that even the ancient Greek philosophers would be in envy of!

    (i.e. Damn, you sure told him!!)

  133. What IS a journaling file system? by ToastyKen · · Score: 1

    I looked at the page and even did a web search for it, but didn't find an actual definition.

    Can someone tell me what "journaling file system" means and entails?
    Thanks.

    1. Re:What IS a journaling file system? by RelliK · · Score: 2

      Non-journalling file system (a la ext2, fat, etc. ) must be properly unmounted on shutdown. If it's not unmounted cleanly, it needs to be checked for errors, since it has no idea what happened just before the crash/power failure/whatever.

      Journalling file system keeps track of all the changes as they occur. So, even if it's not unmounted before shutdown, it can easily determine what was modified and deal with it as appropriate. So, for example, if you kick a power cord by accident, you no longer need to wait for 5 minutes while fsck scans the file system.

      High-end data warehouses have file systems measured in terabytes. You *definitely* don't want to wait for fsck there...

      --
      ___
      If you think big enough, you'll never have to do it.
    2. Re:What IS a journaling file system? by QuMa · · Score: 3
  134. Selling GPL exceptions by Per+Abrahamsen · · Score: 2

    Alladin used to do that with Ghostscript. RMS had no problems with this business model, and I haven't heard of anyone who wanted to fork the project for this reason. It would also be silly, as you would have to remerge the enhancements from the trunk back to your branch.

    With Ghostscript the GPL was not restrictive enough. Proprietary software would simply call the gs executable in a separate process. That is why Alladin eventually switched to a more restrictive license. Namesys should have no such problems, you can't run a filesystem stand-alone.


  135. What about Veritas? by Anonymous Coward · · Score: 1

    Isn't that what Veritas does? Please see: http://www.veritas.com/company/pressroom/1999/pr99 1102-2.html

  136. Reiser Deletions TEN TIMES FASTER by Anonymous Coward · · Score: 0

    Reiserfs is blazing fast for rm -rf. About ten times faster. than anything else available. Don't believe me? Check these benchmarks yourself.

  137. welcome to modern times, Linux. by Lx · · Score: 1

    This brings you one step closer to the power of BeOS ;) Seriously, though, it's a good thing. Journaling File Systems are pretty snazzy - stable, and speedy to boot. I'll be looking forward to a BSD port, or maybe a pure BSD implementation, as the core team probably wouldn't incorporate GPL'ed material into such a vital part of the OS.

    Does anyone know the comparative advantages between XFS, ext3fs, ReiserFS, and maybe BFS? What's the likelihood of any of the 3 free unix JFS's being incorporated into any Linux distros?


    -lx

    1. Re:welcome to modern times, Linux. by screeching+weasel · · Score: 1

      Just curious, but what apps do you need that aren't available for BeOS?
      The only thing keeping me from using BeOS exclusively on my machine is that my printer isn't supported (yet). I dig BeOS...
      just got Quake II running on it...sweeeet :)

    2. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

      Funny you should mention Be. I used my (former) BeOS 4.5 partition as the test target for my ReiserFS tests. :)

    3. Re:welcome to modern times, Linux. by Dr.+Sp0ng · · Score: 1

      Does anyone know the comparative advantages between XFS, ext3fs, ReiserFS, and maybe BFS? What's the likelihood of any of the 3 free unix JFS's being incorporated into any Linux distros?

      I don't know about the other 2, but BFS has many other features which are very cool, but would also be bad on Linux because they slow performance and are unnecessary on a server platform. These are features such as Journaling (obviously this one is good for linux to have), any number of file attributes, each with unique names and can contain huge amounts of data, the whole filesystem being stored as a database instead of the way most are stored (this helps immensely for searches, though). BeOS is a great platform for a single user workstation, but I just uninstalled it because of the lack of apps. I'm rooting for it, because it's a very well-designed system with lots of features, but as of now I don't have a lot of use for it.

      "Software is like sex- the best is for free"
      -Linus Torvalds

    4. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

      It was a rhetorical question - there is no equivalent under Linux. A few disparate audio
      apps doesn't make Linux a 'media OS', as the previous poster suggested.

      C-YA
      Jon

    5. Re:welcome to modern times, Linux. by Anonymous Coward · · Score: 0

      That's funny - yesterday I used my (former) Linux partition to install BeOS on. Maybe we should have just swapped harddrives ;^)


      C-YA
      Jon


  138. Russian developers by Anonymous Coward · · Score: 0

    Russia has awesome hackers. They grew up with
    schools that targeted math and science. I work
    with several immigrants (in Massachusetts),
    and they are some of the best on our team.

    Reiserfs is being managed by a German consultant.
    His consulting work is enough to pay the salary
    of several people in Russia.

    BTW, the GNU database server is being done
    in Russia. See a patern here? Math, math, math.
    All of this code has a solid theoretical base.

    Wait until you see what India can do. They are
    just starting to become serious Linux users.
    (no, I don't mean the starving non-hackers)


  139. Re:This whole "Linux" thing... by Haven · · Score: 1

    This is an excerpt from an article about I just read about microsoft.

    Companies that use the Microsoft Windows NT 4.0 operating system may experience an internet connection slow down in the next few months. Without telling anyone Microsoft Corp. added in something new to their latest Service Pack. It's called 'kill_linux_at_any_cost.exe'. What is does is, it finds internet sites such as the slashdot, and posts psychotic articles about linux being the work of the devil, and how Hitler ran linux. Apparently Microsoft was fearing the worst in the DOJ Anti-Trust case, and needs all the PR support it can get. It runs as an NT service that you cant get rid of.

  140. Paranoid, aren't we? by Millennium · · Score: 2

    Look. I'll admit that the "Russian-made" line seems to have come from absolutely nowhere. But just because you don't immediately understand something is no reason to immediately and irrationally assume the author meant to defame anyone, much less an entire nation. This said, I'd like to know what he meant by it myself.

    1. Re:Paranoid, aren't we? by Speed+Racer · · Score: 1
      I wouldn't call myself paranoid. I'm not Russian, I've never been to Russia and I've never know any Russians. It just struck me as extremely out-of-place when I read the comment and I drew the only rational conclusion I could. I will give you the immediately part but I feel you are off-base about the irrational accusation.

      Let's just say, I am extremely sensitive to negative stereotypes. You're a geek, you understand, right?

      --
      Free Mac Mini. Yes, I'm
  141. I know, I know by Haven · · Score: 1

    I posted something like this in an earlier story, so don't flame me for being lame. I just think the whole ficticious hidden programs in the service pack are funny. You can find it here.

  142. 2GB file limits by doodzed · · Score: 1

    Does this get rid of the 2GB file limit or is this a problem deeper in the kerenel?

    I am about to combine backups onto 1 machine and it looks like Slowaris86 will have to do. Please someone rescue me from this. I have enough Slowaris experiance to avoid it if I can.

    --
    It's not the size of your stack that matters, it's how you push and pop
    1. Re:2GB file limits by QuMa · · Score: 1

      2GB isn't a ext2 problem, it's in the kernel, and only on 32 bit machines. IIRC, there's a patch for it floating around somewhere.

    2. Re:2GB file limits by DrSpoo · · Score: 1

      It will be gone for good when Linux 2.4 comes out.

      Why do you say this, do you mean the 2GB filesize limit on 32-bit systems will be removed? I haven't heard of such a change in the 2.3.x devel-kernel, but then again I haven't been looking for it. Can you share a URL or two that backs this up?

      --
      Sig (appended to the end of comments you post, 120 chars)
  143. Sun? by Anonymous Coward · · Score: 0

    i think you mean SGI's XFS.

    1. Re:Sun? by retep · · Score: 1

      Ooops! You're right.

  144. About the whole Microsoft thing by Rayban · · Score: 1

    I'd like to respond to that post with this...

    If you are stimulated by new ideas, and if you can think for yourself rather than simply accept what Microsoft dishes out, I think you will find this letter of interest. What follows is a call to action for those of us who care -- a large enough number to listen to others. It is difficult, if not impossible, for people to come up with an accurate conclusion if the only information Microsoft has given them is false. And if that seems like a modest claim, I disagree. It's the most radical claim of all. Microsoft says that newspapers should report only on items it agrees with. The inference is that children should get into cars with strangers who wave lots of yummy candy at them. I'm happy to report that I can't follow that logic.

    Permitting slovenly kleptomaniacs to subvert time-tested societal norms is tantamount to suicide. Perception becomes reality if one is brainwashed for long enough. Out of the vast number of devastating evils for which gutless megalomaniacs are directly or indirectly responsible, I shall pick out only a single one which is most in keeping with the inner essence of Microsoft's revolting tracts: ethnocentrism. A large percentage of Microsoft's cronies can be termed beer-guzzling. I know because I have experienced that personally. Given the public appetite for more accountability, the first casualty of Microsoft's wheelings and dealings is justice. That being the case, we can infer that Microsoft's lackeys are unified under a common goal. That goal is to exhibit a deep disdain for all people who are not sinister insurrectionists.

    What I am getting at is this: No one is more pathetic than Microsoft. I assume that Microsoft is unaware of its obligation not to present a false image to the world by hiding unpleasant but vitally important realities about its generalizations, as this unawareness would be consistent with its prior displays of ignorance. Microsoft have trouble living with itself, knowing that this kind of thing makes me wonder whether we've ever moved past gin-swilling Maoism at all? If you're still reading this letter, I wish to compliment you for being sufficiently open-minded to understand that Microsoft is not just stupid. It is unbelievably, astronomically stupid. Microsoft needs to calm down and realize that it will not be easy to break the spell of great expectations that now binds the most vile autocrats I've ever seen to Microsoft. Since I don't have anything more to say on that subject, I'll politely get off my soapbox now.

    --
    æeee!
  145. Ok, has anyone had problems with the patch by quade]CnM[ · · Score: 1

    I've tried applying the patch from /usr/src, /usr/src/linux, and /usr/src/linux/fs, but have no luck, all it does is spit random files everywhere and says `done` then I try to compile and it barfs

    any help would be appreciated

  146. ACK! No root file systems? by rogerbo · · Score: 1

    Are you serious? Under SGI Irix I can have my root file system as XFS, then yank the power cord out while its live and, no problem, it will reboot cleanly without any need for an fsck. (yes I've done this many times... they're not servers...)

    If ReiserFS is like you say I'll wait for XFS thanks.

    1. Re:ACK! No root file systems? by longspur · · Score: 1

      I believe the original comment poster was referring the current state of XFS on linux (?), as it must be compiled as a module. Feel free to correct me on this, though.
      --

      --
      keep acting shocked and move slowly towards the cake.
  147. *Can* be mounted before being checked by willfe · · Score: 1

    At least, I think so :) There's no fsck at present for the journalling version of ReiserFS -- it apparently just replays the last log when it decides something has gone wrong. Really I don't think there's anything stopping it from being a usable root filesystem now, aside from its youthful age ;)

    --
    Read my stuff.
    1. Re:*Can* be mounted before being checked by Anonymous Coward · · Score: 0
      I didn't say it wouldn't make a good root file system, just that you would neet to boot off of another root partition to repair it.

      It also has it's own version of fsck. I copied the following strait from thier sight

      "Can reiserfs be used as a root partition?

      Reiserfs can not be mounted if it was not cleanly umounted and it had been mounted read-write. It cannot even be mounted read-only. You have to boot some other way to repair the reiserfs partition first using reiserfs.fsck. These ways can include: a read-only reiserfs partition used just for the booting phase, RAMFS, and an ext2 root partition. Please share your experiences with doing these so that we can add to our installation guide."

      Taken from

      http://devlinux.org/namesys/faq.html

    2. Re:*Can* be mounted before being checked by willfe · · Score: 1

      I didn't say you said it couldn't make a good root file system :) Also, the quote you mention from the ReiserFS site was written before the journalling stuff was around. My point is that I don't believe the journalling version can be "injured" under normal circumstances (including tripping over the power cord or flipping the Big Red Switch(tm) by accident), hence it doesn't *need* to be fscked on startup, even after an unclean shutdown. The only loss that could occur happens when a change has been logged, but not committed to the filesystem. Even then, the fs remains undamaged; you just lose the pending changes. I also know it has its own version of fsck, but straight from the README of the journalling version of the distribution is a warning in ALL CAPS :) not to use it on the journalling version. It doesn't even build reiserfsck when you compile the journalling version :).

      --
      Read my stuff.
  148. capabilities by Anonymous Coward · · Score: 0

    Does ReiserFS have the more flexible file permissions system which if I recall correcly is often called "capabilities"? Does Ext3fs? XFS?

    1. Re:capabilities by Anonymous Coward · · Score: 0
      Capabilities are part of the Linux kernel, they don't really need to be stored on a file system (although it's probably the best way to store them). I don't think ext3 or ReiserFS support capabilities yet, but XFS allows you to associate extra data with a file. This should allow capabilities to be added easily.

      You might also be confusing capabilities with access control lists (ACLs). Capabilties give access to programs, like opening ports 1024, using "chroot", etc. ACLs allow you to give individual people access to your files (you can give each user different r,w,x flags).

  149. And Suse is funding this.. cool by Ami+Ganguli · · Score: 3

    So Redhat pays for Alan (and Gnome?), Corel supports WINE, and Suse pays for file systems.

    Open Source has always been good at producing excellent, relatively small and self-contained components. We haven't been so great (with a few very notable exceptions, the kernel being one) at producing large projects. If it's a lot of effort with no quick return, the coders get tired of it.

    Now the commercial companies are funding the big stuff in an attempt to gain mindshare ("we must know what we're doing, we've got Alan"). This really complements the existing strengths of Open Source.

    --
    It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
  150. Two clarifications by A+nonymous+Coward · · Score: 2

    1. This is not about porting ext2 to BSD, but a journaled fs. So comparisons to ext2 are meaningless.

    2. Running linux binaries has nothing to do with this either, unless someone wants to make a user space version of RFS, and BSD can support it.

    --

  151. These stats ARE FISHY by A+nonymous+Coward · · Score: 2

    3:56.82 -- call it four

    Divide by 3:07 -- call it three

    Both roundings favor resiserfs, yet the ratio is said to be 1.56. I don't think so.

    Look at the rm -rf * stats -- ration is claimed to be 10.1, yet it's a lot closer to 7.

    What hope is there for the numbers themselves?

    --

    1. Re:These stats ARE FISHY by Fizgig · · Score: 2

      Ok, some independent things:

      I copied /usr/local to new ext2 and reiserfs partitions on a brand new harddrive. First thing of note, from df:

      /dev/hdb1 7823372 442980 7380392 6% /newdrive
      /dev/hdb2 5283091 410343 4599242 8% /ext2

      Newdrive is the reiserfs one. They contain the same data, but the reiserfs one is 30MB bigger.

      Now for some stuff.

      Running find . -exec wc {} \; on an installation of StarOffice on the Reiserfs one gives:

      9.94user 21.02system 0:53.46elapsed 57%CPU (0avgtext+0avgdata 0maxresident)k
      0inputs+0outputs (177778major+32241minor)pagefaults 0swaps

      On ext2:

      9.78user 17.41system 0:50.85elapsed 53%CPU (0avgtext+0avgdata 0maxresident)k
      0inputs+0outputs (205151major+32581minor)pagefaults 0swaps

      Reiserfs loses. Just one data point, however. And I may have it set up wrong. For reference, the reiserfs has lower cylinder numbers.

    2. Re:These stats ARE FISHY by Fizgig · · Score: 1

      On second thought, that had the smallest difference in the cited benchmarks, so it's a bad test. But nevermind.

  152. Use BSD by Anonymous Coward · · Score: 0

    It does >2gb files and is free.
    Beats the hell out of solaris ;-)

  153. Re:Woohooo! by MolochHorridus · · Score: 1

    Sideways!

    And even more Sideways!

    Sideways posts are the best entertainment here. Very nice guys!

  154. I think you misinterpreted... by Anonymous Coward · · Score: 0

    The part of the reiserfs faq that talks about it not being able to be remounted without an fsck only applies to the current, non-journaled version. The whole idea of a journaled FS is that you can mount it instantaneously (compared with ext2) after a crash. The faq you were looking at hasn't been updated to reflect this yet.

    FAQ we're referring to: http://devlinux.org/namesys/faq.html

  155. Autogenerated by Anonymous Coward · · Score: 0

    *sigh* Somebody got a new flame generator and has been posting these pointless multipage computer-generated diatribes for the past week or two. It gets old. Real old. Real fast.

    Whoever you are: Grow up.

    --anonymous, since I'm feeding the trolls

  156. initrd anyone? Module-ness doesn't prevent XFS / by Mr+Z · · Score: 2

    You could boot from an initrd RAM Disk, load the XFS module, and then remount your root partition from an XFS partition on your hard-drive. After all, this is how RedHat kernels allow you to have your root partition on a SCSI drive, yet still have all of the SCSI devices built as modules.

    Indeed, just this sort of technique can also be used to handle a ReiserFS root partition that needs to be fsck'd, by having the boot routines in the RAM disk image do the fsck if necessary. Strikes me as a bit more fragile than what I'd care to deploy in a mission critical setting, but....

    --Joe
    --
  157. Fairwell to ext2??? by _Beastie_ · · Score: 1

    This could in fact be a new begining for our wonderous OS Linux. And be it Reiser or SGI...jfs is going to provide one of the last things that separated linux from the other unix's. Fairwell ext2.. you served us well.

    --
    The Problem With The Gene Pool Is That There Is No Lifeguard.
  158. Re:Aladdin Ghostscript vs ReiserFS by Per+Abrahamsen · · Score: 2

    I think you confuse some issues. Alladin has had _two_ business models. The old was to use GPL and sell exceptions. The new is to use a more restrictive license for new versions, sell exceptions, and release old versions under the GPL.

    That some printer manufacturers didn't want to obey the GPL was not a problem for Alladin, it was a feature. It meant these manufactures would want to buy an exception from Alladin. When they buy an exception, the GPL become irrelevant to the customer. The problem was developers of "postscript enabled proprietary applications" who _hadn't_ any problem with the GPL, because they didn't link with gs, they just used it as a standalone program. They would not pay Alladin, instead they would distribute the source to gs. The new Alladin license was designed to prevent this.

    Namesys will not need to change their license, because their potential customers will not be able to use a similar loophole.


  159. Re:SGI/XFS can KISS OUR ASS! by hugui · · Score: 1

    Oh boy, are you the same AC of yesterday ? Why do I have to allways catch your comments ( and so late in the night ) ?

    Stop dreaming, stop smoking, and above all, please stop criticizing if you have no idea what you're talking about.

    sheessh, I have so many experiments to run and I'm wasting my time on you ( bad, bad boy ).

  160. Good things come in threes? by Mr+Z · · Score: 1

    Isn't it somewhat interesting that no more than a year ago, Linux had no journalling filesystems. Then everyone complained. Now we're going to have three journalling filesystems! (XFS, ReiserFS, and ext3) If anyone cares to complain about the lack of responsiveness of the free software community, I suggest you take a look at this. ;-)

    I guess good things come in threes?

    Heh, I just happened to think, there's a few other places the "good things come in threes" applies:

    • There are three free BSDs: NetBSD, OpenBSD and FreeBSD.
    • There are three widely available X servers for Linux (that I'm aware of) -- XFree86, MetroX, Accelerated-X.
    • Back in the Linux 0.99 days, the recommendation was to "sync three times and then shutdown."
    • etc...

    Anyone else have some favorite 'threes' to add?

    --Joe
    --
    1. Re:Good things come in threes? by longspur · · Score: 1

      Uhhh, I'm sure we can dig up at least 3^3 window managers for X. And variety is good.

      3-Button Mice are good.

      3 browsers (popular) Netscape, Mozilla, Lynx.

      --

      --
      keep acting shocked and move slowly towards the cake.
    2. Re:Good things come in threes? by Anonymous Coward · · Score: 0

      Yeah how 'bout the three finger salute.

  161. SGI has done lots of good things for free software by ed__ · · Score: 1

    kdb, for live debugging
    the crashdump stuff
    glx
    helping with linux's DRI interface
    coming up with gl in the first place
    throwing their name behind linux and free software
    telling them to kiss your ass is a bit myopic
    and such comments tend to speak only of the posters immaturity.
    the more the merrier.

  162. using it? by Anonymous Coward · · Score: 0

    So let's say I have added this reiserfs code to my system. Now I move all but my root partition over to it and run the system as I usually would. If, one day, the power goes out and my system is killed and boots back up, is there any need to run some kind of consistency check (even a very fast one of some sort) or can I simply remount my reiserfs partitions as if nothing had happened? I ask because it isn't all that clear in the documentation.

  163. Re:Aladdin Ghostscript vs ReiserFS by Mr+Z · · Score: 1
    I think you confuse some issues. Alladin has had _two_ business models. The old was to use GPL and sell exceptions. The new is to use a more restrictive license for new versions, sell exceptions, and release old versions under the GPL.

    Point taken. Thank you for the clarification on this part. I'm more familiar with their current business model than with their previous.

    I'm not sure I buy the "Postscript-enabled Proprietary Applications" argument, though. What's to stop these app developers from providing support for some other common interface (say PPM) and saying to people, "Hey, you can get Postscript support really easy by doing this:..."

    Namesys will not need to change their license, because their potential customers will not be able to use a similar loophole.

    I'm not sure I follow. What happens when Mfgr X builds up some proprietary system which needs the reliability of ReiserFS, and ships it along with a Linux kernel source tarball containing ReiserFS? If the ReiserFS itself is an integral part of the product (say, for reliability reasons or whatever), then how is this any different from the Ghostscript case you mention? If Namesys is counting on charging all commercial customers, then this doesn't work. I doubt they are, though.

    One possible application I can think of that falls in this category is a Point-of-Sale system. I can imagine the folks implementing these systems needing reliability as well as the recovery aspects that ReiserFS provides. At the same time, the POS software itself is highly proprietary, and is using the filesystem as a client. Say WhizBang POS Systems starts shipping their proprietary, binary-only POS software on a CD with the Linux kernel and ReiserFS patches installed. For GPL compliance, they have a big source tarball containing Linux+ReiserFS. How is this different from the Ghostscript scenario you described?

    The availability of GPL exceptions is more likely to affect people with closed OSes, or OSes whose license is not GPL compatible. (eg. QNX, the BSDs, other embeddeded and commercial OSes.) For instance, suppose I want to integrate ReiserFS into a DSP design running SPOX. I would need to license ReiserFS for that application. I suspect that is the crowd that these license exceptions are aimed at -- it's not the same story as for Ghostscript.

    Or did I miss something?

    (PS. I'm not trying to be antagonistic or anything. I find this to be an interesting and enlightening discussion, and I'm truly trying to understand the subtleties.)

    --Joe
    --
  164. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    My friend, there is a huge difference between this post and a Jon Katz rant. This post was clearly a simple global search/replace operation on an existing piece of text.

    Jon Katz's rants, on the other hand, are generated from scratch by a program. The program scans a database of "hot" words (i.e. "internet", "cyber-*", "freedom"), runs the words through a complex language-rules algorithm, and produces semi-coherent output.

  165. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    Damn, people!
    Can't anybody see that someone just took an article and replaced every occurance of someone's name with the word "Linux"? Personally, I found it funny, but I am intrigued - I'd sure like to know what that name *was*!
    Too bad it was off-topic and got modded down, I enjoyed it more than a lot of Jon Katz' rants.

  166. Aladdin Ghostscript vs ReiserFS by Mr+Z · · Score: 3
    RMS had no problems with this business model, . . .

    Actually, I hear that he's not thrilled with it. Indeed, one of the biggest problems that I can see is that there is very little incentive for people to improve the existing GPL version of Ghostscript when they know that Aladdin has (a) already improved Ghostscript in the current commercial version, and (b) will be releasing their changes 'soon' (after one year). This interview with Ghostscript's author Peter Deutsch sheds more light on the situation, including Stallman's thoughts.

    One result is that the GPL community is almost guaranteed to always be one year behind the latest in Ghostscript technology, unless someone gets up enough nerve to fork Ghostscript development and try to get ahead of Aladdin.

    With Ghostscript the GPL was not restrictive enough. Proprietary software would simply call the gs executable in a separate process.

    Part of the problem here is that the Aladdin folks try to license their code to printer manufacturers, etc. The printer folks aren't too keen on having to ship Ghostscript on demand to anyone who buys a printer. Also, if the printer folks make any platform specific changes (which undoubtedly they will, such as specific driver technology for running the print engine), they'd have to distribute those changes, and most aren't willing to do so.

    Also, more importantly, Peter Deutsch doesn't seem too keen on having people ship Postscript-enabled printers by using his work for free (as in gratis).

    The upshot: Aladdin offers their latest and greatest Ghostscript with a commercial license.

    With ReiserFS, I'm sure a similar but not identical set of considerations exist. People building embedded or mission critical systems on an otherwise proprietary base might license ReiserFS for their application without introducing any questions as to the effects of GPL. At the same time, a GPL version is available for everyone.

    The difference here is a bit subtle but important. Namesys appears to be releasing the latest and greatest ReiserFS under GPL, rather than imposing an artificial delay. (Whether or not this changes in the future is unclear, but for now it is an important distinction.) In this case, the commercial license seems to be a means for companies to buy an "unencumbered" version of ReiserFS for their own purposes. (By "unencumbered", I mean free of the implications of GPL.) I see this potentially as a way to keep both camps happy. Maybe. (Except, of course, RMS.)

    --Joe
    --
    1. Re:Aladdin Ghostscript vs ReiserFS by Per+Abrahamsen · · Score: 1

      I'm not sure I buy the "Postscript-enabled Proprietary Applications" argument, though. What's to stop these app developers from providing support for some other common interface (say PPM) and saying to people, "Hey, you can get Postscript support really easy by doing this:..."

      The Alladin License forbids them to bundle gs with the application. They can of course tell their customers to download and install gs themselves, but that would not be what customers expects from a commercial product.


      I believe Namesys want to sell ReiserFS to people who sell proprietary OS'es. People who sell propritary products that runs on top of a free OS is not part of their market target. It would be a very difficult target to hit anyway, the only solution I can think of would essentially mean that namesys would have to sell their own OS, perhaps based on one of the free BSD's.


  167. Re:This whole "Linux" thing... by Anonymous Coward · · Score: 0

    use sed to replace all occurance of Linux with something else , (e.q. X) and see what comes up.
    I think it's pretty close to Katz tho.

  168. Question about journaling by Dr.+Sp0ng · · Score: 1

    I know the basic idea behind journaling, but I don't understand the implementation - I know that it helps prevent fsck'ing by writing the data to the disk immediately, but how is this different than simply turning off disk caching? How is the performance better with journaling rather than running without caching?

    "Software is like sex- the best is for free"
    -Linus Torvalds

    1. Re:Question about journaling by Anonymous Coward · · Score: 0

      Instead of writing each block directly to disk, it writes the _changes_ to a log file. Typically, journalled file systems only log changes to the "metadata", such as the data that describes which blocks make up a file. This means that you never have to do a fsck after an OS crash.

  169. It's comming by Anonymous Coward · · Score: 0

    As I understand it, jouraling functionality +more is going to be added to FFS/Softupdates by Kirk McKusick. I read that on a mailinglist. I also read that there are some hope that SGI is releasing their XFS under a free enough licence so it can be used in BSD, but that may be a long shot.
    We already have a very stable fs and with softupdates we get both speed and safety. As I understand it, journaling would only buy us some fsck time. Am I right?

  170. Re:SGI/XFS can KISS OUR ASS! by SkyWriter · · Score: 1

    you're dreaming

  171. offtopic linux Q by Anonymous Coward · · Score: 0

    Well i just installed RH6.1 and i am having a problem which i cant resolve so i am looking for some help . This is not my first time using linux but its the first time using linux for the purpose of learning it as the main os , well anyways on to the problem . I am trying to setup access permision for a user for the X with xauth and ive tried reading all the related mans and howtos on the web and i havent had any luck finding a detailed howto/man on this topic , so would anyone be kind enough to point me to the right one .

    1. Re:offtopic linux Q by Anonymous Coward · · Score: 0

      You need to install the mkxauth package off of the CD-ROM, and don't fiddle with the /etc/X11/xinit directory, that's where the x startup scripts are... you *should* just be able to type, as that user, "startx".

  172. Important, but likely not for DBMSes by Christopher+B.+Brown · · Score: 5
    I hate to take issue with a well-spoken posting, but journalling is not of primary usefulness for helping support High Availability RDBMS systems.

    The main effect of journalling, the thing that is really important about it, is that it guarantees that metadata updates are kept consistent. That is, journalling is primarily supportive of making sure that filenames, directory structures, permissions, and such are kept consistent even when moderately catastrophic things happen.

    This is a really good thing when supporting file serving activities, as that indeed tends to involve lots of manipulations of files as users shift them around.

    I've been on the ReiserFS mailing list since '97; have been running a personal news spool on a small ReiserFS partition for probably 6 months. I can't tell for sure if the journalling now available is metadata-only, or if it also journals normal data updates. It looks rather more like metadata-only, which is useful for file-server work, but not so much for RDBMSes.

    Databases behave in quite different ways from file servers in terms of the way they do file access.

    If you look at most RDBMSes, they create a few files, and do lots of manipulations on top of them. Informix SE is a counterexample, basically using Informix C-ISAM underneath, but is unusual in that regard. If you look at the database partitions, you get one of two things:

    • Partitions containing a few very large files.

      Note that for these, the metadata is very static which means that journalling of metadata is of relatively little importance.

    • Partitions containing no filesystem, but rather raw data being managed by the RDBMS.

      Don't just believe me; I am not the ultimate authority on this. Transaction Processing : Concepts and Techniques is a rather definitive reference; it discusses methods of managing transactions in the context of database management systems, and goes into considerable detail discussing transaction logging, which bears striking (and not merely coincidental) resemblance to journalling.

      The critical point here is that it is the database manager that wants to manage the logging/journalling; Oracle and Sybase and IBM and Informix will be loathe to pass on responsibility for this to Hans Reiser, wonderful guy though he is.

    Conclusions

    1. Sorry, I have to disagree with you on ReiserFS being of fundamental importance to those doing serious database work.

      What will be of fundamental importance will be when Stephen Tweedy's Raw Device Support gets integrated into the "production" kernels. That is what Oracle is looking for (consider: Oracle has pumped some funds into RHAT, and RHAT is paying Stephen Tweedie... Could there be some connection?)

    2. Journalling IS important for sorts of applications that manipulate lots of files, which includes things like dynamic web serving and file serving.

      Even if this isn't such a boon to those doing serious RDBMS work, it can still be a boon to lots of other folks...

    --
    If you're not part of the solution, you're part of the precipitate.
    1. Re:Important, but likely not for DBMSes by GooberToo · · Score: 1

      The main effect of journalling, the thing that is really important about it, is that it guarantees that metadata updates are kept consistent. That is, journalling is primarily supportive of making sure that filenames, directory structures, permissions, and such are kept consistent even when moderately catastrophic things happen.


      This is true, however, (J)RFS does do journaling of datablocks (non-meta) when files grow. I just finished reading this on their web site. There is some criteria that has to be hit prior to this occuring, but nontheless, there are cases that cause datablocks to be journaled as well.

  173. Not Even Close by Christopher+B.+Brown · · Score: 3
    I've got a filesystem that has been using ReiserFS for probably 6-8 months now, and Hans has been working on it since at least July 1997.

    "Who was first" isn't all that important; it should be noted that there is considerable communication between the development groups, and there are conscious efforts ongoing to make sure they build facilities that will be useful across the board:

    • The ReiserFS folks have been doing BTree "stuff," and intend to provide some code that should be usable by anyone wanting to do B-Trees at the kernel level, whether that be with ReiserFS, ext3, "ext4," or (and this has been explicitly mentioned) SGI's XFS.
    • Considerable discussion has taken place in trying to coordinate needed modifications to kernel code in terms of:
      • VFS
      • Buffer management
      • Cache management
      It often enough turns out that what one group needs another finds that they also need.
    --
    If you're not part of the solution, you're part of the precipitate.
  174. It'll be available when it's complete by Christopher+B.+Brown · · Score: 2
    SGI is still working on it.

    You haven't seen a release; based on the discussions at ALS involving the developers, it would be surprising to see a "beta" before the end of 1999.

    A "beta" is not production code, and doesn't include integration into the "regular" kernel. I would be entirely unsurprised to hear that this hasn't yet occurred by the middle of next year.

    will it replace ext2fs?
    Not likely any time soon...
    --
    If you're not part of the solution, you're part of the precipitate.
  175. Yes, It Works. by Christopher+B.+Brown · · Score: 2
    I've got a partition that has been running ReiserFS for quite some time now.

    As for the possibility of forking, that was intended as a way of raising funding to support the free version. Now that SuSE is funding ReiserFS, it is rather less likely that Hans Reiser will be feeling the need to bang on Sun's door looking for money.

    The hype may have been about XFS, but note that no code for XFS has been publicly released. And note that ReiserFS has been under active development since at least July 1997, which means that while silly people that watch fads may have been off hyping XFS, ReiserFS is hardly new and hardly surprising.

    Note, all of these developments in filesystems move us towards having a choice of filesystems, and the ability to tune systems for one kind of behaviour or another. None are likely to supplant ext2 for our root partitions any time soon, in much the same way that commercial UNIXes' "advanced" filesystems have not largely supplanted "traditional UFS" for root partitions.

    Plus ca change, plus ca reste meme.

    --
    If you're not part of the solution, you're part of the precipitate.
  176. No, no effect. by Christopher+B.+Brown · · Score: 2
    The critical bottleneck resulting in the 2GB limit is that of the VFS layer that sits in between the kernel and filesystems.

    That bottleneck is not resolved by changes to filesystem functionality.

    This means that ReiserFS does not fix the problem; this means that XFS does not fix the problem.

    At present, your choices for resolving the 2GB file size limit are two:

    • Use the LFS API that SAS has promoted for allowing 32 bit UNIXes to support 64 bit file sizes when applications are recoded to use the LFS API.
    • Run a 64 bit architecture such as Alpha or UltraSPARC.
    --
    If you're not part of the solution, you're part of the precipitate.
  177. Another victim of Microsoft's Application Barrier by Anonymous Coward · · Score: 0

    Sigh, so sad to see people not use Be. Well, at least he bought it.

  178. Intersting..... MP3.com by Anonymous Coward · · Score: 1

    Please everyone go to Reiser home page where the official anouncement is...
    http://devlinux.com/namesys/
    MP3.com is sponsoring a large part of the Reiserfs development...

  179. Compression and Encryption too? by DrSpoo · · Score: 1

    Or should these exist only in user-land? The new version of NTFS has these as built in features (of course they only _now_ getting quota support...)

    Compression is one thing I would like to see in a filesystem, although encryption seems like a marketing feature only. I'm not sure how much value you would get for the extra bloat. Anyone know if compression is on the Linux fs roadmap?

    --
    Sig (appended to the end of comments you post, 120 chars)
  180. journaling fs isn't news by arielb · · Score: 1

    NTFS was 64 bit and journaling for quite a while-I don't see what the big deal is here. On the other hand those benchmarks look good (ok benchmarks are just benchmarks but still)

    --
    ---
  181. Journaling by Anonymous Coward · · Score: 0

    This is why I also use the BeOS. A fully journaled 64-bit file system. Eight-way SMP support. Anti-aliased fonts. Apache 2.0 Etc..

    I hope Linux can catch up...



  182. Re:ext3 seems fine by Dr.+Crane · · Score: 1
    Agreed. I installed ext3 recently (on all my drives) and haven't had a problem so far. I like being in X and just pressing the power button ;-)

    My drive has just two partitions, 10 MB /boot and ~4 GB / ... after hitting the power button reboot happens with no delay.

    Judging by the documentation, ext3 has quite a long way to go but hey, it does work. Reiserfs looks ready for prime-time.

    I'm sure reiserfs and ext3 with both have their niche and I for one am very excited at this news!