Slashdot Mirror


Ask ReiserFS Project Leader Hans Reiser

Hans Reiser leads a successful Free Software project that has attracted plenty of attention, many users, and even that Holy Grail of so many who have started their own Free or Open Source projects: Big-time funding from DARPA, SuSE, and others. How did he do it? What's his advice for other project leaders? Ask him! And ask him any other question you have in mind. Please stick to one question per post, and avoid questions that can be answered with a few minutes' worth of research. We'll publish Mr. Reiser's answers as soon as he gets them back to us.

343 comments

  1. Name... by Anonymous Coward · · Score: 3, Funny

    Where did you come up with the name for your project? :)

    1. Re:Name... by vadim_t · · Score: 1

      IIRC, it was originally something like "TreeFS", but somebody had already trademarked that. So they switched to something that was unlikely to be already taken.

    2. Re:Name... by jester · · Score: 1

      More importantly .... are you an early riser, or a lte riser ?

    3. Re:Name... by Anonymous Coward · · Score: 0
      Where did you come up with the name for your project?

      From his last name? You stupid retard.

    4. Re:Name... by Bill+Privatus · · Score: 3, Funny

      More to the point - and I've checked but not found it - how do you pronounce 'reiserfs'?

      1. riser fs
      2. razor fs
      3. none of the above (please fill in blank): _______
      --
      Redundancy is good; triple redundancy is twice as good! - Me.
    5. Re:Name... by paule9984673 · · Score: 1
      riserefess

      He is German (or Germanophil...I don't want to insult him if he is Swiss or Austrian). I German, ei is pronounced like the English i.

    6. Re:Name... by Anonymous Coward · · Score: 0

      And we all know the English letter i only has a single pronounciation
      form, especially when there is an e in its immediate vicinity.

    7. Re:Name... by tedric · · Score: 1

      According to his homepage he is a US citizen. But the German name Reiser would be pronounced like you suggested.

  2. What is the future of ReiserFS... by Gortbusters.org · · Score: 5, Interesting

    When you look at your Linux installation scripts today, you see that ext3 is all over popular distrobutions like RedHat. ReiserFS used to be the most popular journaling filesystem for Linux, but how will it shape up given the mass adoption of ext3?

    --
    --------
    Free your mind.
    1. Re:What is the future of ReiserFS... by arth1 · · Score: 5, Informative

      ReiserFS main competitor isn't really EXT3.
      EXT3 is a journaling addition to EXT2, and much more interesting for people who want to change their existing file systems instead of creating new file systems. Note that EXT3 is slower than both ReiserFS and EXT2, but it does have journaling, and provides faster reboots :-)

      The main competitor for performance is SGI's excellent XFS. The latest implementations are quite solid, and the performance likewise are excellent. Even compared to ReiserFS.
      Both ReiserFS and XFS suffer from the potential of data loss on system failures, and XFS probably more so than ReiserFS, as tiny files might not be committed at all. However, for RAID users, I can not see any reason to use ReiserFS instead of XFS, and definitely not EXT3 unless upgrading the file system.

      Regards,
      --
      Arthur Hagen

    2. Re:What is the future of ReiserFS... by Surak · · Score: 1

      However, for RAID users, I can not see any reason to use ReiserFS instead of XFS, and definitely not EXT3 unless upgrading the file system.

      I can. ReiserFS is included in current stable-series kernels, while XFS is not, hence XFS users have to rely on a non-standard, patched kernel.

    3. Re:What is the future of ReiserFS... by volkerdi · · Score: 2, Informative

      SGI's XFS still occasionally hangs my machine under heavy load. Plus, by the time they have a release out for 2.4.20 (they still don't), I'm sure I'll be running 2.4.21. In addition, it's still not part of the standard kernel sources. XFS would have to be considered the least supported choice of the three.

      Even though ext3 is a journaling filesystem, it still does a lengthy (and annoying) filesystem check every 20 mounts or so. To its credit it has never found an error, but still. I thought getting rid of that stuff was why we wanted journaling filesystems.

      ReiserFS has been rock solid for me, and has been the default Slackware filesystem for two releases. I don't forsee something else replacing it as default any time soon. It's still a bit of a moving target, though... if you're thinking of running a few different kernel versions you may run into situations where your filesystem has features that are too new to be mounted. (In those kinds of cases ext2 is still the safe choice)

      There's also IBM's JFS. The one thing I've noticed about that is that a newly formatted partition won't mount cleanly until you've run fsck.jfs on it. This doesn't inspire great trust, but other than that I've had no problems while testing it.

    4. Re:What is the future of ReiserFS... by GrenDel+Fuego · · Score: 3, Informative

      Even though ext3 is a journaling filesystem, it still does a lengthy (and annoying) filesystem check every 20 mounts or so. To its credit it has never found an error, but still. I thought getting rid of that stuff was why we wanted journaling filesystems.

      I personally think that the occasional check is probably a good idea, but if it annoys you then you can always change the interval, or even disable it.

      Just use "tune2fs -c <how many mounts> /dev/PARTITIONNAME"

      -c 0 should cause it to not use that functionality.

    5. Re:What is the future of ReiserFS... by opk · · Score: 2, Informative

      SGI's XFS still occasionally hangs my machine under heavy load. Plus, by the time they have a release out for 2.4.20 (they still don't), I'm sure I'll be running 2.4.21.

      Just go to http://oss.sgi.com/projects/xfs/patchlist.html and pick up the patch against 2.4.20. Works very well for me. All the releases get you is a bunch of release notes and rpms against RedHat kernels. I always get these patches which come out very promptly after the stock kernel release and work very well.

    6. Re:What is the future of ReiserFS... by Anonymous Coward · · Score: 0

      Even though ext3 is a journaling filesystem, it still does a lengthy (and annoying) filesystem check every 20 mounts or so. To its credit it has never found an error, but still. I thought getting rid of that stuff was why we wanted journaling filesystems.

      ReiserFS and XFS have had a history of bad fsck coding. A while ago, both would refuse to do anything other than printing a "this is not implememnted because it is not needed" type message.

      In that regard, ext3 was far better with functional fsck code. Since it works, the distros decided to use it. The 20 times can always be changed to 100 times or 'never check.' Why is it needed? Hardware failure resulting in bad sectors. The journals won't recover fully from such failures (i.e. data is lost), but fsck will attempt to put together the data.

    7. Re:What is the future of ReiserFS... by jfmiller · · Score: 1

      For what it's worth, Gentoo Linux suggests ResierFS as there prefered FileSystem.

      --
      Strive to make your client happy, not necessarly give them what they ask for
    8. Re:What is the future of ReiserFS... by Leebert · · Score: 1

      I can not see any reason to use ReiserFS instead of XFS

      I can. You cannot reduce an XFS filesystem short of rebuilding it. ReiserFS filesystems can be shrunk in place.

      Particularly when using LVM's this is very useful.

    9. Re:What is the future of ReiserFS... by npietraniec · · Score: 1

      I can - the last time I tried Reiser, it ate my home directory. i'm sure it's gotten better, but because it was included into the kernel while it should have been alpha, I'll never use it again.

    10. Re:What is the future of ReiserFS... by damiam · · Score: 1

      Unless you're on LFS, you're already using a non-standard, patched kernel. Deal with it.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    11. Re:What is the future of ReiserFS... by Surak · · Score: 2, Informative

      Gentoo -- and no, I'm not, Gentoo gives you the choice of vanilla sources, gentoo sources, xfs sources, etc.

    12. Re:What is the future of ReiserFS... by PalmKiller · · Score: 1

      A what if:

      The last time we tried to fly, I crashed, so we wont try that again.

      Orville Wright

    13. Re:What is the future of ReiserFS... by npietraniec · · Score: 1

      your analogy is flawed. There are other journaled file systems available. Reiser was included in the kernel long before it was ready. That was a dumb decision, and one that has soured Reiser's reputation among a lot of people. I'll continue to use Ext3. It works fine for me and has never corrupted my data.

    14. Re:What is the future of ReiserFS... by jtrostel · · Score: 1

      SGI's XFS still occasionally hangs my machine under heavy load. Plus, by the time they have a release out for 2.4.20 (they still don't), I'm sure I'll be running 2.4.21. In addition, it's still not part of the standard kernel sources. XFS would have to be considered the least supported choice of the three.

      The current CVS tip of XFS is at 2.4.21-rc7.

      Kernel source 2.4.21-rc1-ac (and later? dunno... I don't commonly download and compile Alan's kernel sources) includes XFS now. It is the least supported of the three, but it's popularity and use is increasing.

    15. Re:What is the future of ReiserFS... by Cro+Magnon · · Score: 1

      First, Slackware uses a "raw" kernel. Second, if you use XFS, you're FORCED to use your distros kernel (assuming your distro supports XFS).

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    16. Re:What is the future of ReiserFS... by Anonymous Coward · · Score: 0

      We used ReiserFS extensively with the 2.2 kernels. When we moved to Mandrake 8, lots and lots of our filesystems got trashed and we lost data. We now run XFS and have terabytes of data in XFS volumes and we have never seen a problem. Ever. Given that lots of people report problems with disappearing volumes with ReiserFS, are you focussing on the right aspects of the design for the future ?

    17. Re:What is the future of ReiserFS... by Anonymous Coward · · Score: 0

      "The average /. reader is an idiot. Half of /. readers are below average. Are you scared yet?"

      Where do you fit in?

    18. Re:What is the future of ReiserFS... by Anonymous Coward · · Score: 0

      His analogy may be flawed, but so's your reasoning. "I used ReiserFS while it was immature, and it ate my data, so I'll never use it." Maybe ReiserFS isn't immature anymore.

      The fact that it was once included in the stable kernel despite not being stable is irrelevant (if inconvienient).

      Andrea Archangeli's VM patches were unstable too, if you'll remember. Rick van Riel kept advocating staying with his VM, because his was proven and AA's was immature. And Linus kept ignoring him. Now nobody thinks about it anymore.

      You shouldn't either.

      Hell, most of the distros which were the most voiciforus in denouncing ReiserFS when it was having its stability problems are now happy to recommend it.

      My point: while the past is a good gauge of how much trust to put in the present, the past should never carry more weight than presently available evidence. And there's lots of evidence that TODAY ReiserFS is stable.

    19. Re:What is the future of ReiserFS... by Wolfrider · · Score: 1

      --If you lost data, that's *your* fault. This is why we have a little something called "backups."

      --I've been using Reiserfs since SuSE 6.(2?) and never had a problem with it. Believe me, it's stable.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    20. Re:What is the future of ReiserFS... by Anonymous Coward · · Score: 0

      And how is RAID supposed to help you avoid data loss on system failure?

      RAID may help with data loss from disk failure (none instead of all), but unless you have battery backed up write caching and a more aggressive write policy at the system level, it is essentially equivalent to a single disk for system failure behavior.

      Unless you're referring to data loss due to write caching being turned on with no battery backup, in which case you're screwed on power loss no matter what filesystem you use.

    21. Re:What is the future of ReiserFS... by Anonymous Coward · · Score: 0

      >I personally think that the occasional check is probably a good idea, but if it >annoys you then you can always change the interval, or even disable it.
      >
      Of course the occasional check is a good idea.
      Only a utter moron who knows absouletly nothing
      about the unrelibility of PC Grade Hardware would
      claim otherwise.

      Unfortunaly, it's these kinds of morons who are attracted to stuff like ReiserFS...

    22. Re:What is the future of ReiserFS... by Nothinman · · Score: 1

      I'm using XFS (have been for a few years) and I've never used a distribution kernel on this box.

      All I'm FORCED to do, is apply the XFS patches from the SGI page, which is a minor step.

  3. Why ReiserFS? by wizzy403 · · Score: 5, Interesting

    What specific benefits would I see by switching my box to ReiserFS as opposed to EXT3 or one of the many other journalling file systems that Linux now supports? At this rate, seems like I could be reformatting my hard drives every week.

    1. Re:Why ReiserFS? by Spacelord · · Score: 3, Interesting

      I chose ReiserFS over ext3 because it allows online resizing of my filesystems (in combination with the excellent LVM of course).

    2. Re:Why ReiserFS? by rulethirty · · Score: 1

      I would say the integrity of your data would be the biggest beneficial feature ReiserFS has to offer you.

    3. Re:Why ReiserFS? by dasunt · · Score: 2, Informative

      Integrity of data? Er, please read up on ext3 - a journelling filesystem, same as reiserfs, that seems to have the same (or slightly better) filesystem integrity as reiserfs.

      The correct answer would be along the lines that reiserfs is better at handling some files then ext3 - especially small files. I have a ton of text files on an 80 gig shared drive - all small files. Since I'm using ext3, a lot of space is being wasted.

    4. Re:Why ReiserFS? by Deth_Master · · Score: 1, Informative

      It was significantly faster for me. I downloaded movies and junk off of newsgroups. When I would open one of KDE's windows to start Parring/Unraring it would sit there for quite a while and the hard drive light was on as it was reading the information. When I switched to ReiserFS just to try it, it took significantly less time to load the information. It's a lot faster than ext3 and its just as secure if not more.
      I also like the way it's designed it's written so that you can put modules in it. Say you want to add encryption support to the filesystem. You can write a module and load it into the Filesystem and encrypt everything written to the drive transparently. Not saying that I know how to do that. That's far beyond my programming skill at the moment. Mostly I like it for the speed that I gained.

      --
      find ~your -name '*base* | xargs chown :us
    5. Re:Why ReiserFS? by Anonymous Coward · · Score: 2, Interesting

      He asked why ReiserFS is better than other, similar FSs. You said it was better. Could you clarify why it's "better"? Exactly why is it better/more reliable than, say, ext3? They're both journalling AFAIK. Does one have a "better" journal than the other or something?

      Sorry if I sound trollish or anything, but your post sounded kind of like the circular-logic linux trolls around here. "Why is linux better?" "Because it's linux." "Uh, yeah, but WHY?" "It's better because it's the best!"

    6. Re:Why ReiserFS? by afidel · · Score: 1

      why I feed the trolls I don't know, but all decent volume managers allow you to resize partitions on the fly so you can add storage capacity as demand dictates and assign it to the areas that are actually growing rather then those which you think will need the space when you initially setup your partition scheme. This is a feature found in most commercial Unix variants as well as big iron, and is found in one way extensions in win2k and above.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    7. Re:Why ReiserFS? by Anonymous Coward · · Score: 0

      1) The vast majority of people using Linux are not using it in a situation where they have any form of LVM, or even RAID.

      2) If you're using Linux in an enterprise situation where you are using the LVM and RAID, and you're actually running ReiserFS on it, you're insane. Try using JFS, or XFS.

    8. Re:Why ReiserFS? by Surak · · Score: 1

      I've had far better stability on ReiserFS than I have had on XFS. But YMMV.

    9. Re:Why ReiserFS? by rossjudson · · Score: 2, Informative

      As a Java developer this is what I am interested in...Java produces very large numbers of small files. Any file system that handles this more efficiently is going to make for faster compilation.

    10. Re:Why ReiserFS? by Spellbinder · · Score: 1

      for me it was the other way around
      maybe because i'm overclocking everything i can get hands on =)
      but i had no problem with xfs
      but ReiserFS i had no good experience
      if there were a noticable performance increase with using ReiserFS i would try it again
      but as far as i heard XFS is faster except for very small files

      --


      stop supporting microsoft with pirating their software!!!!!
    11. Re:Why ReiserFS? by Surak · · Score: 1

      XFS *is* faster except for when you have a bunch of smaller files, true.

      But as far as stability goes, I've seen XFS eat my entire hard drive, vs. ReiserFS with which I've never experienced *any* data loss.

      Mind you, ReiserFS got its reputation for unreliability in it's earlier days. It's been in the kernel since 2.4.18, and that's how long I've been using it for. So I don't have any experience with reiser PRE 2.4.18, so I can't speak about reliability prior to that.

    12. Re:Why ReiserFS? by Nothinman · · Score: 1
      XFS *is* faster except for when you have a bunch of smaller files, true.


      When I setup my IMAP server with Maildirs I tested a bunch of filesystems because I knew ext2 sucks for large directories. XFS and Reiserfs both had almost the exact same speeds for working with the large Maildirs.


      Now I'm using XFS because I've had a better track record with it and ReiserFS offered no performance gains. The IMAP box is even running XFS on an Ultra2 and I havn't lost any data to it.

    13. Re:Why ReiserFS? by Nothinman · · Score: 1

      You need thousands of files for it to start making a difference though.

  4. Good business planning by mao+che+minh · · Score: 5, Interesting
    Did you embark on this project in hopes of making a profitable business? It certainly seems that way, considering that you went looking for sponsorship and even planned pay-per-incident support, showing that you were prepared to work the whole "support revenue" angle.

    Now you just need to hire someone to desire a modern, more "commercially pleasing" website. =)

    1. Re:Good business planning by Surak · · Score: 2, Informative
      More than just the support revenue angle, Hans has made money off of reiserfs by directly selling the code. From the reiserfs/README file:

      Source code files that contain the phrase "licensing governed by reiserfs/README" are "governed files" throughout this file. Governed files are licensed under the GPL. The portions of them owned by Hans Reiser, or authorized to be licensed by him, have been in the past, and likely will be in the future, licensed to other parties under other licenses.

      Among his customers have been DARPA and BigStorage, which are noted sponsors right on the front page. I think I remember reading that BigStorage is using ReiserFS for some sort SAN.

    2. Re:Good business planning by DarkVein · · Score: 1

      Most likely, you saw his sponsors mentioned in the kernel logs.

      --

      I'm as mimsy as the next borogove but your mome raths are completely outgrabe.

  5. Am I ever going to get my coffee? by TheZapman · · Score: 1

    And how do you accidentally add a filesystem anyway?

  6. ReiserFS V4 by greppling · · Score: 0, Interesting
    When do you expect it to be released?

    When will it be stable enough for early-adoption users? (Do you still expect it to make it into 2.6.0?)

    What are the key features that should make me, having a typical developer's desktop box, switch from ext3/ReiserFS v3/... to ReiserFS V4?

    1. Re:ReiserFS V4 by frodo+from+middle+ea · · Score: 1
      Oh My god man, read the freaking post.
      and avoid questions that can be answered with a few minutes' worth of research.
      Now if only you were to visit the said website namesys.com, You would see it in HUMONGOUS font "Raiser4 is due June 30 2003".

      When will it be stable enough for early-adoption users?.
      What kind of early adaptor are U any way ? asking questions about stability ?

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
  7. ReiserFS and laptops by strredwolf · · Score: 5, Interesting

    My main question(s) is this(these): Is ReiserFS tunable to reduce usage of a laptop HD? If not, will it? As is, it's great on low capacity (under 1 gig) drives (I'm not sure how much overhead it imposes in comparision to ext2/ext3). However, it also likes to keep the drive active, which drains laptop batteries.

    --

    --
    # Canmephians for a better Linux Kernel
    $Stalag99{"URL"}="http://stalag99.net";
    1. Re:ReiserFS and laptops by Lukey+Boy · · Score: 5, Informative
      I had the same problem. Disable access time in your fstab file and the drive will not be so frequent - apparently ReiserFS spools and flushes the atime data, keeping everything spun up. Make a line in fstab like this:

      /dev/hda5 / reiserfs noatime,errors=remount-ro 0 1

      In fact, I disable access time tracking on every box I work with. I haven't found a worthwhile reason to ever enable it. And that's my 2 cents!

    2. Re:ReiserFS and laptops by arth1 · · Score: 3, Informative

      atime can be quite useful for caches, like client and proxy web caches and man page caches. It's also used for other services that expire data based on access time, like usenet leaf servers, and log rotating programs.

      Before turning off atime, I advise that an effort is made to identify what data really needs atime, and if possible create separate partitions for those, with atime enabled.

      Regards,
      --
      *Art

    3. Re:ReiserFS and laptops by Utoxin · · Score: 3, Informative

      atime is necessary for one major component of a lot of websites: The PHP Session files.

      The default PHP session handler uses the atime of the files to expire them properly. If they don't have atime, they get expired prematurely. (I think... It's been a while since I made the mistake of noatime on the partition that holds the session files.)

      My solution to this is to use noatime everywhere except the /tmp partition. I also use notail on the /tmp partition, and anywhere that has frequent file IO.

      --
      Matthew Walker
      http://www.tweeterdiet.com/ - My Diet Tracking Tool
    4. Re:ReiserFS and laptops by vofka · · Score: 2, Informative

      Wait until one of your boxes gets r00ted, and you (or some other poor soul dealing with one of your mangled boxes) need to do some fairly in-depth forensic analysis on the box to work out exactly what was happening, to what file, in what order.

      The Access Time attribute can yield some useful clues to what was going on during an attack when you are doing a forensic analysis. Sure, there are plenty of other things to look at before you get that deep into things, but it's still useful to have sometimes!

      --
      Disclaimer: I meant what I thought, not what I wrote! What? You can't read my Mind? Oh dear!
    5. Re:ReiserFS and laptops by Lukey+Boy · · Score: 1

      Wow, three replies with good points. Again, I've never found a worthwhile reason for me to activate it - luckily I've yet to have a box r00ted (knock on wood).

    6. Re:ReiserFS and laptops by SwellJoe · · Score: 1

      atime can be quite useful for caches, like client and proxy web caches

      Ummm, no. The most popular web proxy cache (Squid) benefits from having atime disabled, on any filesystem. atime is just not enough information to make expiry decisions, so proxy caches keep their own expiry data and have no use for file system atime.

    7. Re:ReiserFS and laptops by Anonymous Coward · · Score: 0

      Of course it's better to have your box secured in the first place (run secure software), instead of wasting your time on forensic analysis later.

    8. Re:ReiserFS and laptops by Jonner · · Score: 1

      Ha, you and your puny notail on /tmp. I just use tmpfs (with max size 300M). It has tmp in the name, right?

    9. Re:ReiserFS and laptops by Jonner · · Score: 1

      I had the same problem with Ext2, so it may not have to do with a specific filesystem.

    10. Re:ReiserFS and laptops by Utoxin · · Score: 1

      I may do that eventually, but it's low on my list, behind getting a /real/ backup system written. My boss has finally put out the money for a complete backup server with a nice tape drive and a DVD burner, so I can finally make our data truly secure.

      --
      Matthew Walker
      http://www.tweeterdiet.com/ - My Diet Tracking Tool
    11. Re:ReiserFS and laptops by Jonner · · Score: 1

      You make it sound like it's a major project. Here's my fstab line:

      tmpfs /tmp tmpfs size=300m 0 0

      That's all there is to it.

    12. Re:ReiserFS and laptops by Utoxin · · Score: 1

      Yeah, but to do it gracefully on a production server takes a little more time than just modifying a line in fstab. ;)

      Never fear, it will get done, but it's not a high priority, like I already said. Perfecting the backup system /is/, so we don't have a major disaster like we did a month or 2 ago when 3 drives in our RAID array died, and took all our client websites with them.

      --
      Matthew Walker
      http://www.tweeterdiet.com/ - My Diet Tracking Tool
    13. Re:ReiserFS and laptops by Jonner · · Score: 1

      I guess I made the mistake of assuming that you were talking about a single user machine, since this thread claims to be about laptops. I can certainly understand the need for caution on a production server with many users.

    14. Re:ReiserFS and laptops by Utoxin · · Score: 1

      That is an understandable mistake. Now, back to work. ;)

      --
      Matthew Walker
      http://www.tweeterdiet.com/ - My Diet Tracking Tool
    15. Re:ReiserFS and laptops by Anonymous Coward · · Score: 0

      But, given that software is seldom perfectly secure, it's best to do BOTH - make a best effort to secure your system, and analyse how your security failed when it does.

      N

    16. Re:ReiserFS and laptops by arth1 · · Score: 1

      There's other "client and proxy web caches" besides squid. ns-proxy uses as one of the two expiry methods an external LRU expiry task that deletes based on atime. Some web clients also delete entries from their cache based on atime.

      This becomes an interesting problem if you use a backup program that doesn't preserve the atime, either because of the program or OS restrictions.
      In this case, files get new atime stamps on a regular basis, and the main reason backup programs exclude caches is just for this reason -- not so much to save backup time by excluding "unnecessary" data, but to prevent problems for caches that rely on the access time being correct.

      The problem exists with virus scanners and other tools that scan indiscriminately.

      Regards,
      --
      *Art

  8. Reiser4 by $alex_n42 · · Score: 1

    How's reiser4 shaping up these days?

    1. Re:Reiser4 by Wolfrider · · Score: 2

      --Hans, why does the ' mkreiserfs ' program not have a switch to check for badblocks? Also, what does reiserfs *do* if a block goes bad or a reiserfs system is created on a device with bad blocks?

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  9. Guideposts? by TopShelf · · Score: 4, Interesting

    Having obtained financing for the project, how does that impact the future direction of development? How do you balance the interests of developers, users and sponsors to choose which updates to pursue?

    --
    Stop by my site where I write about ERP systems & more
    1. Re:Guideposts? by Anonymous Coward · · Score: 0

      Thats easy. Anyone who pays him gets their advert printk()'d from the module init function. Everyone else can just fuck off!

  10. So here we go ... by SuperDuG · · Score: 4, Interesting
    As an opensource programmer and a rather large figure in the opensource community...

    You've probably noticed that there are quite a few journaling file systems for Linux and other Open/Free/Unixie operating systems that are fairly open or completely open source. Have you ever thought about getting together and making "THE" journaling filesystem for these free OS's? I know that open source is all about choice, but as you probably also know there are certain things EXT3, XSF, etc. can do that ReiserFS cannot. If their could be a hybrid made from the big journaling filesystems would you be part of it?

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
  11. Another reiser4 by $alex_n42 · · Score: 2, Interesting

    Once Reiser4 comes out, should I switch or just stick to ReiserFS? Why, why not and so forth?

    1. Re:Another reiser4 by Wolfrider · · Score: 2, Informative

      --Reiser4 was planned from the ground up to surpass v3. One of its features is delayed block allocation until write-to-disk, which is expected to make the whole filesystem much more efficient. They will also be making the size of the journal smaller, which should finally enable me to start using Reiserfs on 100-Meg Zip disks. :)

      --Hans has said in the past that he believes filesystems should be re-written from scratch every few years, so they can take advantage of algorithm improvements and new concepts. He's making good on his word. The V4 whitepaper ( http://www.namesys.com/v4/v4.html ) is an interesting read, especially if you're into/understand database design.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  12. Hash collisions by gazbo · · Score: 5, Interesting
    It is fairly well known that on a large filesystem the probability of a hash collision becomes unavoidable, and in ReiserFS that results in data-loss as the original data is overwritten.

    Although its speed and (otherwise) good level of data integrity is of great interest to my employers, before I can recommend it to such a large company, I would like to know how and when you intend to put in a fix.

    1. Re:Hash collisions by Troed · · Score: 1, Interesting
      It's also very well known that before you see a hash collision in a cryptographically sound 128-bit HASH-method (or why not 160) the universe will have ceased to exist.

      Do the math.


      (Note: I'm strictly speaking about hash methods in general, I haven't looked up the strength nor size of the one used in ReiserFS)

    2. Re:Hash collisions by Anonymous Coward · · Score: 2, Insightful

      Uh, I'm not sure you want to ask a question on which your boss's decision or your job depends in a Slashdot interview thread...

    3. Re:Hash collisions by scrytch · · Score: 1

      Good god, is this truly the case? I don't think I'd trust the filesystem even after this bug was fixed ... who knows what one could lose -- invisibly, allowing backups to become corrupted if they're not verified against each other -- due to some other cavalier mistreatment of precious data.

      Maybe this is why data like prescriptions shouldn't be stored in a filesystem. And I was just starting to think that filesystems were starting to get to the point where that attitude should be revisited. Maybe with XFS, but if this is true, then certainly not reiser.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    4. Re:Hash collisions by gazbo · · Score: 2, Informative
      Statistics not your strong point? By your reckoning lightning should never ever strike anywhere because the probability of it striking anywhere is so slim.

      The tricky thing about solving the hash problem (in cryptography) is finding a value that when hashed matches a given string. Here, we are saying that given several hundred thousand keys, what is the probability that any two of them hash to the same value.

      The probability is far enough from zero to be a significant danger. Just because hashtables and one-way encryption both use the hashing algorithms does not mean that you can use the same figures.

    5. Re:Hash collisions by _xeno_ · · Score: 1
      Yes: What are the specs for ReiserFS: maximum number of files, of files a directory can have, of sub-dirs in a dir, of links to a file, maximum file size, maximum filesystem size, etc.?

      Scroll down are you should see the following:

      However, in practice it [the maximum number of files] depends upon the context.
      - for an r5 hash, when the number of files > 1 million the hash collision rate is so high that it is impossible to reliably create more files.
      - for a tea hash, although file creation is roughly an order of magnitude slower than for r5, the collision rate can be dismissed.

      Yes, ReiserFS makes no attempt at preventing hash collisions. This fact, along with the "no bad block testing" policy, has kept me using EXT3.

      (And for whoever looks in my back posts and points out I use Windows, I do have a Linux server which uses EXT3 partly because of the hash collision problem but mostly because of the fact that ReiserFS has no provisions for working around bad blocks. Stupid Maxtor.)

      --
      You are in a maze of twisty little relative jumps, all alike.
    6. Re:Hash collisions by Anonymous Coward · · Score: 1, Insightful

      A built-in chance to lose data?! Mindboggling. Absolutely retarded. And I had this impression that Hans Reiser was actually a smart hacker. Well, thanks for the information anyhow.

    7. Re:Hash collisions by Anonymous Coward · · Score: 0

      He's asking the DEVELOPER of the software, you moron! WHO better to ask? When you ask questions about commercial software, you usually get a generic response from the PR/Marketing dept instead. This is far better.

    8. Re:Hash collisions by Troed · · Score: 2

      My suggestion still stands - why you're modded informative I can't understand.

      Here, we are saying that given several hundred thousand keys, what is the probability that any two of them hash to the same value.

      Low enough.

    9. Re:Hash collisions by Q+Who · · Score: 2, Informative

      ReiserFS doesn't use cryptographic hash by default.

      Get a clue before you post irrelevant (and incorrect) information.

    10. Re:Hash collisions by Anonymous Coward · · Score: 0

      A number of collisions is handled gracefully. ISTR 255 per hash. And AFAIR every directory has its own hashes.

      When you try to create file no 256 with the same hash in that same directory, an EHASH error occurs. Stupid unnecessary error, but no data loss.

      I wonder if this hasn't been worked around somehow. I'd use file no 255 to point to a continuation of the directory or something.

      Try using Rupasov hash when newFSing to encounter this problem - it uses only so many chars of the beginning of the file name.

      Thomas

    11. Re:Hash collisions by Anonymous Coward · · Score: 0

      With 1E15 files with a random distributed hashes, cryptographic or not, the probability of two files having the same 128 bit hash is about 1E-9. Low enough for you? Probably

    12. Re:Hash collisions by ketilf · · Score: 1

      I thought that if you got a hash collision, you got EEXIST, not a blind overwrite... But it's been a while since I looked at this, so I'm a bit rusty. Who wants to actually check?

    13. Re:Hash collisions by Q+Who · · Score: 1

      Why do you morons continue to post? Go get a clue.

    14. Re:Hash collisions by Troed · · Score: 1

      ... and that's why I, clearly, pointed out that I talked about cryptographic hashes in general and not about ReiserFS.

      Read the post before you reply to it :)

    15. Re:Hash collisions by MikeFM · · Score: 1

      This isn't exactly true. I have millions of files in a ReiserFS partition and none of them have ever been lost or damaged. You can have collisions but nothing is lost. To avoid this problem (and increase performance) don't put all the files in one directory. Instead of a million files in /storage try /storage/FE/DC/BA/filename and so on. I make an effort never to put about 1000 files/subdirectories in a directory. The 256 you get from using 00-FF (in hex) works out rather well. You'll get a lot better performance from any filesystem that way (at least the ones I've ever tried).

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  13. Re:troll by Anonymous Coward · · Score: 0
    Moderators are on crack again.

  14. Comment removed by account_deleted · · Score: 5, Interesting

    Comment removed based on user account deletion

  15. Simple question. by Krapangor · · Score: 1

    Is it save to ditch EXT3 in favour of ReiserFS ?

    --
    Owner of a Mensa membership card.
  16. Why did you bother? by BeowulfSchaeffer · · Score: 5, Interesting

    What was so lacking in other file systems that you felt compelled to write your own? How do you think yours compares with the others?

    1. Re:Why did you bother? by Anonymous Coward · · Score: 0

      He couldn't attach his own name to another filesystem and sell advertising space in the Linux kernel with ext3, so he had to write his own.

    2. Re:Why did you bother? by Deth_Master · · Score: 1
      Forgive me for karma whoring, but the three reasons to your question are on the main page for reiserFS

      and for those that don't feel like clicking to read a few paragraphs (like you'd read them anyway :P)
      Three reasons why ReiserFS is great for you:
      ReiserFS has fast journaling, which means that you don't spend your life waiting for fsck every time your laptop battery dies, or the UPS for your mission critical server gets its batteries disconnected accidentally by the UPS company's service crew, or your kernel was not as ready for prime time as you hoped, or the silly thing decides you mounted it too many times today.

      ReiserFS is based on fast balanced trees. Balanced trees are more robust in their performance, and are a more sophisticated algorithmic foundation for a filesystem. When we started our project, there was a consensus in the industry that balanced trees were too slow for filesystem usage patterns. We proved that if you just do them right they are better. We have fewer worst case performance scenarios than other filesystems and generally better overall performance. If you put 100,000 files in one directory, we think its fine; many other filesystems try to tell you that you are wrong to want to do it.

      ReiserFS is more space efficient. If you write 100 byte files, we pack many of them into one block. Other filesystems put each of them into their own block. We don't have fixed space allocation for inodes. That saves 6% of your disk.

      Ok, it's time to fess up. The interesting stuff is still in the future. Because they are nifty, we are going to add database and hypertext like features into the filesystem. Only by using balanced trees, with their effective handling of small files (database small fields, hypertext keywords), as our technical foundation can we hope to do this. That was our real motivation. As for performance, we may already be slightly better than the traditional filesystems (and substantially better than the journaling ones). But they have been tweaking for decades, while we have just got started. This means that over the next few years we are going to improve faster than they are.

      Speaking more technically:
      ReiserFS is a filesystem using a plug-in based object oriented variant on classical balanced tree algorithms. The results when compared to the ext2fs conventional block allocation based filesystem, running under the same operating system and employing the same buffering code, suggest that these algorithms are overall more efficient and every passing month are becoming yet more so. Loosely speaking, every month we find another performance cranny that needs work; we fix it. And every month we find some way of improving our overall general usage performance.

      The improvement in small file space and time performance suggests that we may now revisit a common OS design assumption that one should aggregate small objects using layers above the filesystem layer. Being more effective at small files does not make us less effective for other files. This is truly a general purpose FS. Our overall traditional FS usage performance is high enough to establish that. ReiserFS has a commitment to opening up the FS design to contributions; we are now adding plug-ins so that you can create your own types of directories and files.
      --
      find ~your -name '*base* | xargs chown :us
  17. Does Reiser4 have a chance merging into 2.6? by Xpilot · · Score: 5, Interesting

    I've been a fan of Reiserfs ever since I started using it, and I've been very impressed by its speed. I'm really anticipating Reiser4, and I hope it'll get merged into 2.6. However the last I heard about this is that Linus hasn't read your docs yet, and the status page on kernelnewbies shows Reiser4 to be "pending". Can you give us any insight on what's going on?

    --
    "Backups are for wimps. Real men upload their data to an FTP site and have everyone else mirror it." -- Linus Torvalds
    1. Re:Does Reiser4 have a chance merging into 2.6? by ttfkam · · Score: 1

      I would assume only if the Linux kernel is delayed for a very long time. Once Reiser4 is released, I'm sure there will be a shakedown period as more and more people use it and find bugs. This is the case with any complex piece of software. Reiser4 is quite different from Reiser3. It won't be a simple drop-in replacement. I wouldn't bet on it for 2.6, but maybe 2.6.4? Of course this is assuming that the release date for Reiser4 isn't pushed back again (it used to be Dec. 2002).

      I would imagine that the filesystem plugins in Reiser4 are enough to warrant some extra head scratching with regard to its utility for kernel developers as well as application developers.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    2. Re:Does Reiser4 have a chance merging into 2.6? by Anonymous Coward · · Score: 0

      Last time I looked, reiser4 had a mondo-multiplexed, interpreter syscall. None of those have been accepted recently, and the existing ones are being picked apart and replaced. The odds of this one getting in are about nil.

      If they want it in, they need to do the hard part of splitting up the syscall. This will require something like a phase-tree algorithm, and that will be rather difficult. IIRC, it's on their very long list of things to do. Don't hold your breath about reiser4 getting into the kernel soon...

  18. Future of File Systems by Simon · · Score: 5, Interesting
    Mr Reiser,

    Can you clarify your long term goals with respect to ReiserFS and file system design in geek lay man's terms?

    I'm refering to your Future Vision paper in particular. How would this kind of system be used on a day to day basis?

    Right now any mention here of adding database like functionality to a file system is met with crude comments about SQL... Some explaination would really help.

    cheers,

    --
    Simon

    1. Re:Future of File Systems by alext · · Score: 1

      And of course Windows FS is on the horizon so database-backed file systems might get popular.

      How about merging Reiser with PostgreSQL? ;-)

    2. Re:Future of File Systems by ttfkam · · Score: 1

      The filesystem isn't a relational database. There are efforts to include more metadata and custom file handling, but it's not one-to-one.

      A database that uses (requires?) the new features of Reiser4 as a base would definitely be interesting though.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
    3. Re:Future of File Systems by alext · · Score: 1
      You mean ReiserFS isn't an RDB? I have divined that this is currently the case, but thank you for the clarification.

      My interest is in the FS developing more DB-like features:
      • versioning
      • multiple namespaces
      • transactions
      • datatype awareness ("metadata")
      I think we can agree that a full-blown RDB isn't really on the cards yet.

  19. Undelete by Anonymous Coward · · Score: 2, Interesting

    When will reiserfs have undelete facility (a la) debugfs for ext2/3?

  20. Database-like features by drinkypoo · · Score: 5, Interesting

    As I understand, what ReiserFS offers that "enterprise-class" journaling filesystems like JFS and XFS don't is the ability to treat the filesystem more like a database and less like a tree, but I haven't really heard of anyone getting serious about using this functionality. Why did you bother to add it, who do you think will get the most use out of it, and how would you promote it, given the chance?

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:Database-like features by horace · · Score: 1

      How do these database like features relate to what Microsoft is supposed to be doing with Longhorn? Is it likely/possible/desirable to adapt an existing database like MySql/PostGreSQL/Oracle to provide full ddatabase functionality on top of your system?
      Are there likely to be any XML tools that exploit richer file systems?

    2. Re:Database-like features by non-poster · · Score: 1

      I don't know how serious it is, but check out squidng. Supposedly, it uses some kind of raw interface into reiserfs to keep the files for really fast lookups, etc.

  21. Reiserfs vs. ext3 by Rosco+P.+Coltrane · · Score: 4, Interesting

    I've used reiserfs for years and was always very satisfied with its performance and stability. Recently, I convinced myself that ext3 had gotten as stable as reiserfs. So I switched to ext3, mainly because I ext3 == ext2 + journal, so should the need arise, I can mount my ext3 partition as an ext2 one. I haven't run any test on my new ext3 partition, but they look like they're doing okay and ext3 behaves well in case of a crash.

    So fo me, today, in terms of usability ext3 == reiserfs + ext2 backward compatibility. As much as I hate to admit it, I have now given up on reiserfs.

    So my questions are : can you compare reiserfs and ext3 in terms of performance and reliability, i.e. are there good reasons to keep using reiserfs ? Do you think ext3 might become the de-facto standard for Linux journaling filesystems ? How would you feel about it, after all the work you've done on reiserfs ? :-)

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:Reiserfs vs. ext3 by MikeFM · · Score: 1

      Ext3 is slower and wastes more space than ReiserFS. It also can't support as big of files but that isn't likely to be a problem for you. :)

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  22. Is it safe? by burgburgburg · · Score: 2, Funny
    Is what safe?

    Let me have a look at that tooth. Oh, you've got a cavity. Here let me ...

    Aaaaaghhhhhh!!!!!!!

    Now, is it safe?

  23. Versioning by tjansen · · Score: 5, Interesting

    Beside the finding and organizing files, the biggest problem for desktop users today is probably that changes on the file system are not recoverable. It is easy to accidentally overwrite a file and lose your work, and the only only sane way to solve these kinds of problems would be to make it possible to revert changes.

    Several research systems have been created, like the Elephant File System, but none of them made it into the mainstream free and commercial operating systems. Are there any specific reasons why nobody offers recovery (high complexity in implementation, very bad effect on performance, etc) or is it just because FS designers don't see the need for it?

    1. Re:Versioning by Sunda666 · · Score: 1

      the ancient VMS filesystem from the 80s (or is it 70s?) has a pretty smart and simple way to accomplish this: file versioning. Works like this: every time you save a file, instead of overwriting the old one, a new one is created, and the others are renamed like this: foo.txt;1 foo.txt;2 foo.txt;3... The number of versions the filesystem keeps is configurable per directory/file. Very good for a bunch of seventies programmers, eh? I wonder why no fscking UNIX filesystem that I know of offers something like this.

      cheers.

      --


      ``If a program can't rewrite its own code, what good is it?'' - Mel
  24. Re:debian-devel by Anonymous Coward · · Score: 0

    duh, the same reason all the gpl-geeks rag on a project that is closed source that uses gpl code.

  25. speed with many many small files by donkiemaster · · Score: 5, Interesting

    We ran reiserfs for a short period a few years ago because we were saving data to 10's of millions of small files, and reiser seemed like a perfect fit. We had to stop however because as we added more and more files, disk access slowed down more and more. It eventually became almost unusable and we had to switch back to ext2. How much faster is it now than it was then? Have you completely solved this problem?

    1. Re:speed with many many small files by Anonymous Coward · · Score: 0

      How much faster is it now than it was then? Its about this much faster.

    2. Re:speed with many many small files by Anonymous Coward · · Score: 0

      Cmon mods, don't feed the trolls.

  26. 3 Questions for Open Source Project Management by Dominic465 · · Score: 5, Interesting

    (1) Software project management techniques seem to vary by discipline. Some groups follow the traditional âoewaterfallâ(TM) model others follow Rapid Programming models â" Do you try to follow a particular style? (2) Classic project management spends a lot of time accounting for resources. I can imagine that an open source project has people signing-on and dropping off. How did you keep assignments & scheduling under control? (3) Have you come up with any tips or tricks that work for managing your project that might be useful to other software development Project Managers?

  27. Re:debian-devel by mark_lybarger · · Score: 1

    way to grab an old smelly sock out of the closet, trouble is, the sock isn't so old or smelly. To me, Hans seemed rather civil in his approach of this matter. I didn't notice any direct name calling either. only a rather thoughtfull comparision of Debian's disregard to the software author's copyright violation. Hans original email was direct and to the point. "Hey guys, give credit where credit is due, don't change MY license", even other debian-devel users resort to more childish flaimbaitish type communication in this thread than Hans.

  28. my question... by Anonymous Coward · · Score: 0

    Does ReiserFS work with native RAID and/or NFS ? Last I checked there were some issues... For me these are crucial "features", the only other FS which has these problems and claims to be "production quality" is NWFS.

    Personally I dislike FSs which introduce their own concepts rather than reusing or extending existing ones. Once these "kludges" are in the kernel, they are very very hard to change or remove them. If every journalling FS brings it's own VFS-extensions (-interpretations ?), I think its impossible.

    1. Re:my question... by Anonymous Coward · · Score: 0

      Does ReiserFS work with native RAID and/or NFS ? Last I checked there were some issues..

      When was "last you checked"?

      I've been using ReiserFS with both RAID and NFS for a couple of years, with no issues at all.

  29. Early OSS Project Management mistakes by Anonymous Coward · · Score: 0

    As you were starting the ReiserFS project, what were some of your early mistakes, how did they impact the project, and how would you change things in hindsight, if you had it all to do over again?

  30. Filesystems and metadata by androse · · Score: 5, Interesting

    In your Future Vision white paper, last modified in January 2001, you outline several very interesting ideas about metadata.

    Several developements have taken place since : the extensible attributes of BeFS has been burried with BeOS, the database-like metadata of Longhorn (aka Yukon) may actually be a separate layer from the filesystem altogether, and Apple is also moving all metadata out of the filesystem to XML files shared between applications (see iLife package).

    My question : What is your current take on the metadata debate ? Do you still think the filesystem is the right place to handle metadata ? Any predictions ?

    1. Re:Filesystems and metadata by TheZapman · · Score: 0

      Oooh, moderate this guy up. It's a question I definately want to see the answer to.

    2. Re:Filesystems and metadata by Anonymous Coward · · Score: 0

      My question : What is your current take on the metadata debate ? Do you still think the filesystem is the right place to handle metadata ? Any predictions ?

      He does. That's why ReiserFS 4 efficiently supports files of any size (including really small files). That's why ReiserFS 4 stores all of what are attributes in other file systems (ACL's, permissions, file access times) as files (it can do this because all files are directories also). That way metadata goes right into the filesystem. It's brilliant, I must say.

    3. Re:Filesystems and metadata by Anonymous Coward · · Score: 0

      I suspected somthing like that, being too lazy
      to rtfm. So a file is really file/bytes and its
      dates are file/?date and acls are file/acls. Wow!
      Sort of "multi-dimensional" files, that some
      think are only possible with non-POSIX file
      systems (ntfs, IBM's SANs, etc.).

      I wish I could ask Hans to clarify, why samba
      team doesn't make better use of reiserfs, but
      I'm just an Anonymous Coward.

  31. BSD by emil · · Score: 0

    While there has been some activity on journaling filesystems for the BSDs, they have none in production. While many in the BSD community might argue that "soft updates" fill all their journaling needs, others disagree.

    For the BSDs, I would like to see:

    • dynamic inode creation
    • optional journaling of data as well as metadata

    Why do you think that developers are hesitant to introduce these features to BSD? Is it because of licensing issues?

    1. Re:BSD by Anonymous Coward · · Score: 0

      No, the BSD'ers have a bad case of the "not invented here"'s. While Linux users are fine incoporating the best technologies available, FreeBSD users shun anything not developed specifically in the community. Sad but true.

  32. Snapshots? by afidel · · Score: 4, Interesting

    As a leading expert on linux filesystems I was wondering whether you were aware of any snapshot implementations for linux similar to those found in Network Appliance filers. Since working in a shop that used Netapp's I have always found myself wishing for the admin time saving feature of snapshots without the high cost of a filer. Veritas's snapshoting is whole volume only as are the other solutions I have seen outside of Netapp, is this a technical hurdle that no one else has been able to jump or is it a patent issue? Thanks for your time.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    1. Re:Snapshots? by tww-china · · Score: 1

      http://sourcefrog.net/projects/snapfs/

    2. Re:Snapshots? by afidel · · Score: 1

      they never released source and the project is officially dead from a posting by one of the authors.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    3. Re:Snapshots? by Spacelord · · Score: 2, Interesting

      LVM has snapshot capabilities built in, independent of the filesystem (as it should be!).

      I haven't used it in a production environment yet, but I've experimented with it and it seemed to work well.

    4. Re:Snapshots? by FattMattP · · Score: 1

      LVM does what you want.

      --
      Prevent email address forgery. Publish SPF records for y
    5. Re:Snapshots? by afidel · · Score: 1

      LVM snapshotting is whole volume and has additional problems, like if you run out of space in the new temporary location for the live system all updates since the snapshot are lost. NetApp's snapshots are so powerfull because you can have multiple levels of them (we used to use hourly going back 12 hours to cover the whole business day + leniency for early/late worker, daily going back a week, weekly taken every friday, and monthly taken mid month.) and other than potentially running out of filesystem space they had no impact on the live filesystem. From what I've seen there was an attempt at true netapp style snapshotting on linux called snapfs, but it has been dumped and the project basically pulled from sourceforge. There is also a commercial product out there that uses some limited form of snapshotting to turn any x86 pc into a linux based appliance, but it supports a max of 8 snapshots and runs $1100.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    6. Re:Snapshots? by chefbimbo · · Score: 1

      FreeBSD 5 can take up to 20 snapshots.

    7. Re:Snapshots? by Spacelord · · Score: 1

      like if you run out of space in the new temporary location for the live system all updates since the snapshot are lost

      This is not true. If the snapshot logical volume becomes full, you lose that particular snapshot but, heaven forbid, not the live filesystem!

      In any case, I'd prefer losing a snapshot over a live filesystem running out of space. You're supposed to backup the snapshot to a more permanent location asap anyway. (to tape for instance)

    8. Re:Snapshots? by Anonymous Coward · · Score: 0

      There was some loose talk about a tape plug-in
      also as a versioning extension for reiserfs.
      Will any of that materialize in the near future?

    9. Re:Snapshots? by dotstar · · Score: 1

      Actually, Veritas File system includes a point-in-time snapshot which isn't whole-volume. This functionality was included the first time I learned of the product - which was about 1998. I do not think this is a technical or a patent issue.

  33. When do you expect it to be released? by Drinian · · Score: 2, Informative
    From the front page of the website:

    "Reiser4 is due June 30, 2003!"

  34. reiser4 plugins by i_am_pi · · Score: 5, Interesting

    Will dynamically-loadable filesystem plugins be feasible, or practical? What scope will the plugins have? Encryption/decryption is obvious, but what about more interesting things, like scan-on-access Antivirus, or perhaps a mail spool could be mounted with some kind of spamassassin plugin.

    1. Re:reiser4 plugins by TCM · · Score: 1

      compression comes to mind as well

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:reiser4 plugins by Zork+the+Almighty · · Score: 1

      How about a remote syncronization plugin ?

      --

      In Soviet America the banks rob you!
  35. A question that's interested me for some time… by shic · · Score: 5, Interesting
    I've often wondered about the most effective ways to lay-out files on a block device. While there are many obvious solutions, it seems, to my mind at least, a hard problem to determine an optimal solution. Assuming file-system goals include:
    • Minimizing Inner/Outer fragmentation
    • Maximising locality of reference
    • Minimizing the cost of file extension
    I'd like to know how Reiser FS approached these conflicting goals. Has Reiser FS used any mathematical models to evaluate long-term stability/performance?
  36. Double-edged sword of DARPA Funding by landoltjp · · Score: 3, Interesting

    Given the problems encountered by Mark West when DARPA pulled its funding on the OpenBSD project, are you concerned about what strings may be attached to such funding for ReiserFS, be they implied or explicit?

    1. Re:Double-edged sword of DARPA Funding by sirgoran · · Score: 1

      You might even add this:

      Do you feel any concern that when using DARPA money that your work may end up being used for Closed Source/military uses reather than Open Source/peacful uses?

      --
      Carpe Scrotum - The only way to deal with your competition.
    2. Re:Double-edged sword of DARPA Funding by landoltjp · · Score: 1

      Your statement could be read as a premise; "Closed Source is to Military Uses as Open Source is to Peaceful uses". While those within (and peripheral to) the Open Source community would like to hold on to the rather lofty notion that Open Source work will be used "only for good", that cannot be said with any degreee of certainty.

      And although I might appear naive in saying this, just because DARPA may internalize some of the results into "Closed source", it won't nessesarily be used for military purposes.

      Also, if the work is being done as part of an Open Source initiative, should not the open source community be able to verify that the code does not creep in to closed source DARPA projects? I feel a DARPA code review coming on! ;)

  37. Journalling everything by jsse · · Score: 1

    I'm very appreciated your effort in bring enterprise elements to Linux, it's people like you make Linux success nowaday. However, I see that you or your project team seems to push the journalling fs concept too far: from root to /usr, to any single partition in a system. May be I'm a bit old-school, but journalling fs should be used only on fs which require failover protection. It's a plain waste of resource to make, say, boot and /usr journalling, for example, as they are supposed to be running readonly in normal circumstance.

    Shouldn't you do something to educate people journalling is just part of the system and shouldn't be used for everything like Windows NT, and waste precious processing power?

    1. Re:Journalling everything by arth1 · · Score: 1

      It often makes sense to only use one file system -- both to ease troubleshooting, but also to be able to make a leaner, faster kernel by embedding (not as a module) just the file systems you use.
      That said, there's no apparent way to disable ext2 support without breaking everything else, so ext2 is a good candidate for /boot.

      As for /usr being read-only, that's a matter of preference, and there's plenty of programs that assume that /usr is writable -- /usr/cache, /usr/people (makes more sense than /home for NFS installations -- you do not want NFS mount points in root, for performance reasons), /usr/src, or even /usr/include for development systems that's often updated.

      Regards,
      --
      *Art

    2. Re:Journalling everything by alhaz · · Score: 1

      You misunderstand, and should have done some research. ReiserFS does not journal data, only metadata.

      From the faq:

      "As of now, ReiserFS only provides meta-data journaling--that is, it records which files have been created or opened, whether they have had their size changed, or where they have been relocated. It guarantees that the structure of the internal ReiserFS tree will be correct, thereby allowing you after an unclean shutdown to start back up without having to run fsck on all the files that have not been changed.

      Data in files that were being used at the time of the crash could have been corrupted. This is usual for most filesystems. Data journaling filesystems guarantee that there will be no garbage written into a file, but they don't guarantee that a file update will be. (Only reiser4 guarantees that filesystem operations are performed as atomic operations, and provides atomic transaction functionality.)"

      --
      This is just like television, only you can see much further.
    3. Re:Journalling everything by Anonymous Coward · · Score: 0

      Atomic may be a blessing, it may be a curse.
      If you delete a big file atomically, as reiserfs
      seems to be doing, all processes accessing that
      fs (e.g. try "ls" on it) may please prepare for a
      long wait until it's over. It's just about the
      only thing I didn't like about reiserfs - atomic
      deletions of huge files. Will there be an
      improvement/relaxed atomicity in 4?

    4. Re:Journalling everything by PapaZit · · Score: 1

      "precious processing power"?

      I've not encountered a machine in ages where the extra percentage of CPU or disk usage involved in journalling a normally read-only partition mattered much. Or, more accurately, when load matters, I either make the disk read-only (if things don't change) or journalling is even more important than usual (if things do change).

      If your disks are 99% full and journalling overhead matters, the solution isn't "turn off journalling", it's "buy a bigger disk". Same with CPU. Sure, there are quick tricks like "noatime" for heavily-used filesystems, but most of the time, spending money on people who will optimize the system is more expensive than just buying more hardware and making a bigger system.

      My question'd be "Why bother installing any FS that's not the default for your OS?" Unless the answer's "I'm doing something so specialized that the default FS won't work", you're probably doing something wrong.

      --
      Forward, retransmit, or republish anything I say here. Just don't misquote me.
  38. Honestly, What's Best? by jabbadabbadoo · · Score: 0, Offtopic

    Free Beer or Free Software?

  39. tune a ...? by Bobas · · Score: 0, Troll

    Hans. How come, with such a featurefull filesystem, I can't tune a fish? :)

  40. Re:ReiserFS was a nightmare and datatrasher ! by Anonymous Coward · · Score: 0

    Journaling filesystems don't guarantee data integrity, only filesystem integrity. There is no way to eliminate the potential for data loss on a hard power cycle. Read carefully: no way.

    What ReiserFS and other journaling filesystems to is attempt to minimize data loss while at the same time eliminating the potential for filesystem corruption (i.e. inconsistencies or errors in the structure of the disk which will lead to additional data loss as files are created, deleted, resized, etc.).

    Just because you haven't lost data yet with XFS doesn't mean you won't. If you keep hitting that power button instead of shutting down properly, just wait, you will.

  41. where next? by wfmcwalter · · Score: 5, Interesting
    Hans,

    Reiser FS is already a pretty mature, stable, usable product. Once V4 is done, is there really much work left to be done on ReiserFS proper? Do you have a giant to-do list that'll keep you and the guys occupied for years, or do you intent to work in a diffent direction (SAN, networkFS, databases, etc.)?

    (or perhaps you'll just retire to Portugal and play lots and lots of golf)

    --
    ## W.Finlay McWalter ## http://www.mcwalter.org ##
    1. Re:where next? by kinema · · Score: 1

      IIRC you (Hans Reiser) once said that once V4 was stable you could get on to the fun stuff. Namly designing plugins. What kind of plugins do you have in mind?

  42. Re:Large Vendor Support by HowlinMad · · Score: 1

    uhhhhh IBM has mainframe swith Linux right NOW!

  43. Re:ReiserFS was a nightmare and datatrasher ! by Anonymous Coward · · Score: 0

    Learn something about filesystems then come back talking with me.

  44. Re:debian-devel by astrashe · · Score: 2, Interesting

    I had the same reaction -- Reiser didn't seem so far out of line to me.

  45. Starting Large Free Software Projects by unsinged+int · · Score: 5, Interesting

    When you began a file system project as a free software project, you must have known that (assuming it worked) it had the potential to turn into a big project. How did you determine how long to work on it as your own project before making the first release? I imagine there must have been a strong temptation to just get it "out there" knowing its potential, yet certainly releasing too soon would make it look unprofessional and thrown together.

  46. Naming by sporty · · Score: 2, Interesting

    Obviously, you named ReiserFS after yourself. Why after yourself? Were there any runner-ups? What will happen when you create another great project? :)

    --

    -
    ping -f 255.255.255.255 # if only

    1. Re:Naming by Anonymous Coward · · Score: 0

      Obviously, you named ReiserFS after yourself. Why after yourself? Were there any runner-ups? What will happen when you create another great project? :)

      Why, the naming convention follows the characters that inspired your sig. If Batman had invented it, he'd call it the "Batfilesystem".

      I can picture it now... Robin says "holy inode screwups Batman, the Batfilesystem was corrupted by the Riddler!"

      Ah, but i degress...

    2. Re:Naming by Teancum · · Score: 1

      From my understanding of what happened, Hans Reiser has had some legal problems trying to prove ownership of a particular group of source code that he was involved with. Keep in mind that he is having to deal with intellectual property issues in both Russia and America. Not an easy task as they are two very different legal climates.

      I wish I had a couple of moderator points right now, because this is a really interesting question that has a much bigger answer than a simple egotistical reply. It is a story that needs to be told in its own right, and Hans also wants programmers to be noted for the work they've done like published authors (like Shakespear, Tolkein, Heinlein, or Asmiov) rather than the current anonymous programing that most software currently has (with a small credit on page 3... usually only on games or software where the manager actually cares.)

    3. Re:Naming by uhoreg · · Score: 2, Informative
      The information doesn't seem to be in the current kernel, but in an older patch (search for treefs):
      Two other former employees were involved who won't be getting credit here because they tried to kill the project at the end of it, and almost succeeded (they cost me maybe two years). They wanted to force me to sell it to the company they tried to start. They get to keep the money they got from me, and that is it. When their "VC" said that he could get a hundred researchers to swear in Russian Court that I had had nothing to do with the development of treefs, I changed the name to reiserfs and registered the copyright.
      --

      To get something done, a committee should consist of no more than three persons, two of them absent.

  47. parent is lame by Anonymous Coward · · Score: 0

    Come on, piggy-backing on a post that's been moderated up sucks. It's not like your question is at all related to the parent.

    1. Re:parent is lame by Dominic465 · · Score: 1

      Sorry - That was not my intent. I don't know how to start a new thread.

    2. Re:parent is lame by Chakde+Phate! · · Score: 1

      I don't know how to start a new thread.

      Just click the Reply button to the right of the dropdown boxes for changing display options -- between the article and the start of the comments.

    3. Re:parent is lame by IncohereD · · Score: 1

      And you're apparently also the reason they have to specify "one question per post" in every damn interview posting.

  48. Re:debian-devel by TedCheshireAcad · · Score: 2, Funny

    Is it just me, or does that thread remind anyone else of "CRIPPLE FIGHT!!"?

  49. Who invented journaling by Anonymous Coward · · Score: 0

    Who was it. Give us the name where you first saw it.

    Was it stroustrup? I don't thiiink soooooooo

  50. Re:ReiserFS was a nightmare and datatrasher ! by Anonymous Coward · · Score: 0

    You're insane. Just spend two seconds thinking about this:

    1) You open and read a file.
    2) You make changes to the data and write it back. Your changes data is cached.
    3) Between your data going into the writeback cache and the cache flusher writing it to disk, you hit the power button.

    Your data is gone. No filesystem can prevent that. All a journalling FS can do is ensure that the filesystem appears consistent E.g. if the file was partially written or deleted it can sync up its internal data into a sane state. It won't magically retrieve your data from the now-empty cache and write it to disk though.

  51. Raising Awareness by blinder · · Score: 4, Interesting

    One question I always have with regards to successful (meaning funded, wide acceptance, large user/developer community etc.) is how did you raise the awareness of your project to get it from just a side project to something that it is today?

    Did you use traditional PR techinques, or just through a community of connections?

  52. OpenBSD by chrysalis · · Score: 2, Interesting

    Is there any effort to port ReiserFS to *BSD systems?

    --
    {{.sig}}
    1. Re:OpenBSD by Anonymous Coward · · Score: 0

      I can answer this one for you. No. I'm sure all three OpenBSD users will protest bitterly, but tough luck.

    2. Re:OpenBSD by Tetra · · Score: 1

      OUCH! I'm the fourth user, and you forgot me!

      --
      Regards, tEtra
  53. A simple and obvious question. by @madeus · · Score: 4, Interesting

    Apologies in advanced for a simplistic and obvious question but...

    What's the best way to get funding for a project, assuming the project is at some sort of usable prototype stage already (i.e. who should you approach, what ground work should be done)? How should one court potential sponsors? Is it better to wait for them to come to you, or should you present a formal funding request in a format similar to that of a traditional business plan?

    1. Re:A simple and obvious question. by Anonymous Coward · · Score: 0

      Building on the previous question...

      Do you have sample proposals, business plans, or business insights that you can share with us?

      What were the major business/funding/management challenges to overcome to launch the project?

  54. Re:debian-devel by Erik+Hensema · · Score: 1

    While Reiser's posting was far from friendly, the only hostility and name-calling seems to come from debian developers.

    These things simply happen when ego's clash. Debian developers seem to have a collective huge ego, and Reiser has some prettig large ego by his own.

    Live with it. It helps you enjoy the wonderful filesystem called ReiserFS.

    --

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

  55. Trade offs by Anonymous Coward · · Score: 4, Interesting

    From what I have understood of file systems, data safety is priority number one. Considering that, are there any super speed algorithms you have dismissed because of "unsafe" behaviours?

  56. Re:ReiserFS was a nightmare and datatrasher ! by Anonymous Coward · · Score: 0

    > Your data is gone. No filesystem can prevent that.

    Well it can, it depends on the FileSystems you use. You remember the old FileSystems written around 198x they are all supposed to 'protect' the data rather than trashing them in such situations. ReiserFS has a lot of issues it even trash data which it hasn't even touched say I have XYZ app in /usr/local/bin which I have written 20 months ago and now I gonna reboot my system or hardreset it then please explain what reasons ReiserFS has to trash exactly the content of this file ? I would understand if cached files which are not written yet are lost or the last one it has accessed (opened and written) but not files that are there for various years.

    As you said correctly. When you open a file, and start to attempt writing it then I agree that when it's cached or not finished writing it that exactly THIS file is trashed. In worst case this means after a reset that only stuff that got last written should in worst case get trashed but not ancient things and that's exactly what ReiserFS did. Scroll up a few comments and read the stuff about HASH written by someone else. Such things shouldn't happen.

    There is a big difference of currently written stuff getting trashed and stuff 20 months old on my system getting trashed. A FileSystem shouldn't do these things.

  57. ReiserFS 4 vs. MS "SQL-FS" by Kernel+Corndog · · Score: 5, Interesting

    On the ReiserFS 4 page you say that the new filesystem uses algorithms allowing the FS to do transactions only databases could do previously. Do you envision ReiserFS 4 being something comparable to MS' "SQL-FS" plans in Longhorn? How would ReiserFS 4 affect regular (oracle, postresql, mysql) database projects/companies?

  58. Extended Attributes on Unix by Anonymous Coward · · Score: 5, Interesting

    Clearly Unix filesystems are moving in the direction of extended attributes. This isn't necessarily a smooth transition for Unix, where many utilities are modeled after streams of bytes.

    I personally have pondered about this a lot. What do you think needs to be adapted and why? Should the VFS be changed? Should traditional Unix tools like "cat" be adapted somehow, or given attribute-aware equivalents? Should file attributes be accessable at the file descriptor level? Will we need a new "tar"? What should be done to standardize these attributes, or make them compatible across filesystems?

    1. Re:Extended Attributes on Unix by evbergen · · Score: 1

      I personally think the simplest way to solve this in a unix-compatible way is to get rid of the distinction between subdirectories and files.

      You have streams, and you have named attributes. Of course, it must be possible to open such a node in two modes, one to read the main stream, and one to read it and the whole tree beneath it as a tar-like stream, but that's nothing a few O_* flags couldn't solve ;)

      It needs some work in the semantics area, but it probably needs the most work in the VFS layer.

      Is something like that feasible?

      --
      All generalizations are false, including this one. (Mark Twain)
  59. Unix filesystem layout by Erik+Hensema · · Score: 5, Interesting

    The directory layout of the typical unix filesystem has grown over the years to what has become the FHS 2.0.

    If you were in the position of designing an entirely new FHS, more suited to ReiserFS (lots of small files, database-like access, etc) and without backward compatibility, what would it look like?

    --

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

    1. Re:Unix filesystem layout by Anonymous Coward · · Score: 0

      Mod this up! This is a very good question.

  60. Name? by Anonymous Coward · · Score: 0

    Why did your parents name you Hans Reiser?
    Are you happy with that?

  61. Re:debian-devel by lspd · · Score: 1

    Hans original email was direct and to the point. "Hey guys, give credit where credit is due, don't change MY license"

    But the license he is using is the GPL. Hans wants to further restrict the GPL so that he can spam users of his filesystem with advertizements for his sponsors and company. Further, it seems that he's incredibly interested in making sure HE gets credit but doesn't really care for acknowledging the work of others.

    So my question is, if you don't like the way the GPL is worded and don't feel that it allows you to demand enough credit for your work, why in the world did you choose the GPL for a license?

  62. Rules of thumb by realnowhereman · · Score: 5, Interesting

    In your future visions paper early on you talk about Reiser's Rule of Thumb #2. However, I can't find Reiser's Rule of Thumb #1 -- what is it? Is it a secret? Does it contain the sum of all human knowledge?

    TELL ME!

    --
    Carpe Daemon
    1. Re:Rules of thumb by Kaladis+Nefarian · · Score: 1

      I AM ZIM!

      --
      * Several monkeys are here, playing banjos and wearing small hats.
    2. Re:Rules of thumb by Anonymous Coward · · Score: 0

      Older versions had an Information Diffusion Rule of Thumb which preceeded the rule of thumb #2.

      [2001 version from Internet Archive]

    3. Re:Rules of thumb by Monkelectric · · Score: 2, Funny

      Rule #1 is don't talk about rule #1.

      --

      Religion is a gateway psychosis. -- Dave Foley

  63. Other uses of Ext3 by Julian+Morrison · · Score: 1

    Ext3 deals in multiples of whole blocks, and its dir structure is simplistic. It's been my experience that this plays nicer with slow drives and crypto loop filesystems. ReiserFS by contrast tends to thrash around writing itty bitty pieces of files and metadata.

  64. Re:debian-devel by James_Duncan8181 · · Score: 1
    Did you read the whole thread?

    2 words - Bull, china.

    You don't just charge in with all-out accusations, you politely ask and see if something can be worked out.

    --
    "To any truly impartial person, it would be obvious that I am right."
  65. Bad block handling! by gilesjuk · · Score: 1, Interesting

    How about adding better methods for repairing partitions with bad blocks?

    I lost three partitions of data that were formatted with ReiserFS and I was unable to repair them. Creating an image of a partition is simply unacceptable IMHO as part of a data recovery process, suppose you have 600GB of data?

    1. Re:Bad block handling! by markrages · · Score: 2, Informative

      Here's something to try:

      This month, I had two disk-failure on a 1.0 TB software raid5 with ReiserFS.
      I was able to copy most of the data with dd_rescue and myrescue.
      By the time I was finished mucking around, I had dome mkraid -f several times, so there were spots of missing data on the disk. The filesystem would not mount. So I used resierfsck --rebuild-tree, and once it completed five days later, I was able to mount the filesystem, with most of the files intact.

  66. Actually: no... by morzel · · Score: 1
    You should read up on math and cryptography, and especially on the birthday paradox.

    --
    Okay... I'll do the stupid things first, then you shy people follow.
    [Zappa]
    1. Re:Actually: no... by mikeee · · Score: 1

      Birthday paradox or no, 128 bits is a darn big number. You're basically looking at

      Product (2^128-x)/(2^128) for X over [1..N].

      I don't trust my intuition on how big that is as N increases; what are the actual numbers?

    2. Re:Actually: no... by Q+Who · · Score: 1

      Birthday paradox means that you need to search 2^64 hashes to find a collision in 2^128 message space. Which in turn implies that you have no clue.

    3. Re:Actually: no... by Anonymous Coward · · Score: 0

      Yeah, and 2^64 is such a tiny number, am i rite?

  67. As a newbie by Alkivar · · Score: 3, Interesting

    this question is aimed at satisfying the linux newbie.

    What features do you feel are most important/would convince a newbie to make ReiserFS the system to use as compared to the many other alternatives (XFS,EXT3,etc...) out there?

    1. Re:As a newbie by Anonymous Coward · · Score: 0

      If you care about what filesystem to use you are not a newbie.

  68. Re:Reliability? by Anonymous Coward · · Score: 0

    who were the clueless retards that moderated this "interesting" ?!?!?!

    inquiring minds want to know.

  69. Re:debian-devel by sharkey · · Score: 1
    Debian developers seem to have a collective huge ego, and Reiser has some prettig large ego by his own.

    In the interest of accuracy, could you restate "huge" and "pretty large" in the current Proposed Standard of Ego Measurement?

    --

    --
    "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  70. Deadlocking? by IamTheRealMike · · Score: 5, Interesting

    I've spoken to a few people (not naming names) who appear convinced that the design of ReiserFS is fundamentally flawed, and that it would lead to inevitable deadlocking. I've read your white papers now several times (took me a while to figure them out), and think the work you're doing is great, but a few smart people seem to think it can't be trusted. How would you reassure those people that their data is safe?

  71. fighting the wrong battle? by Capablanca · · Score: 5, Interesting

    the redmond hegemony lost the internet protocol battle and decided to fight back with semantically rich but proprietary file systems (think 'halloween memo', 'longhorn', 'groove'). are you thinking about how to mutate ReiserFS to support arbitrary object attributes, full-text indexing, callbacks, namespace syntax for queries, etc?

  72. On being one of those "outspoken" people by salmo · · Score: 4, Interesting

    Mr. Reiser, first off I have no complaints about ReiserFS (which is a high compliment), I use it on almost all my machines, except a couple are running EXT3 because they're not heavily used and I'm lazy at times. But thats neither here nor there.

    You fall into an interesting subcategory of project managers or whatever you want to call them. I'll call it the "outspoken genius" category (even though the first word might be understated and the last is probably hyperbole). Basicly your work is technically interesting, applicable, etc. That's a give in. But there are quite a few people who have personal issues with you and your manner and usually cite some exchange or another. Sometimes this is the basis of an argument to reject the use of your work, which I think is somewhat silly. You're not the only one, and certainly not the first to be interviewed here.

    So what do you think about this? ie. Do you think you made interpersonal mistakes that landed you here or do you think you've been misunderstood? Does it bother you? Why do you think people enjoy egging on folks such as yourself and then citing the moment you get annoyed with them? Do you think this question ever has a prayer of being moderated higher than someone following the method of the previous question?

    Jeeze, I realize I just wrote an essay question in the style of one of my old Philosophy professors. You know the kind, here's a statement now write some stuff (I guess I'll give you a few ideas of where to go).

    1. Re:On being one of those "outspoken" people by Anonymous Coward · · Score: 0
      um, that's "a given", not "a give in"

      stand under?

  73. images of damaged partitions by Anonymous Coward · · Score: 0

    With broken ext3-partitions (the hard-disk could
    no longer access the first tenth of the disk), I've made good experices of copying the filesystem to a file with holes. I just changed the resize code of parted to not use the write functions but writing anything read at the proper position in a file. (and of course using a later superblock, as the first few was lost). Gave a nice 500 MB file of the 100 GB partition, which I could run fsck.ext2 over and had luck as no date was in the demaged area.

    Do not know, if this could easily be done with reiserfs. (Thats one of the advantages of ext3, it can be recovered like ext2 and there are many good tools and specialists for those out there)

  74. Research? The devil you say... by evilviper · · Score: 1
    and avoid questions that can be answered with a few minutes' worth of research

    That's awful big talk from a /. editor...
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  75. What's it like... by Anonymous Coward · · Score: 0

    What's it like to be the brother of the world-famous Paul Reiser?

  76. Reiser4 and Plug-Ins by yanestra · · Score: 1

    I have read that Reiser4 will allow plug-ins. Will more functionality wander into user-space and will that influence kernel stability?

  77. A darned effective troll... by SwellJoe · · Score: 1

    If I had moderator points, I'd mod this what it deserves, but I don't. So I will instead burn a little karma to point and laugh at the parent poster and the moderators who were befuddled enough to moderate this "Interesting".

    Look folks, if you want to waste your own time trolling, that's fine...but don't waste Hans' time on this drivel by moderating trolls up.

  78. Re:Reliability? by Anonymous Coward · · Score: 0

    What the hell are you doing, running 2.4.5 on PowerPC?

  79. How did you get the funding by josevnz · · Score: 3, Interesting

    I was wondering how complicated is to get funding for an Open Source project from big companies like IBM, SuSe or even RedHat. I mean, probably you have to create a "business plan" kind of document to explain why someone should invest money on your project, but what important things should be included as a part of such proposal? (or this is just a matter of have a proper "networking").

    Also, do you known if there is any company that dedicates itself to help Open Source projects, besides de FSF?

    Thanks in advance :)

    --
    Jose Vicente Nunez Zuleta RHCE, SJCD, SJCP
  80. Key of success by autocracy · · Score: 1
    I'm first off most impressed by all the funding you've drawn to support an open source project. If I had to draw an ideal for paid software creation, I'd say that comes quite close to it. However, since somebody else is going to have the question of how you did that selected, here are a few ones that I find more pertinenet to the project itself:

    Anecdotal stories of ReiserFS having issues with disappearing files have been very concerning. It is my understanding that the point of the journaling is basically to prevent this from happening (more elaborate I know, but I don't care to type lengthy right now). While I've been quite happy with using ReiserFS on some of my machines, even anecdotes of this happening leave me concerned there is too much risk. What's happening here, why, how will it be fixed? Is it something wrong with the filesystem / drivers or user implementation? Or can we deny it all at once and say somebody was doing something stupid? I believe in order for this project to be really successful despite its funding, it needs to get past these rumors.

    --
    SIG: HUP
    1. Re:Key of success by Jonner · · Score: 1

      Rumors only persist if people repeat them. If people are willing to believe them, no amount of facts will kill them. This is the nature of FUD. I've been using ReiserFS for all my main filesystems for at least a year and a half (probably more like two years). I may have had some weirdness a couple of times, but that was over a year ago. I wasn't even sure data was lost; I only saw some strange filenames. Complaints about stability should be backed by real data, not rumors.

    2. Re:Key of success by Harik · · Score: 1
      I lost 2 of 3 drives on a RAID array under ReiserFS. One was only partially damaged, so I moved it to another machine, copied the raw disk to another disk, and moved it back into the array. Obviously, the filesystem was completely trashed. (Multiple versions of on-disk data conflicting, etc)

      I ran the long reiserfsck "Find all blocks and attach them" and recovered pretty much all my files. It recovered quite a few deleted files as well. *POKE POKE HANS WHEN DO WE GET UNDELETE TOOLS?*

      Aside from oddly named directories, I got lucky on a recovery. Saved me hours of restore time. The underlying datastructure is incredibly resiliant.

      --Dan

  81. Here's my opinion why (No, not feeding the trolls) by dmelomed · · Score: 0

    ReiserFS does have a history of being unreliable. If you don't believe me, see their mailing list archives. Their stance on this was "tough, restore from the backup, what did you expect?"

    Not that anyone gives a damn, but if you look at ReiserFS, it's quite an ambitious project that's a constant moving target, with many developers, and a LOT of code for a file system. It also seems to me their goal is features first, everything else later. So that's your explanation for a poor stability record for a project like this.

    ReiserFS does have better performance with large directories, which is its main advantage over other file systems. Metadata journaling was added relatively recently. It's not as scalable in other uses, such as large files, which XFS was designed to handle very well. Ext2/3 is the choice right now for servers because it's relatively more reliable and stable, and simpler than the other two. With ReiserFS you often stumble into incompatibilities with other things in the kernel, such as NFS and LVM. Also, if you use ReiserFS some software which expects traditional FS semantics may require patching.

    On the other hand with traditional FSes, you may need to work around the "many files" problem by hashing.

  82. Distributed Filesystems by LarryRiedel · · Score: 2, Interesting

    Filesystems like Coda and InterMezzo, network RAID applications like ENBD/FR1 and DRBD, and filesystem synchronizers like Unison provide some partial solutions for the need to have a distributed filesystem with replication and disconnected operation. Do you think Reiser4 or its successor will provide features which make it easier to implement a robust usable distributed filesystem?

  83. So why's it called ReiserFS? by peterpi · · Score: 0, Redundant

    Just wondering.

  84. Re:Reliability? by Khazunga · · Score: 1
    Oh, I'm out of mod points, or I'd mod this down into oblivion. And I do hope the Interesting moderation goes through my meta-moderating hands.

    I've been reliably using ReiserFS on high-load mail servers for two years. No self-induced glitches here.

    --
    If at first you don't succeed, skydiving is not for you
  85. ego by Anonymous Coward · · Score: 0

    Don't you think it's a little egotistical to name the filesystem after yourself?

  86. DARPA & commercially driven practices. by Anonymous Coward · · Score: 0

    As there's the potential for DARPA funding, should I assume that you will not follow the anti-patriotic practices of your OSS peers, such as the bloke from OpenBSD? Also, most Linux kernel developers are clearly commercially driven (Torvalds, Cox, Miller, etc.). Are you planning to differentiate from them?

  87. version control in ReiserFS? by Maimun · · Score: 5, Interesting
    Hans,

    I recall a discussion at lkml about the licensing issues with bitkeeper. Someone said that the future versions of your FS will have some version control built-in, and thus be a sort-of competitor to Larry McVoy's bitkeeper. Larry's comment was that if that happens, then you have to buy bk in order to use it.

    You suggested that indeed version control is going to be in. Can you say more about these plans now, and the eventual conflict with bitkeeper.

    Thanks.

  88. "Standards" and tradition mindset? by dmelomed · · Score: 1

    Probably because even anyone proposing this in a Unix FS would get spit on. "Oh no, we're not conforming with POSIX!"; "Oh no, this is not the way Unix does it!"; "No, this just won't work with the rest of the kernel".

    VMS didn't have to go through the Unix interfighting and standards compliance (which are broken in many places anyway, and stifle innovation).

    1. Re:"Standards" and tradition mindset? by Sunda666 · · Score: 1

      Heh, true enough... but GNU is Not Unix and we don't see anything like this in the GNU realm either. This sucks, because it would be a pretty nice feature for some directories like the ones where you put your documents or quake 3 config files...

      cheers.

      --


      ``If a program can't rewrite its own code, what good is it?'' - Mel
    2. Re:"Standards" and tradition mindset? by dmelomed · · Score: 1

      If it were by me, and I'd write a new OS with the vast knowledge of what's wrong with Unix, and things like POSIX and GNU would be on the list of things NOT to be involved with.

    3. Re:"Standards" and tradition mindset? by Chainsaw · · Score: 1

      Case sensitivity in filenames. *shudder*

      This tiny little thing is bugging the hell out of me, actually. These days, you can afford to perform a case-insensitive comparsion of two UTF-8 strings instead of strncmp(). Even in Unix. Perhaps this should be the standard, and a special mount flag enables old-hat case sensitivity?

      --
      War is one of the most horrible things a human can be exposed to. And one of the worlds largest industries.
    4. Re:"Standards" and tradition mindset? by tjansen · · Score: 1

      Well, it's not by you :)

      POSIX is certainly not perfect, but it is such a nice, simple low-level interface and relatively easy to extend/fix that it is not useful to throw away all the knowledge and applications.

    5. Re:"Standards" and tradition mindset? by tjansen · · Score: 1

      Rather a per-application flag, because it may break applications that are not prepared for case-insensitivity. On the other hand, if the app knows about it there should not be any problem in enabling it (BTW a higher layer could do it as well).

    6. Re:"Standards" and tradition mindset? by dmelomed · · Score: 1

      > Well, it's not by you :)

      I hope not just yet.

      Why bring old cruft into brand new OSes, with better ideas about doing things? On the other hand if it's an exokernel OS, a Unix subsytem can be just yet another library. It's been done.

    7. Re:"Standards" and tradition mindset? by tjansen · · Score: 1

      Your exokernel also needs an API, a protocol or whatever you call it as a layer between the POSIX subsystem and its native implementation. You could as well implement POSIX (or a equivalent message protocol) as native interface...

      The nice thing about POSIX is that after 30 years there is not a significantly better alternative out there. You could make it more consistent here and there, you may be able to get rid of the old console stuff and you could certainly change a lot of the kernels internals (like the whole /dev thing which is suboptimal in a modern hotplugging-capable system), but that does not influence the API that much. There are some experiments with other concepts, and there are some system which are much more complicated without a significant advantage. But there's nothing out there where everybody would immediately agree that it's really better than POSIX.

    8. Re:"Standards" and tradition mindset? by dmelomed · · Score: 1

      > But there's nothing out there where everybody would immediately agree that it's really better than POSIX.

      I am sure POSIX and Unix and even maybe Windows experience is used to build better alternatives all the time, and people will agree they're better, but they still won't use them outside of small niches. I think Unix is too viral to compete with because "Worse is Better", plus the status quo effect.

    9. Re:"Standards" and tradition mindset? by tjansen · · Score: 1

      The status quo effect plus that there is no revolutionary improvement. There are evolutionary improvements, but they are not large enough to justify changing everything. That would be stupid, from an economically point of view. And since there has been no sufficient revolutionary improvement in the last 30 years, I would not expect one anytime soon.

    10. Re:"Standards" and tradition mindset? by dmelomed · · Score: 1

      You never know. Who expected Unix to be adapted at all?

    11. Re:"Standards" and tradition mindset? by MikeFM · · Score: 1

      If you can do it better then go for it! If we like your resulting product we'll use it.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    12. Re:"Standards" and tradition mindset? by MikeFM · · Score: 1

      If they were really better then they'd be used more. Now one consideration is that often technical and market excelelnce are related. Being better technology will help a product sell.. but if it is still unable to get enough sells to pay for itself then it may very well disappear anyway. This is one reason why opensource is good. Nobody that I know of can compete dollar for dollar against Windows but if your program is good and opensourced then it may very well become competitive. Of course if you're trying to make a living off of it opensource may not pay your bills.. but then a dead closed source product won't either. :)

      The fact that Linux is mostly Unix is partly one reason it's gained popularity but I wouldn't say it's the main reason. Other OS's that were technically excellent could benefit from the same forces that have made Linux a player. Open source code, community, a familiar programming enviroment.. just to name a few things.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  89. No Question by Sloppy · · Score: 1

    No question, but as a recently-joined member of the unofficial Hans Reiser fan club, I'm required to say: What a guy!

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  90. Re:Hash collisions misquote by Anonymous Coward · · Score: 0

    The quote you have there relates to 1 million in a DIRECTORY, which is pretty much, and as another reader has pointed out, ReiserFS doesn't use r5 hashing by default.

  91. Extended Attributes are files in Reiserfs by Anonymous Coward · · Score: 0

    Actually, ReiserFS is not moving "in the direction of extended attributes." Anything that is stored as an attribute in other file systems is stored as a file in ReiserFS. This includes access control lists, permissions, modification times, etc. This is because ReiserFS can handle very small objects efficiently, where traditional filesystems would waste a lot of space.

  92. Researching filesystems by ProteusQ · · Score: 5, Interesting
    I'm going back to school this fall, and in a year I hope to be admitted into a Masters of Computer Science program. I'd like my main research focus to be on filesystems.

    I'm preparing by reading everything I can find: I'm working on Tanenbaum & Woodhull's "OS Design & Implementation"; I've read "Design and Implementation of the Second Extended Filesystem"; Steve Pate's "UNIX Filesystems" is waiting on my shelf; and of course, there's the FAQ and ReiserFS v.3 Whitepaper at www.namesys.com.

    Specific questions: what branches of math are useful in this line of research? Any books, articles, etc., that I haven't listed that are a 'must read' or 'should read'? Those who have succeeded in building a better filesystem: what have they done that I should also do? Any mistakes I should avoid? Anything that no one told you about filesystems that you wish you had known up front? And are there any special tricks (above and beyond mastering your subject) to getting hired in this field once a degree is in hand?

    Thanks!

  93. Answer by Anonymous Coward · · Score: 0

    (Remember, Reiser4 can support small files, i.e. each entry in /etc/passwd as a separate file.)
    From the Reiser4 whitepaper:

    I am going to use the /etc/passwd file as an
    example, not because I think that other aspects of SE Gnu/Linux won't solve its problems better, but because the implementation of it as a single flat file in the early Unixes is a wonderful illustrative example of poorly granularized security that the readers may share my personal experiences with. I hope they will be able to imagine that other data files less famous could have similar problems.

    Have you ever tried to figure out just exactly what part of the /etc/passwd file changed near the time of a break-in? Have you ever wished that you could have a modification time on each field in it? Have you ever wished the users could change part of it, such as the gecos field, themselves (setuid utilities have been written to allow this, but this is a pedagogical not a practical example), but not have the power to change it for other users?

    There were good reasons why /etc/passwd was first implemented as a single file with one single permission governing the entire file. If we can eliminate them one by one, the same techniques for making finer grained security effective will be of value to other highly secure data files.

  94. Features vs. reliability by halfelven · · Score: 2, Interesting

    ReiserFS has got a large amount of features in a short time. Also, new features are added regularly, and new, massively changed releases were issued several times. There were concerns regarding how this could affect the reliability of your filesystem. What's your take on that?

  95. This is a plot to make us subscribe by 42forty-two42 · · Score: 0, Offtopic

    First we'll ask the question, then we'll be made to pay $25...

  96. Why was the release date pushed back? by ttfkam · · Score: 1

    It used to be late 2002. Then around late 2002, I noticed that the homepage had been changed to say the end of this month.

    Was it an unforeseen debugging issue? Was there an algorithm change in the mid-to-lower levels? Was it a lack of coding resources due to excessive meetings? Or was it simply an underestimation of the total time required to get to the first public milestone?

    I'm sure I'm not the only one who would like to know the type of things that delay releases in the free software world. When you have more info about what slows a project, you can see better how to avoid it in the future.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  97. Re:Hash collisions misquote by _xeno_ · · Score: 2, Interesting

    Actually, it says by the time you reach a million or more files the chance for hash collision is approximately 100%. However, you can still potentially hit hash collosions way before then. The handling of hash collosions is the question - does it prevent the new file from being created, or does it overwrite the file, losing data. My understanding is the ReiserFS does the latter. I could be wrong though, and I hope I am.

    --
    You are in a maze of twisty little relative jumps, all alike.
  98. One very very important question. by jd · · Score: 2, Informative
    There are now a HUGE number of filesystems out there for Linux. To make the question make sense, I'll need to list a bunch.

    Non-Journalled, or Unsure:

    • Ext2 (Bronze-age tech. Better than stone-age FAT, neolithic VFAT or iron-age UnixWare)
    • v9fs (Plan 9 meets Linux, popular with nuke scientists)
    • Befs (Mmmmm.... Be-fy!)
    • NTFS (Can't write safely, then can't use much)
    • UFS (Same as above)
    • ISO9660 (If the image hasn't been burned, then you might as well make it read/write)

    Journalled:

    • Ext3FS (the XT-architecture of filesystems)
    • XFS (Very fast, but incompatible facilities)
    • JFS (The development is sloooow)
    • LogFS (abandonware, but fully-logging if anyone actually finished it!)
    • ReiserFS (Really nice, and an innovative use of B*-trees!)

    Network file-systems

    • Intermezzo (unreliable)
    • CODA (unreliable)
    • Novell Netware (reliable but ancient)
    • NFS (reliable but stupid)
    • CIFS (as reliable as Microsoft specs get)
    • Lustre (used by Linux supercomputers)

      To summarize: We have a horribly-large number of filesystems, most of which are incompatiable, many of which do not support the Linux security module extensions, one (e2fs) provides defragging under Linux, and none at all provide support for conversions.

      Hey, diversity is good! I -like- diversity! I want MORE diviersity! I also want ways to efficiently move data around.

      Will future versions of ReiserFS include additional userland tools for defrag, fs conversion, scope of logging (eg: none, meta, full), pluggable hashing algorithm, etc?

      Ultimately, all the choice in the world is no choice at all if there's no way to make use of those choices.

    --
    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)
    1. Re:One very very important question. by CJ+Hooknose · · Score: 1
      one (e2fs) provides defragging under Linux[...] Will future versions of ReiserFS include additional userland tools for defrag?

      "Filesystem fragmentation" is not a problem for ext[23] because the filesystem intelligently allocates block groups. Similar story for ReiserFS. For a reasonably full explanation, check groups.google for author Peter T. Breuer, comp.os.linux.* , keyword "defrag".

      --
      Give a monkey a brain and he'll swear he's the center of the universe.
    2. Re:One very very important question. by jd · · Score: 1

      That merely slows down the problem. It doesn't eliminate it. Nor can it. Think about this - to maximize efficiency, you want to place files that will be loaded together on the disk together. The FS has no means of knowing what's going to be used with what, and thus cannot intelligently allow for this.

      --
      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)
    3. Re:One very very important question. by Nothinman · · Score: 1

      But since few disk reads are large and contiguos it doesn't matter as much as people make it out to. The obvious examples where it does matter are audio and video editing, but then it's usually easier and faster to mkfs the tmp partion between each capture.

  99. Any plans to add provisions for battery-backed RAM by sethml · · Score: 1

    A while back, there was a Slashdot article about the Conquest File System, a filesystem for machines with large amounts (gigabytes) of battery-backed RAM. It seems likely, with falling RAM prices, that large quantities of persistent RAM will be a part of fast servers in the future. Do you have any plans to make ReiserFS take advantage of such systems, beyond just putting the journal in RAM?

  100. Supporting applications by ttfkam · · Score: 4, Interesting

    Having seen the BeOS development APIs, Reiser4 strikes a familiar cord with its metadata handling and querying. However, while BeOS had a captive audience (there were no BeOS clones/work-alikes), you are making ReiserFS a part of an established operating system and all of the inertia that "establishment" brings with it.

    Where BeOS failed (among other reasons) because of the perceived lack of applications, do you have any thoughts on how to seed development for ReiserFS.

    Case in point, where in other filesystem setups you would have a mail spool and/or mailbox as a custom file format (and indexes) on top of the filesystem, Resier4 allows for custom queryable file attributes (metadata) and the ability to efficiently store each message in the queue as a separate file. The mail handling program becomes proportionally less complex as that complexity has been shifted toward the common filesystem layer.

    That said -- mostly for the sake of folks that haven't been following Reiser4 development -- do you see a way of encouraging Reiser4-aware programs? After all, it's a chicken and egg issue. Without common usage of Reiser4, application developers will be less inclined to commit their time to it (perhaps?). Without applications that take advantage of its unique features, what reason does the user have to put it on their workstation or server?

    Are we looking at custom Linux distributions with this in mind or just piecemeal applications? Personally, I'm looking forward to dropping Ogg Vorbis files into a directory and, through the use of plugins, having their ID3 info automatically searchable. Hmmm... Where was that Fugees song again?

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  101. Performance metrics by ttfkam · · Score: 3, Interesting

    Do you have any updated performance metrics for reiser4 in comparison to ext3, xfs, jfs, and reiser3?

    I'd be curious to see both small file test, large file tests, and a mixture -- as is the case for websites with movies where the HTML and graphics are 3K but the media files are 50MB and up.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  102. How many using it? by Anonymous Coward · · Score: 0


    I tried it and had horrible data loss- the biggest problems were with version inconsistancies; tools didn't work; endless loop of run tool -> get error -> run other tool -> get error that says -> run first tool; etc. Far too much time and data loss- quite the opposite of what I had expected! Testers and developers- keep up the good work, but for the rest of us- wait.

    For you /.ers- how many of you are actually using ReiserFS???

  103. Collaboration with other filesystem developers by ttfkam · · Score: 1

    How much do you cherry-pick (and get cherry-picked) ideas from other modern filesystems? I understand you had some debates with the XFS developers over the "best way" to handle certain storage/algorithm cases. Was this the norm or are things far more insular than that with folks keeping their noses only in their own projects?

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  104. Not just for Linux? by ctr2sprt · · Score: 1

    There's some interest from users in seeing ReiserFS ported to other operating systems, like FreeBSD. Is this something the ReiserFS developers are interested in doing/encouraging, or are they focusing their efforts on the big moneymaker (Linux)?

  105. Along the same lines... by ttfkam · · Score: 1

    Do you see the work being done by Microsoft with regard to the "databasefying" of the filesystem as a boon or a hindrance to the adoption of programs that allow complexity to fall to the filesystem?

    In other words, do you see a Windows developer who has worked with Longhorn (or whatever the name is now) being more inclined to develop for/port to Linux because of the parity in functionality? And would the converse be true in your opinion?

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  106. Future API's and platforms by Professor+Calculus · · Score: 1

    As someone who is very interested in filesystem design, I've been following your progress and goals for a while, especially when it comes to fundamental changes in v4 and v5, and new API's. After a great deal of discussion, you managed to get a new system call all to yourself (reiser4()), so that you could experiment with new API's for advanced features. This seems like a good solution for now, because you can test stuff and refine your ideas. However, it seems that Reiser5 is going to need a complete new API.

    My question is twofold.
    1) Are you going to try to write a new API from scratch, even if(when) Linus doesn't like the idea of a complete new filesystem interface?
    2) Would you consider porting to another plaform if necessary to have the control over the API that you need? Or even just to expand the number of supported platforms?

  107. version control? by Anonymous Coward · · Score: 0

    when are we going to get revision or version control of files similar to VMS but w/o the pain. With plugins, how easy will it be to have the filesystem automatically save the old copy with an incrementing version number. then let me retrieve the latest version by default or specific a specific one.

    1. Re:version control? by Tetra · · Score: 1

      Absolutely!! I have looked high and low for anything approaching the beauty of the VMS filesystem for Linux. I'm currently using glastree and some custom code to create a backup versioned filesystem with Samba/MSDFS, but it is only an approximation of what VMS had.

      Will this be possible with plugins?

      --
      Regards, tEtra
  108. Windows 2000/XP Support by 1000StonedMonkeys · · Score: 1

    As someone that dual-boots windows and linux, I've always been looking for a good cross-platform filesystem. Currently, this limits me to fat32 and a lesser extent ext2. Are there any plans for a port of ReiserFS to Windows 2000 or XP?

    1. Re:Windows 2000/XP Support by Nothinman · · Score: 1

      The cost of the IFS development kit for making filesystem drivers for Win2K3 (the Win2K one is already deprecated it seems) is $899.

  109. Location by 21mhz · · Score: 2, Interesting

    How is/was your business in Moscow?

    --
    My exception safety is -fno-exceptions.
  110. Why Journaling by Arandir · · Score: 1

    In the past few years there has been an enormous amount of effort made extoling the virtues of journaling filesystems. But do I really need a journaling filesystem? Under FreeBSD I get by just fine with SoftUpdates, so I'm wondering why there is no effort in the Linux world to create a similar solution, instead of the mad rush to journaling.

    After all, your Aunt Tillie isn't running a bank or a stock exchange on her laptop, but instead browsing the web and reading email. Something lightweight and fast sounds better for her.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
    1. Re:Why Journaling by thasmudyan · · Score: 1

      But do I really need a journaling filesystem?

      As an Ex Windows user I can say that, yes, journaling filesystems are great: Not only won't you *ever* spend 10 minutes staring at the screen while fschk/scandisk runs after a crash, I have the (somewhat subjective) distinct feeling that there's much less random data corruption, which of course results in a much larger interval between re-installs as well as less potential for sudden document cancer. I wouldn't want to user a PC without journaling again! On a side note, I think that ReiserFS also does a pretty good job performance-wise, compared to my perceived performance of NTFS and EXT2, for example.

    2. Re:Why Journaling by Arandir · · Score: 1

      I already know what the benefits of a journaling FS is over FAT32 or NTFS. I want to know what the benefits of a journaling FS versus UFS+SoftUpdates. I already get all of your benefits by using SoftUpdates anyway. So what's in it for me by switching to a jfs?

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    3. Re:Why Journaling by thasmudyan · · Score: 1

      You're right, I had to read a bit on the SoftUpdates to understand it fully. The way I see it SoftUpdates cool because the system keeps an ordered metadata list that it commences to the disk sequencially after the associated data has been written.
      Now, if the computer crashes, the filesystem starts up again knowing nothing about uncompleted operations, thereby consistency is almost always intact. The only problem with SoftUpdates is that in the event of a crash there still remains unresolved (blocked) disk space as an ugly carcass from uncompleted operations. This is why fsck needs to be invoked to straighten that out, which wouldn't be necessary on a journaled filesystem.
      On the other hand, because the important parts of a SoftUpdate'd filesystem are always guaranteed to be intact, the "clean-up" fsck can be performed as a background task after a crash, there is no need to hold normal operations (but things will be a bit slower while fsck runs).
      Bottomline: UFS+SoftUpdates should be just as fine as a journaling fs!

  111. reiserfs fud by bani · · Score: 4, Interesting

    There seems to be a lot of FUD against reiserfs being spread by a small but vocal minority of people.

    Among other claims I have heard by the FUDsters - 'no large production systems (eg terabyte or larger) trust their data to reiserfs', 'xfs is superior to reiserfs because it has been well tested on irix', 'reiserfs has chronic data corruption problems', etc. Spin tactics that would make microsoft's propaganda teams proud.

    How do you respond to the FUDsters? What claims are bogus, and what valid objections to reiserfs are there? (The only legitimate problem I can think of - lack of full data journaling - is shared by xfs and jfs as well).

    There also seems to be a resistance by commercial distros to adopting reiserfs.

    What do you attribute the resistance to?

    1. Re:reiserfs fud by Carlos+Laviola · · Score: 0, Troll

      Well, perhaps it's his own fault.

      Read this thread, and you'll glimpse into the world of Hans Reiser and HIS FUD.

    2. Re:reiserfs fud by bani · · Score: 2, Insightful

      what fud?

      all i see is a plain, matter-of-fact notification of a license violation.

      reading the thread (which you apparently hoped i wouldn't) I see some less-than-civil replies from debian listmembers, and an apparent admission by other members that debian was indeed in apparent license violation.

    3. Re:reiserfs fud by Carlos+Laviola · · Score: 1
      License violation? Sheesh, I don't know why I bother. I'll just say he claims ReiserFS is GPL v2 and then starts adding incompatible clauses to the license. I'm sorry buddy, but it's either one or the other.
      The GPL itself is not modifiable, by the way. That is prohibited:


      GNU GENERAL PUBLIC LICENSE
      Version 2, June 1991

      Copyright (C) 1989, 1991 Free Software Foundation, Inc.
      59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
      Everyone is permitted to copy and distribute verbatim copies
      of this license document, but changing it is not allowed.


      And Reiser says that is called "plagiarism". No, it isn't:


      plagiarism n 1: a piece of writing that has been copied from someone else and is presented as being your own work


      I could just go on and on about it, but whatever, I've been modded down as a troll already anyway, and this is an old thread. I'll just point you towards the bug reportthat asked for the removal of all the crappy advertisement, and you can do a whole lot of research on your own by downloading reiserfsprogs, looking at the threads and so on. Pick your poison.
  112. please name names. by bani · · Score: 1

    or are they too cowardly to stand behind their claims?

    it's easy to throw rocks while hiding in the shadows. but will they still make their claims in public?

    1. Re:please name names. by IamTheRealMike · · Score: 1

      No, it's just that I don't like repeating things told to me in private. I doubt they'd have any problems telling the world, after all, they told me :) But I'm not going to make that decision for them,

    2. Re:please name names. by bani · · Score: 2, Interesting

      ... but you just DID repeat things told to you in private!

      "I've spoken to a few people (not naming names) who appear convinced that the design of ReiserFS is fundamentally flawed, and that it would lead to inevitable deadlocking. I've read your white papers now several times (took me a while to figure them out), and think the work you're doing is great, but a few smart people seem to think it can't be trusted."

      lets have the names behind those specific claims you posted. lets hear who the smart people are.

  113. ReiserFS and /etc/ by PumpingLemma · · Score: 1

    First of all anyone who hasn't read the Future Vision for Reiser4 should. From the comments so far it seems like most people are unaware of the main goal of the project, which is too bad because it is probably the most ambitious free software project in existence.

    This doesn't really do it justice, but what the project is trying to accomplish is to push a great deal of the functionality of databases into the filesystem. In a better world than ours you wouldn't need a table with keys and values, you could just have a folder (table) with filenames (keys) and file contents (values). The problem is that storage is allocated in large blocks, and so the kind of small files that one would use as values end up wasting enourmous amounts of space. This is the virtue of ReiserFS: it has efficient small file performance. With future version the namesys crew seems to intend to add all the wonderful searching abilities that we would want directly into the system calls.

    Ask yourself this, which is less hassle to use, /proc or /etc? Wouldn't it be nice to be able to change your resolution in X with
    echo "800x600" > /etc/X11/Resolution?

    The general idea is that settings could be stored hierarchically, so that /etc/password, for example would look like this
    /etc/passwd/
    /etc/passwd/root/
    /etc/passwd/root/password => sldk7w9xh3
    /etc/passwd/root/uid => 0
    /etc/passwd/root/gid => 0
    /etc/passwd/root/name => Sir Walter Raliegh
    /etc/passwd/root/home => /root
    /etc/passwd/root/shell => /bin/bash
    /etc/passwd/root/luser/
    ...
    where => is some sort of operator that displays the contents of a file.

    Essentially this adds all the benefits of a registry (e.g. you change your password with echo "opensesame" > /etc/luser/password), without adding the complication of a half-assed database (e.g. our friend the Windows registry).

    Think for one second about how easy this would make adding a GUI configuration to your favorite program ("You mean I don't have to write a seperate parser for every program"), without, of course, requiring a GUI. It has simplicity, it has elegance, it has closure.

    My question for Hans is this: it seems that you have put in place a system to let the filesystem take on all the functionality that I was going on about above, how do you intend to get people to use it? Making reiser a filesystem does add a high level of commitment: users have to reformat their drives, and people writing applications can't really assume that their users will have it, and so will be reluctant to rely on it. Obviosuly it is immediatly useful for in-house projects that can have very specific requirements, but how can we get the rest of the world to switch over?

  114. Wow by photon317 · · Score: 1


    Hans,

    Do you find it annoying that 75% of the Slashdot questions could be answered by actually reading the opening page of your company's website?

    --
    11*43+456^2
  115. Feelings and Name Calling by Anonymous Coward · · Score: 0

    Dear Hans Reiser,
    Thank you so much for taking the time to answer all our questions. Mine is very simple: do you hate me? I know you call me a "Coward" and such, but I'm really quite strong, just shy. I think that if you gave me the opportunity, I could really contribute quite a lot to you and your work. By the way, I'm not sure what "Anonymous" means, but using big words to insult me will not stop me. I will still be heard. And, just in case you forgot the question, do you hate me?

  116. Filesystem Snapshots? by Anonymous Coward · · Score: 1, Interesting

    Admins who have worked on NetApp filers know the joy of filesystem snapshots. Are there any plans to add this feature to ReiserFS?

  117. Re:ReiserFS was a nightmare and datatrasher ! by Anonymous Coward · · Score: 0

    Heh... Metadata is shuffled around all the time in modern filesystems. Journals guarantee consistency of metadata, not correctness of metadata per the user's intent. If you hit power in the midst of a metadata shuffle, your files are still they're, but the filenames now point to the wrong places, etc. This is what you're seeing. Too bad for you. Such things can happen with any modern filesystem, whether ext2, ext3, reiserfs, xfs, jfs, whatever. At some point these things are always possible, there's no way to prevent it.

    You misunderstand what the journal does for you. Even in cases like thie one described above, thanks to journaling filesystems, your metadata is still consistent -> i.e. you won't experience dangerous spreading corruption as a result. This is ALL a journal can guarantee you in the end. They can TRY to be more helpful than this, but if you cut power in the middle of a disk write, in the end there's no helping you. That's why even on a RAID-1 system running XFS or JFS... you'll still find a UPS.

    If you want your older files AND all related metadata to remain untouched unless a user explicitly asks for them to be touched, you'd better give up on all modern filesystems and the benefits they provide and go back to FAT12.

    Maybe YOU better learn something about filesystems... :-)

  118. Design / Implementation Questions by w1z7ard · · Score: 1

    I know that reiser primarily uses balanced trees to store data, which I think is great. I decided to make my inodes structured this way for an operating system course. Kudos to an excellent file system!

    However, how does reiser's algorithms deal with the dynamic allocation problem? What scheduling algorithm does it use to queue jobs? What replacement policies does the cache use? And finally, have you ever considered writing a file system in a functional language, such as ML (I think its a great idea)?

    Keep up the good work!

    Carmelo
    --

    "Recursive bipartite matching"- try it!

  119. LFS by destiney · · Score: 1


    Why can't I use the one-partition hint with LFS builds with Reiser? LFS notes some weird kind of recursion error if a recursive mount is performed on the file system. So, as such I must use ext2 or ext3 when moving a new LFS into place of a canned distro.

    REISERFS WARNING:
    If you're using reiserfs, this hint is almost unusable for you due to deletion errors on a recursive mounted volume with reiserfs (the files will be deleted, but the space wouldn't be freed). You could still use the hint to make everything ready for a transfer using a bootdisk/CD, but don't try the "Delete the previous System" section or further. You've been warned!

    I don't know much about file systems I admit, but I'd like to know about this one area where ext2 and ext3 have a additional feature Reiser does not.

  120. BeOS style live queries by mrright · · Score: 1

    Do you have any plans to add BeOS style live queries to ReiserFS? They were IMHO the best feature of the BeOS, and they are the only thing I really miss when using linux. Could this be done as a plugin, or does it require more fundamental changes?

    I know that linux has the dnotify mechanism, but that is only useful for watching for changes in a single directory, so it is basically useless for most purposes.

    --
    Private property is the central institution of a free society (David Friedman)
  121. hans by jjshoe · · Score: 1

    Hans, how come everywere i go i always see people saying reiser has no 'undelete' function. i recently installed slackware and wrote down my partition numbers wrong and ended up remaking the reiser fs over a directory of 18 years of pictures three times! i was able to recover all but 5 pictures by replaying the journal.

    why is this not considerd an undelete feature? or is this not the intended use?

    --
    -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
  122. MOD PARENT UP by caluml · · Score: 1
    I think this is one of the better questions actually - we should hear the problems that Hans made, and how he got over them.

    No mod points though :(

  123. Re:Hash collisions misquote by Anonymous Coward · · Score: 0

    no, when you reach a million files, the chance for hash collision is closer to .001%, which is unacceptable.

  124. Versioning, Transactions, etc. by temojen · · Score: 1

    Didn't this go out of style with VMS?

    I can see the need for Versioning and Transactions, though. I've been pondering these myself.

    One short-term solution to versioning (in user space on a single user workstation) would be to run a private CVS and CO/CI your home dir for each login session.

    1. Re:Versioning, Transactions, etc. by Anonymous Coward · · Score: 0

      I actually tried that for a while, but CVS sucks for binary files - and, unlike source trees, my home dir was full of binary files.

      Perhaps OpenCM will make that approach more viable in future.

  125. *nix "Directory Services" by RandyF · · Score: 1

    Being and x509 buff, I'm appalled at the non-flexible logical structure built in to (and expected of) 'nix operating systems and their numerous filesystems.

    I'm looking at a project to pull together a good unified directory for security, ACLs, configuration, networking, etc... The onerous task of converting utilities and user-land apps will come after a solid and fast system is built.

    OpenLDAP is decidedly out of the question, along with NDS, ADS, and the other also-ran and proprietery directory solutions.

    1. With your unified name space concept and database style file system, has anyone proposed a ReiserFS-based solution to this?
    2. If so (or not), what approach would you recommend to bring such a task to fruition?
    3. With this transaction-based system, has anyone suggested or pursued a replication and tree partitioning scheme?
    --
    --==-- I've found Karma to be a relative thing... Ya know, the kind you invite to Christmas... ;)
  126. Re:ReiserFS was a nightmare and datatrasher ! by Anonymous Coward · · Score: 0

    yeah specially telling me to go back on 'fat12' systems. dude i was dealing with all sorts of ffs and nfs systems for the past (nearly 20 years). if modern filesystems can't take care for dataintegrity then they shouldn't get invented. there has to be a good mixture between datainegrity and speed. what advantages do i get with a fucking fast b-tree algorythm filesystem if it can't keep my data safe ?

    reiserfs in it's whole caused MORE datacorruption than all the other filesystems that i have dealt so far. i am well aware of the situation that data will always get lost under certain circumstances. there isn't something 100% out there but reiserfs lost more than any other systems.

  127. MOD PARENT UP by Anonymous Coward · · Score: 0

    She/he hit the nail on the head.

  128. Just spreading FUD by Anonymous Coward · · Score: 0

    You sure you don't work for the ext3 team?

    You don't have to name names, you just have to provide the details. If the details are beyond you, get those alleged experts to write the explanation.

    Without the details, you're just spreading FUD.

    1. Re:Just spreading FUD by IamTheRealMike · · Score: 1
      That's a fair point, one I thought about before posting... no, I don't work for any competing FS teams and like I said, I want ReiserFS to suceed, the new filing system concepts he's working on are just too cool to miss out on.

      I don't know how much detail you want anyway. All I was told is that the potential for nasty deadlocks is almost built in to the design... I pointed out that this was surely a property of the implementation, not design. But apparently not.

      Of course this is 2nd hand advice, and I believe the person who originally said that was in fact a FS designer. So maybe there were some sour grapes there.

  129. Somewhat OT--cluster sizes by xtrucial · · Score: 1

    Does anyone know the default cluster sizes for the various file systems? I'm a little confused on that, since when recently doing a rebuild of my box, I seemed to be limited to a certain (albeit, efficient) size. Ideas?

  130. Re:Hash collisions misquote by Anonymous Coward · · Score: 2, Informative

    Up to 127 filenames per directory (MAX_GENERATION_NUMBER, defined in include/linux/reiserfs.h) can have the same hash value. After this, creating more filenames with this hash is impossible (the EBUSY error code is returned). ReiserFS does NOT blindly overwrite files because of hash collisions.

    You can choose from multiple hash algorithms when you create the filesystem (faster hashes have a greater probability of hash collision). But collisions aren't a reason to avoid ReiserFS - most other filesystems (including ext2/ext3) won't get anywhere near a million files in a directory before suffering huge performance losses.

    The following code was taken from linux-2.4.21-rc1/fs/reiserfs/namei.c and demonstrates the handling of hash collisions.


    gen_number = find_first_zero_bit ((unsigned long *)bit_string, MAX_GENERATION_NUMBER + 1);
    if (gen_number > MAX_GENERATION_NUMBER) { /* there is no free generation number */
    reiserfs_warning ("reiserfs_add_entry: Congratulations! we have got hash function screwed up\n");
    if (buffer != small_buf)
    reiserfs_kfree (buffer, buflen, dir->i_sb);
    pathrelse (&path); /*
    * Trivial changes by Alan Cox to remove EHASHCOLLISION for compatibility
    *
    * Trivial Changes:
    * Rights granted to Hans Reiser to redistribute under other terms providing
    * he accepts all liability including but not limited to patent, fitness
    * for purpose, and direct or indirect claims arising from failure to perform.
    *
    * NO WARRANTY
    * This is one of two lines that this fix consist of.
    */
    return -EBUSY; /* I think it was better to have an error code with a name that says
    what it means, but I choose not to fight over it. Persons porting to
    other operating systems should consider keeping it as it was
    (return -EHASHCOLLISION;). -Hans */
    } /* adjust offset of directory enrty */
    put_deh_offset(deh, SET_GENERATION_NUMBER(deh_offset(deh), gen_number));
    set_cpu_key_k_offset (&entry_key, deh_offset(deh)); /* update max-hash-collisions counter in reiserfs_sb_info */
    PROC_INFO_MAX( th -> t_super, max_hash_collisions, gen_number );

    if (gen_number != 0) { /* we need to re-search for the insertion point */
    if (search_by_entry_key (dir->i_sb, &entry_key, &path, &de) != NAME_NOT_FOUND) {
    reiserfs_warning ("vs-7032: reiserfs_add_entry: "
    "entry with this key (%K) already exists\n", &entry_key);

    if (buffer != small_buf)
    reiserfs_kfree (buffer, buflen, dir->i_sb);
    pathrelse (&path); /* Following line is 2nd line touched by Alan Cox' trivial fix */
    return -EBUSY; /* I think it was better to have an error code with a name that says
    what it means, but I choose not to fight over it. Persons porting to
    other operating systems should consider keeping it as it was
    (return -EHASHCOLLISION;). -Hans */
    }
    }

  131. Be a Genius by jakesher · · Score: 0

    How did he do it?
    Hans Reiser is a genius, thats how he did it. Find his resume via google you will see.

    What's his advice for other project leaders?

    Be a genius, or extremely motivated.

    BTW: i met the dude, he was going to give a lecture about the importance of b-trees in filesystems at the place where i worked, but it didn't work out... :(

  132. Why the difference by dorfsmay · · Score: 2, Informative

    Another big reason why a lot of people implement snapshot differently than NetApps, is to avoid shooting yourself in the foot. With NetApps, the snapshot data is kept on the same volume as the data itself, which leads to situation where you jump from say 50% usage to 99% just like that overnight (the snapshot area is allowed to run over the data area). This is quite a delicate situation as deleting files makes things worse (you have to get rid of old snapshots to free up space). I have seen big production database taken to their knees because of this.

    On the other hand, the other implementations are a bit slower because the blocks are copied instead of being just not deleted, but snapshots never take space from data. The implementer has to make the choice, space control and simple understanding of space vs. speed to snapshot and recovery.

  133. Ram, Filesystem and Databases by kentsin · · Score: 0

    When ram getting bigger, what would reiserfs or modern filesystem take advantages? Some argues that filesystems and DBMS may completely replaced by Ram. And there is obvious duplicate of function in dbms and filesystems. What do you think about the relationships between the three?

  134. Filesystem Plus Plus by randomjotter · · Score: 1

    I throughly understand the file-system is everything independent of any overlying infrastructure in terms of applications and files, but an interesting thought runs through the head. How about having file-system providing hooks to track what portions are heavily used? The basic idea is some sort of real-time information system. File-system provides the lowest level where 'things happen' and working on that level will cut through all the crap, so to say. I understand that all files are not plain text and file-formats or all the executables loading, but I am talking in terms of only hooks and do not expect the file-system to do that.

  135. Licensing ReiserFS v4 to Microsoft by kinema · · Score: 1

    If memory serves there has been a quite a bit of speculation that Microsoft has been having a really hard time with their new FS, WinFS. Have you thought of approaching them to port Reiser4 to Longhorn (or some later Windows release)? IIRC Reiser4 and WinFS had some major design goals in common (i.e. lots of metadata in the FS and a more database like design).

  136. MOD PARENT UP by Anonymous Coward · · Score: 0

    Somebody had to say it.

  137. Working in Russia by kinema · · Score: 1

    Have you had any issues with the fact that Namesys is a Russian company? I think we all remember the recent story about DARPA pulling their funding of OpenBSD. Do you worry about this happening to Namesys?

  138. Better gurantees against data loss? by r6144 · · Score: 1
    There are some problems with my power supply, causing my computer to lose power for about twice a week. Like most desktop computers, it has no UPS.

    When using ReiserFS I often find some newly-(over)written files contain garbled content after a power loss. Filesystem integrity is okay according to reiserfsck. When using Ext3 such problems don't happen that often. From what I have read, this is because ReiserFS does metadata journaling like Ext3's "metadata" mode, while Ext3 uses "ordered" mode by default, which prevents writing metadata before the actual data that may cause garbage to show up if a power failure happen in between ("in between" can sometimes mean a minute or so).

    The question is: will reiserfs support something like Ext3's ordered mode? Otherwise, it is quite unsafe to store frequently modified files (like those in the home directory) on ReiserFS partitions, if power failures happen often.

  139. You're Full of It. Read the Thread. by krmt · · Score: 1

    If you read the thread, and I do mean read it, you might notice that Reiser doesn't actually tell anyone what the problem is. Is it the accidental removal of credits from a file? Or is it the deliberate disabling of the long credits list during a program execution? Reiser doesn't tell anyone, because he'd rather throw a tantrum than actually solve whatever problem he's having. There's nothing direct and to the point about what he wrote at all.

    Oh... and no one changed his license. It's the GPL, you can change it how you like. Since Reiser decided to implement ReiserFS in Linux, he was bound by the GPL and all it enatils. If he doesn't like its terms, he can write his own kernel or use another. The Debian people were fully within their rights to change the program however they wanted. It might not have been perfectly civil, but then again, it's tough to correct your mistakes when you aren't being told what they are. Besides, the credits list generally belongs in the README or copyright files, not at the launch of the fucking program. Would you like ls or cp to display a credit list every time they're run?

    And finally, Reiser decided to come out and bash the whole of the Debian project for something the maintainer himself did. Reiser never directly contacted the maintainer about the issue, but rather chose to vent on debian-devel, calling everyone in the project plagiarists. He can throw out Stallman's name all he wants, but that doesn't make him any more correct. His little tantrum certaintly doesn't represent the people he claims to be standing up for very well.

    --

    "I may not have morals, but I have standards."

  140. Some clarification by r6144 · · Score: 1
    In the FAQ about "why it has no data journaling" you say that it would still break if one file is updated while another isn't. However in many cases it is a heap better to have the file intact (one version or another) than have its contents garbled (so nothing remains unless you search in the raw partition). Also, while it is true that some user-level applications will break if two files are not updated simultaneously, this is much fewer than the applications that will choke on garbled files.

    It is true that even Ext3's ordered data mode cannot absolutely prevent breakage during a power loss, but keep the probability of lossage low is also important. It is impractical to backup my term papers every minute, and the lower the chance of losing one day's work (or more if I forgot to backup yesterday) because of a power loss (because of garbled content... I do save every minute), the better.

  141. ReiserFS vs. UFS by kompiluj · · Score: 1

    Did you perform any benchmarks of ReiserFS/Linux vs. UFS/FreeBSD (on the same machine)? My personal experience shows that UFS/FreeBSD is twice faster than ReiserFS/Linux or XFS/Linux. Perhaps the fault is in Linux Kernel? - because obviously ReiserFS is performing very good when confronted to any filesystem on Linux platform. If it were the case - would you consider porting your excellent FS to *BSD?

    --
    You can defy gravity... for a short time
  142. Re:Here's my opinion why (No, not feeding the trol by Wolfrider · · Score: 1
    > a LOT of code for a file system...

    --Dude, Reiserfs is TINY compared to XFS: (lsmod output)
    Module Size Used by Not tainted
    xfs 511026 0
    reiserfs 161008
    ext3 62880

    > With ReiserFS you often stumble into incompatibilities with other things in the kernel, such as NFS and LVM.

    --Patently false. My SCSI and IDE LVM setup both use Reiserfs, and I have had no problems with using NFS to access Reiserfs partitions or volumes. Some older SuSE NFS userspace implementations had to have a hashed_inodes entry in /etc/exports, (I'm talking SuSE 6.4 and 7.3 here) but I'm using nfs-kernel-server in Debian/Knoppix and it hasn't had any issues.

    --If you haven't tried Reiserfs lately, give it a shot. Most of the "problems" people think it has have been fixed for a long time and it's been rock-solid stable for me for ~3 years.

    --
    .
    == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  143. that's not all by rp · · Score: 1

    don't forget lazyfs, lufs, autofs

  144. Re:Here's my opinion why (No, not feeding the trol by dmelomed · · Score: 1

    > --Dude, Reiserfs is TINY compared to XFS:

    I wasn't comparing with XFS.

    > Patently false. My SCSI and IDE LVM setup both use Reiserfs, and I have had no problems

    Doesn't mean other people haven't had disasters with RiserFS. See the mailing list archives.

    > --If you haven't tried Reiserfs lately, give it a shot. Most of the "problems" people think it has have

    You can't ignore the crappy historic stability record.

  145. Re:Here's my opinion why (No, not feeding the trol by Wolfrider · · Score: 1

    > You can't ignore the crappy historic stability record.

    --(shrug) Sure I can. As I said, I've been using it for ~3 YEARS with *no problems.* What are the *dates* on those archives you're talking about?

    --
    .
    == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  146. Re:Hash collisions misquote by scrytch · · Score: 1

    Some AC recommended this reply (also from an AC) which had been languishing in score 0 territory be modded up. I'll go ahead and post it so it gets noticed by people reading at a threshold.

    I'm still not a great fan of it simply refusing to create the file and then returning an error code that isn't that explanatory (tho it doesn't take a rocket scientist to realize that EBUSY on creat is an overflowed bucket), but a failure is definitely the preferred behavior here.

    I personally think filesystems need about 10 years to shake out all the bugs. NTFS is just now getting to where I can trust it, for example (and it still has serious warts). ReiserFS is definitely getting there, but til then I'm a fan of good ol ufs -- with softupdates of course, yes I'm a BSD bigot :)

    -------------------8<------------
    Oh hey I WOULD have posted it, but the god damn lameness filter stopped it. Can't have a site populated by NERDS actually having CODE in its discussions. So go adjust your threshold, read the parent, and it's time for a new sig .

    --
    I've finally had it: until slashdot gets article moderation, I am not coming back.
  147. ReiserFS vs. XFS on very large data stores. by rindeee · · Score: 1

    I am curious what your opinion is on using ReiserFS as opposed to XFS on very large data stores (say 3+TB). I have done a great deal of benchmarking on my current system (x86 box with 1.75TB external RAID array on an Adaptec U360 controller) to compare XFS and Reiser and gotten very different results when changing the file sizes. Reiser seems much happier with zillions of small files where XFS seems to excell with very large average file sizes. Is there a way to tune Reiser to balance it or have I simply provided myself with flawed findings?

  148. fsck is the reason by Bernie · · Score: 0

    e2fsck is brilliant and has saved many people's data. That alone is a compelling reason not to switch from ext3 to reiserfs.

    reiserfs is the right tool for the job for many applications (eg squid spools or lab desktops), but when reiserfsck dropped a quarter of a million files into lost+found on our online backup box it makes you think..

  149. Re:Reliability? by Anonymous Coward · · Score: 0

    It went through my hands, a slap wrists (which is all metamoderating is) has been applied.

  150. pseudo file mystery by Anonymous Coward · · Score: 0

    In your Reiser 4 document, you refer to http://www.namesys.com/v4/pseudo.html where we are told we can find "a list of pseudo files currently implemented in Reiser4 with description of their semantics." The URL returns a 403 Forbidden access. What is the secret?

  151. Features ... by Anonymous Coward · · Score: 0

    What about ACLs or Fileattributes (like immutable or append-only) ?

  152. I've had bad luck with XFS by Cthefuture · · Score: 1

    I've tried XFS a couple times over the years and one thing I've noticed every time is that it didn't seem that great for an average desktop machine. It seems to hang the system while doing lots of file operations. It feels like the file system is taking precedence over the OS, therefore making an interactive system seem sluggish.

    For a server this might be OK because you may get a performance increase due to the filesystem getting lots of CPU time but on the desktop it just makes your apps hang when the filesystem kicks into high gear. I didn't like it at all.

    It could be that I have something configured incorrectly, but I've tried tuning it as best as I could and it still ran the same. I welcome any ideas.

    I find that Reiser or EXT2/3 run mostly as fast as XFS anyway and don't hang up my system while doing stuff.

    --
    The ratio of people to cake is too big
    1. Re:I've had bad luck with XFS by Nothinman · · Score: 1

      Perhaps you over-tuned it? I've been using XFS for a a few years on my desktop and never had any hangs I could blame on XFS and the speed is fine.

    2. Re:I've had bad luck with XFS by Cthefuture · · Score: 1

      I didn't try tuning until I noticed it was effecting my system.

      The "hanging" I'm talking about is not something very obvious unless you're paying attending. It's not like my system locks-up for a while. It's more subtle. The system pauses here and there when there is a lot of disk activity going on. I've tried it on 3 or 4 different systems and they all acted the same way. Note that I'm comparing this against EXT or Reiser.

      It's no so bad that you go "oh my, XFS sucks". However, when compared to EXT2 when doing a lot of disk activity the system is much less responsive.

      I guess I should've said my systems "pauses" instead of "hangs".

      --
      The ratio of people to cake is too big
  153. Re:debian-devel by Anonymous Coward · · Score: 0

    By the way, does Debian support as a matter of principle the decrediting of Stallman and KDE by RedHat? I had really expected this from RedHat, not Debian, when I wrote those clauses. In the academic world, this is called plagiarism. In the academic world, knowledge is shared but fairly credited. The GPL is born of the academic tradition. "Hans original email was direct and to the point" I agree, Kde and redhat and academic world are the point. Cannot be a mistake ! Cannot be a misunderstanding !

  154. Re:debian-devel by Anonymous Coward · · Score: 0

    >While Reiser's posting was far from friendly, the
    >only hostility and name-calling seems to come from
    >debian developers.

    Give me the % of debian developpers who were name-calling because 100% of the Hans Reiser were hostile. When there is about 1000 dev you can be sure that at least 1 dev will answer to hostility by hostility.

  155. ReiserFS and IDE DMA issues, trashing filseystems. by Anonymous Coward · · Score: 0

    2 years ago when I first tried reiserfs, I had IDE DMA enabled on a board with piix3 controller - bad move, as the x3 controller has major design flaws and should never be used with DMA on. (x4 is OK)

    Within minutes of trying large scale file xfers into the new filesystem, the thing was irreversably trashed.

    This brings up the issue of how Reiserfs handles dma errors on write. One would think that surely a journalling FS can handle a DMA erorr on write.

    Was this issue ever addressed/resolved? How about repeats due to user idiocy?

    Needless to say, having this happen was extremely offputting. I know why it occured, but I'm now extremely nervous about using Reisferfs on IDE setups, or for that matter scsi where DMA is enabled. I'd like to use Reiserfs more. It's got the efficiency, elegance and large capacity ext3 lacks (I'm about to deploy a 10TB filestore f'instance), but until I know it's stable I can't recommend it for work use (academic environment, limited budgets, etc.. :( :( )