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. "

157 of 281 comments (clear)

  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. 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

  4. 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!!*****
  5. 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)
  6. 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.

  7. 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!

  8. 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 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,

    4. 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.

  9. 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

  10. 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.
  11. 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.

  12. 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.
  13. 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.

  14. 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 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 :)

    3. 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?!

    4. 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?

      --

    5. 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.
  15. 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.

  16. 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).

  17. 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.

  18. 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

  19. 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.
  20. 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

  21. 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.

  22. 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!
  23. 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

  24. 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

  25. 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.

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

    Lose only has one "o"

  27. 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 :)

  28. 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.

    --
    ---
  29. 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.
  30. 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.
  31. 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

  32. 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

  33. 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)
  34. 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

  35. 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

  36. 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
  37. 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.

  38. 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
  39. 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
  40. Re:Journaling by arielb · · Score: 1

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

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

    ./configure;make;make install

    :)

    --
    -- Terry
  42. 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
  43. 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.

  44. 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.
  45. 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.

    --
    ---
  46. 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.

  47. 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.

  48. 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-

  49. 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.

  50. 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


  51. 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.

  52. 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 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.
    2. 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?

    3. 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
    4. 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).

    5. 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.

    6. 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 :)

    7. 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.

    8. 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
  53. 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...

  54. 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.

  55. 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-

  56. 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.

  57. 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 Niomosy · · Score: 1

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

    2. 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.

  58. "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

  59. 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. ;)

  60. 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

  61. 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.
  62. 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

    --

  63. 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.

    --
    ---
  64. 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.

    --
    ---
  65. 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

  66. 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

  67. 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,
  68. 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...

  69. 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

  70. 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

  71. 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.
  72. 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
  73. 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..

  74. 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
  75. 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.


  76. 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

  77. 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 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

  78. 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.

  79. 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
  80. 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.

  81. 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)
  82. 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!
  83. 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

  84. 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.
  85. *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 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.
  86. 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
  87. 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.

    --

  88. 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.

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

    Sideways!

    And even more Sideways!

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

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

    Ooops! You're right.

  91. 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
    --
  92. 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.
  93. 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.


  94. 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 ).

  95. 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.
  96. 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.

  97. 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
    --
  98. 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.


  99. 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

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

    you're dreaming

  101. 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.

  102. 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.
  103. 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.
  104. 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.
  105. 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.
  106. 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...

  107. 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)
  108. 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)

    --
    ---
  109. 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!