Slashdot Mirror


Best Shrinkable ReiserFS Replacement?

paulkoan writes "I have been using ReiserFS for my file system across a few servers for some time now (follow the link below for details of my experience). I can't foresee the future of ReiserFS, but if I'm going to have to migrate as support diminishes, I'd like to begin that process now. My criteria are: in-kernel support, shrinkable, and has good recovery when the file system is not closed properly. That shrinkable requirement precludes a lot of options. What's a good replacement for ReiserFS?"
I initially chose ReiserFS because I was building a MythTV system and it was the recommended FS across the board, from small to large files. I've had good experiences with ReiserFS and it has had a pummeling. That MythTV box for example has a very volatile environment and loses power on a regular basis. I haven't lost any data through any of these outages.

Compare this to my brief foray into XFS on the same box, where 25% of the filesystem ended up in lost+found with numbers for filenames. When this happened a second time on a different system I decided XFS wasn't for me — and I really don't get the point of a journalled filesystem that will keep data relatively safe, but then remove any means to identify it when things go wrong.

But everyone has good and bad experiences with filesystems, ReiserFS included. XFS has a good rep, my experience aside.

508 comments

  1. OJ FS by Frank+T.+Lofaro+Jr. · · Score: 5, Funny

    The O. J. Simpson filesystem!

    --
    Just because it CAN be done, doesn't mean it should!
    1. Re:OJ FS by JWW · · Score: 0, Redundant

      Well Rieser and OJ _do_ have something in common...

    2. Re:OJ FS by Anonymous Coward · · Score: 5, Funny

      But ReiserFs is the only one being ported to cell...

    3. Re:OJ FS by Hafnia · · Score: 1

      funny :)

    4. Re:OJ FS by binarylarry · · Score: 1

      hmm, I'm not much of a detective.

      I know it isn't "Murdered his wife and got away with it."

      Wait, I know: They both paid for their wives in some way?

      --
      Mod me down, my New Earth Global Warmingist friends!
  2. I'll be hard... by Anonymous Coward · · Score: 5, Funny

    ... to find a new killer filesystem, you insensitive clod!

    1. Re:I'll be hard... by Anonymous Coward · · Score: 2, Funny

      I would kill for it... oh, wait!

    2. Re:I'll be hard... by Entropy98 · · Score: 1

      Don't they have Linux in jail?
      --
      Finding My IP

    3. Re:I'll be hard... by faragon · · Score: 3, Funny

      They have GNU/Jail, you insensitive and free clod!

    4. Re:I'll be hard... by Anonymous Coward · · Score: 5, Funny

      I have a simple and elegant solution to two problems that I perceive have arisen from the conviction of Mr Reiser, said problems being:

      a) absence of a project manager for the ReiserFS project and
      b) an overabundance of 'killer filesystem' jokes.

      What I propose is this: the next person to make a 'killer filesystem' or similar joke will be horsewhipped in the town square and then assigned responsibility for ReiserFS for the rest of his (or her) life. Any developmental milestones which have been assigned but are not complete by the deadline will result in further horsewhipping.

      I have forwarded this action plan to the relevant authorities and am currently awaiting approval. Please show your support by buying a T-shirt or coffee mug.

      Thanks for your time.

    5. Re:I'll be hard... by Compuser · · Score: 1

      You'll be hard... to what?

    6. Re:I'll be hard... by Anonymous Coward · · Score: 1, Funny

      It fault, you intransigent clod!

    7. Re:I'll be hard... by doti · · Score: 1

      Flawed solution:

      the next person to make a 'killer filesystem' or similar joke will be horsewhipped ..

      What about the many others that will continue to make the joke after him?

      --
      factor 966971: 966971
    8. Re:I'll be hard... by MindStalker · · Score: 1

      As long as I'm provided food and clothing, sure, I'd love to take on the job of managing a killer filesystem.

    9. Re:I'll be hard... by xanadu113 · · Score: 4, Funny

      Put them on the development team?

      --
      -Myke
    10. Re:I'll be hard... by tzot · · Score: 4, Funny

      OK, I get it. There's software free as in beer, free as in speech, free as in jazz and free as in Reiser.

      --
      I speak England very best
    11. Re:I'll be hard... by Anonymous Coward · · Score: 0

      the next person to make a 'killer filesystem' or similar joke will be horsewhipped in the town square and then assigned responsibility for ReiserFS for the rest of his (or her) life.

      As it happens, though, I know of another way to escape responsibility for maintaining ReiserFS. Unfortunately, it involves a prison term of 15 to life...

    12. Re:I'll be hard... by jellomizer · · Score: 3, Insightful

      Am I missing something... Isn't one of the advantages of Open Source is the ability to maintain and improve a product no matter what happens to any particular person or company?

      Perhaps the Open Source Community should have project safety rating for an open source project. Like a risk level. So say without the person the project is doomed to die. To fully supported so if any one comes or go the product will continue.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    13. Re:I'll be hard... by AmberBlackCat · · Score: 3, Interesting

      Why don't they just give the filesystem's creator a computer and have him continue to update it from inside the cell? He'll have plenty of time to get it done, still won't be out on the streets, and if he enjoys it then it won't be cruel and unusual punishment.

    14. Re:I'll be hard... by bsDaemon · · Score: 1

      No Linux in jail, but there are Jails in FreeBSD!

    15. Re:I'll be hard... by Anonymous Coward · · Score: 0

      It's Reiser on R^WJails!

    16. Re:I'll be hard... by Anonymous Coward · · Score: 0

      wait, so the person is responsible until they die.
      They get horsewhipped if they don't complete a milestone by that deadline.

      Isn't that beating (or I guess whipping) a dead horse?

    17. Re:I'll be hard... by PitaBred · · Score: 1

      We'll have the real killer filesystem in no time! ...shit. Stay away from me with that whip.

    18. Re:I'll be hard... by Dancindan84 · · Score: 1

      I'll be hard...

      Freudian slip much?

      --
      "Always forgive your enemies; nothing annoys them so much." - Oscar Wilde
    19. Re:I'll be hard... by operagost · · Score: 1

      Ordinarily, I'm game for an invigorating horsewhipping, but I already have enough projects at work so I'll have to sit on my clever killer-fs joke.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    20. Re:I'll be hard... by magus_melchior · · Score: 1

      His fellow inmates will steal it from him to watch porn.

      --
      "We are Microsoft. You shall be assimilated. Competition is futile."
    21. Re:I'll be hard... by b4upoo · · Score: 1, Interesting

      He really should be allowed to continue his work in a reasonably comfortable environment. If one day he achieves parole he will not be a burden on the tax payers if he can work and save his money. Further his work is important to the public and not just to Hans.
              Another consideration is that people who push their minds too far in an effort to break new ground sometimes go off track and do things they would not otherwise have done.

    22. Re:I'll be hard... by jonbryce · · Score: 1

      Yes, anyone can maintain it. That however doesn't mean that anyone will maintain it.

      Hans Reiser was a very big part of ReiserFS, and I guess most of the other people who know about filesystems are working on one of the other three filesystems on Linux, or on filesystems on one of the other free or open source operating systems.

    23. Re:I'll be hard... by Bert64 · · Score: 1

      He should be made to do community service work without personal gain, i would say writing code to be released under a BSD license or similar with the copyright assigned to the state would fall under this category. It benefits the community as a whole, and is of less benefit to the convicted criminal doing it.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    24. Re:I'll be hard... by Valdrax · · Score: 0

      Why don't they just give the filesystem's creator a computer and have him continue to update it from inside the cell? He'll have plenty of time to get it done, still won't be out on the streets, and if he enjoys it then it won't be cruel and unusual punishment.

      Prison isn't about getting to do the things you love with free room and board.

      --
      If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
    25. Re:I'll be hard... by doti · · Score: 1

      Another possible weak point:

      Any developmental milestones which have been assigned but are not complete by the deadline will result in further horsewhipping.

      What if he starts to like the whipping?

      --
      factor 966971: 966971
    26. Re:I'll be hard... by 6Yankee · · Score: 1

      My boss is quite insistent that we ensure any third-party stuff is going to be supported. For open-source, this means basically ensuring that there's at least a small number of active developers, an issue tracker without dozens of serious open issues, etc. It's due diligence, really, and something you really should do yourself if you're going to rely on something from outside; I'm not sure that relying on someone else's rating would be a sensible way to go. (And can you imagine the first "but you said they wouldn't collapse!" lawsuit?)

      In the closed-source commercial case, there isn't much you can do beyond buy big and hope, I guess.

    27. Re:I'll be hard... by Anonymous Coward · · Score: 0

      That post sounds like a joke, and since it's a joke about ReiserFS, does that make it a `killer filesystem` joke? It seems that you've just been nominated, buddy. Prepare to be horsewhipped.

    28. Re:I'll be hard... by Mr2001 · · Score: 3, Insightful

      Prison isn't about getting to do the things you love with free room and board.

      Nor is it about harming society by preventing criminals from making meaningful contributions, just to spite them.

      --
      Visual IRC: Fast. Powerful. Free.
    29. Re:I'll be hard... by XHIIHIIHX · · Score: 1

      That depends if anyone else is *capable* of maintaining it.

    30. Re:I'll be hard... by Anonymous Coward · · Score: 0

      If you get tired, just kill your wife and you get free. Hans did.

    31. Re:I'll be hard... by twizmer · · Score: 1

      You're looking for the truck number.

    32. Re:I'll be hard... by ozphx · · Score: 2, Interesting

      The GPL is free as in Reiser.

      Once you are in jail you have to stay there.

      --
      3laws: No freebies, no backsies, GTFO.
    33. Re:I'll be hard... by budgenator · · Score: 1

      his fellow inmates will look at a few freak-pics before barebacking him in the shower

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    34. Re:I'll be hard... by hawk · · Score: 2, Funny

      It's supposed to be punishment.

      Make him code for Windows!

      hawk

    35. Re:I'll be hard... by hawk · · Score: 1

      "Key person kills wife and incarcerated" isn't on the usual risk-analysis checklists . . .

      hawk

    36. Re:I'll be hard... by nurb432 · · Score: 1

      Thats true when there is a large team, but from what i understand he was basically "it".. WIthout him, there is no project, and its almost like starting from scratch.

      --
      ---- Booth was a patriot ----
    37. Re:I'll be hard... by jellomizer · · Score: 1

      Key person gets sick, dies unexpectedly, hits by a train.... There are millions of reasons for a Key Person to stop working on the project. If an Open Source Project has a Key Person where noone is willing to stand up and take his place when he is gone, it is a risky project to invest into.

      You are better off with using a Microsoft Solution as for the most case you have at least an upgrade path. And you get stuck if you stop paying them money.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  3. gentlemen by nimbius · · Score: 2, Funny

    start your reiser jokes.

    my 2 cents...ext3.

    --
    Good people go to bed earlier.
    1. Re:gentlemen by Arthur+B. · · Score: 5, Funny

      ls wife
      ls -A wife
      ls -A body
      ls -A body
      sudo ls -A body
      Password:
      Ok ok, /dev/hills/body

      --
      \u262D = \u5350
    2. Re:gentlemen by DittoBox · · Score: 5, Funny

      No, no, no.

      Login: reiser
      Password:

      $ touch wife
      touch: access denied
      $ sudo touch wife
      password:
      touch: access denied
      $ echo "wtf?"
      wtf?
      $ ps -aux | grep wife
      wife 14589
      $ sudo kill -9 14589
      mv body /dev/hills/body

      Some time later:
      Login: cops
      Password:

      $ locate body
      body not found
      $ sudo usermod -g felon reiser
      $ sudo updatedb
      $ locate body /dev/hills/body

      --
      Good. Cheap. Fast. Pick Two.
    3. Re:gentlemen by Ilan+Volow · · Score: 3, Funny

      I never found Paul Reiser funny enough to remember any of his jokes.

      --
      Ergonomica Auctorita Illico!
    4. Re:gentlemen by laejoh · · Score: 0

      $ touch wife
      touch: access denied

      Oh, come on, that one counts for all us slashdotters!

    5. Re:gentlemen by ObsessiveMathsFreak · · Score: 1

      $mv body /dev/null
      $ls -l /dev/null
      lrw-rw-rw- 1 root root 1, 3 2004-01-02 :32 /dev/null -> /dev/hills

      Whoops!

      --
      May the Maths Be with you!
    6. Re:gentlemen by Bogtha · · Score: 4, Funny

      ls -A wife

      You won't find the mother of his children with that. ls -A skips listing parents (..). The police should have used ls -a instead.

      --
      Bogtha Bogtha Bogtha
    7. Re:gentlemen by Anonymous Coward · · Score: 0

      Mjeh... her giving ext4 a test run was the worst idea eva'

    8. Re:gentlemen by VoidEngineer · · Score: 3, Funny

      The scary thing is how well that actually maps onto organizational practices and behavior.

    9. Re:gentlemen by Anonymous Coward · · Score: 0

      You've been working on that for some time, haven't you Hans.

    10. Re:gentlemen by rgo · · Score: 1

      Paul Reiser?? Score 2 Interesting???

      I would say that it is very interesting that some people around here don't know how to read.

      (please don't fuck me with that 'You must be new here' phrase, yes, i know i've got and eleventy digit uid.)

    11. Re:gentlemen by Doug+Neal · · Score: 1

      How long have you been waiting to crack that one out? ;)

  4. Some general thoughts by TheMidnight · · Score: 4, Informative

    I've heard good things about ZFS from Sun Microsystems, though I don't have much experience with it. Ext3 seems to have decent crash recovery though it requires fscks almost every time. JFS2 from IBM is the most solid filesystem I've ever seen, but I don't know if such a filesystem works with MythTV.

    1. Re:Some general thoughts by Anonymous Coward · · Score: 5, Informative

      JFS2 from IBM is the most solid filesystem I've ever seen, but I don't know if such a filesystem works with MythTV.

      JFS2 works perfectly with MythTV.

      I use JFS exclusively for my MythTV store, because it's the hands-down winner for deletion of large files (something that happens frequently with a MythTV box.)

      Note that JFS doesn't support shrinking, so it's not an option for the submitter.

    2. Re:Some general thoughts by larien · · Score: 1

      As other posters have pointed out, ZFS isn't available on linux except via FUSE. Also, ZFS doesn't currently support removing disks from a zpool; your only recourse to remove disks from a pool is backup, rebuild & restore.

    3. Re:Some general thoughts by ThePhilips · · Score: 1, Informative

      ZFS is targeted at large scale installations with RAID/etc. Hardly FS for MythTV or normal home PC.

      I were using for some time JFS with Ext3 and can hardly complain.

      Though the bit:

      [...] where 25% of the filesystem ended up in lost+found with numbers for filenames.

      tells me that the problem might not be in the file system itself. I would suggest replacing hard drive and/or just in case adding sync somewhere in shutdown sequence of your box. XFS was and is running on many boxes around the world. If you have seen something like that, my first thought would be faulty hard drive or bad cooling (so HDD did overheat).

      --
      All hope abandon ye who enter here.
    4. Re:Some general thoughts by TheMidnight · · Score: 2, Informative

      I thought JFS2 supported dynamic filesystem sizing. http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/chfs.htm

      Of course, this may be dependent on AIX and IBM hardware and may not be available in Linux. I agree JFS doesn't support it.

    5. Re:Some general thoughts by Anonymous Coward · · Score: 0

      Seconded. I've got about 3TB of HD video files on a 4 tuner Myth backend, all stored using JFS.

    6. Re:Some general thoughts by davidlowie · · Score: 1

      zfs is great until it kernel panics your system when it loses access to a lun. I believe the fix is out now but man that sucked.

    7. Re:Some general thoughts by psm321 · · Score: 1

      JFS is not a solid filesystem. Without doing anything extraordinary, mine got into a state where every once in a while all access to JFS filesystems would block indefinitely. This meant I couldn't even sync my non-JFS filesystems. Doing some searches at the time I didn't find anything about that particular bug (I figured out that it was a deadlock but didn't have the time to debug/help debug it any further), but I ran into many other reports of race conditions and corruption. Now it's back to good old ext3 for me, which works wonderfully.

    8. Re:Some general thoughts by furry_wookie · · Score: 1

      >I've heard good things about ZFS from Sun Microsystems

      ACTUALLY I have begun to hear more than a fair number of filesystem corruption nightmare stories.

      Its still too young if you ask me for full blown use.

      And its VERY limited in use right now because only a few users on a very unpopular fringe OS(opensolairs) can use it.

      --
      -- Given enough time and money, Microsoft will eventualy invent UNIX.
    9. Re:Some general thoughts by atamido · · Score: 1

      That is what my results showed, with XFS being a close second. Although, my tests show anomalous results for JFS deleting times, which leads me to believe it's lying when it says it's completed a delete.

      You can see my results and methods here:
      http://knoppmyth.net/phpBB2/viewtopic.php?p=77577#77577

    10. Re:Some general thoughts by u38cg · · Score: 1

      One warning about ext3. Unlike many other file systems, recovering from "rm essentialandunbackedupfile" is, by design, not meant to be possible, and can only be done if you're lucky and fairly knowledgeable about the workings of ext3. Trust me, I know this - I blew away my home partition because I thought it was unmounted one day. I still have it sitting there praying someone develops an effective recovery tool for ext3 (I know about ext3grep, thanks, not working for me as yet).

      --
      [FUCK BETA]
    11. Re:Some general thoughts by Anonymous Coward · · Score: 0

      I couldn't agree more with this. I too have a MythTV box and the hands on testing with ext{2,3}/reiserfs/XFS/JFS demonstrated to me large file deletion performance that JFS provides.

    12. Re:Some general thoughts by Karrots · · Score: 1

      I second the JFS quotes above.

      I was using Reiser on my Mythbox (EPIA 800) box but deleting the large video files incurred a pause. So I switched to JFS and haven't had a problem since. Its speedy. Doesn't have a fixed inode limit like ext3 and it doesn't chew up the CPU that I didn't have in that box for all operations. Reiser is speedy if you have the CPU to chew through.

      I thought about using XFS at the time but it still seemed unstable in an unstable environment. My machine has the occasional hard lockup or power failure and JFS just keeps going.

      Go with JFS.

    13. Re:Some general thoughts by Karrots · · Score: 1

      Also ext3 on larger volumes was starting to take a while to mount. JFS didn't even break a sweat mounting the volume.

  5. FS migration a la Reiser by Ethanol-fueled · · Score: 3, Funny

    However you handle your FS migration, special care must be taken to divide the task at hand into small manageable chunks. The migration must be quick and dirty, but with as little mess as possible. Most importantly, be honest with your customers -- they will decide your business' fate. Don't treat them like idiots just because they didn't design a FS.

    1. Re:FS migration a la Reiser by Anonymous Coward · · Score: 0

      Why isn't this marked as funny??

    2. Re:FS migration a la Reiser by somersault · · Score: 5, Funny

      The migration must be quick and dirty, but with as little mess as possible

      You sounds just like my wife!

      Wait, I don't have a wife. Nevermind.

      Even worse, I really didn't consider the context before I started talking about wives. Oops.

      --
      which is totally what she said
    3. Re:FS migration a la Reiser by Anonymous Coward · · Score: 1, Informative

      Because it isn't.

    4. Re:FS migration a la Reiser by Anonymous Coward · · Score: 0

      Because its not?

    5. Re:FS migration a la Reiser by billcopc · · Score: 1

      Probably because that whooshing sound has rendered me hard of hearing.

      Seriously, anyone got the Simple English version ?

      --
      -Billco, Fnarg.com
    6. Re:FS migration a la Reiser by mhall119 · · Score: 1

      Seriously, anyone got the Simple English version ?

      It's a murder joke.

      --
      http://www.mhall119.com
    7. Re:FS migration a la Reiser by Anonymous Coward · · Score: 0

      Seriously, anyone got the Simple English version ?

      When you cut your wife into small bits, don't flame your own jury.

    8. Re:FS migration a la Reiser by pipatron · · Score: 1

      Dunno, maybe because he goes on about "omg customers blah blah business" when this is obviously for the guy's home HTPC.

      --
      c++; /* this makes c bigger but returns the old value */
    9. Re:FS migration a la Reiser by omnipresentbob · · Score: 1

      Wait, I don't have a wife. Anymore.

      There, fixed that for ya ;)

    10. Re:FS migration a la Reiser by nawcom · · Score: 2, Funny

      You people are horrible. Please hand in your Geek Card as you walk out the door... so I can use it to cut off your dick and shove it in your damn mouth. No, I don't need to worry about a female geek situation because they seem to always lack the supreme stupidity that you certain retarded male few have. Shameful. Just shameful.

    11. Re:FS migration a la Reiser by Anonymous Coward · · Score: 0

      Hans? You get /. inside?

  6. " I can't foresee the future of ReiserFS" by Anonymous Coward · · Score: 0, Funny

    Neither could his wife. OH SNAP!

  7. Difficult question by JayAEU · · Score: 1

    There really aren't that many filesystems around that meet your criteria. The only one I'm aware of acutally is Ext3 and IIRC that only supports offline shrinking. Other alternatives would be VxFS, Ext4 and maybe BTRFS, but I'm not too sure about their kernel integration.

    1. Re:Difficult question by larien · · Score: 1

      Vxfs is, as far as I'm aware, the same as for Solaris and would support shrinking filesystems and/or doing online relayouts (e.g. moving from stripe to concat, changing stripe width etc). The big downside is that it's a paid for product and ain't cheap. There is a freebie version which only supports 4 volumes/filesystems if you can live with that limitation, not sure if it supports all the features of the full storage foundation suite.

    2. Re:Difficult question by lewiscr · · Score: 3, Informative

      VxFS includes a kernel module. You can't boot off it (no grub support), and it's installed after installation, so it can't be your root FS. It can be any other mount point. I generally use it for my MySQL and PostgreSQL data partitions. I would use it for /home if I had to deal with users.

      VxFS by itself doesn't support all of those features (moving from stripe to concat, changing stripe width etc). Some of those come from VxVM (Veritas Volume Manager), which is well enough integrated with VxFS that I can resize a logical volume and filesystem with a single command.

      VxFS is the only FS that I've used that can be resized while mounted. Actually, it must be resized while mounted. I've expanded and shrunk filesystems many times while MySQL was under load. It increases the disk I/O a bit, so MySQL runs a bit slower, but otherwise there was no impact.

      Not only that, I've had a machine reboot (my fault) in the middle of a complex operation (restrip the RAID0 portions of the RAID 0+1 array in preparation to convert to a RAID 1+0). VxVM and VxFS mounted the volume fine, MySQL started serving, then VxVM picked up where it left off and completed successfully. No data lost.

      In addition, a dirty 100G+ volume takes about 15 seconds to fsck. Suck that ext3.

      On any server that can wake me up in the middle of the night, I'll gladly pay for the Veritas Foundation Suite.

    3. Re:Difficult question by amRadioHed · · Score: 4, Informative

      VxFS is the only FS that I've used that can be resized while mounted

      What about ext3?

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    4. Re:Difficult question by lewiscr · · Score: 1

      That's new to me. Thanks!

      I'll upgrade my personal machines. It's always been such a PITA to umount /home to resize it.

    5. Re:Difficult question by quantum+bit · · Score: 1

      Yeah, we have some HP-UX servers at work that use VxFS and it's pretty sweet. Actually HP licenses it and uses it as the base filesystem for HP-UX. You do have to buy a separate license to use the online resizing features and such. For an enterprise server, it's well worth it.

      For my home stuff I use ZFS (on freebsd), which comes pretty close. About the only thing it doesn't do is shrinking of filesystems. I like the copy-on-write design and snapshot/clone functionality.

    6. Re:Difficult question by Anonymous Coward · · Score: 0

      XFS is better than VxFS.

      I don't even know why there isn't much mention of XFS in general. It's fast, really fast, and especially good at large filesystems and files. I believe it's the only fully 64-bit filesystem. Fast file deletion, sparse file support (VxFS does not to this), etc.

    7. Re:Difficult question by lewiscr · · Score: 1

      XFS has a different design goal than VxFS.

      <warning title="Gross Generalizations">

      • XFS's goal was to be great at streaming and editing media, so it's more optimized for large sequential I/O.
      • VxFS's goal is to make Oracle faster, so it's more optimized for small random I/O.
      • VxFS is more comparable to JFS than XFS, from a design goal point of view.

      </warning>

      Yes, I'm painting with a very broad brush, but those two optimization goals tend to be exclusive.

      Can't comment on sparse files. The only time I use sparse files is testing if something handles sparse files. They tend not to be used much with databases, which was my "enterprise focus".

      Fast file delete is misleading on VxFS. It appears to be *very* fast, but it's actually pretty slow. The filename is unlinked quickly, and the free space is reclaimed very slowly.

      They all appear to be fully 64bit. According to wikipedia, XFS has a max volume size of 8EiB (Exabytes), and VxFS has a max volume size of 16EiB. So both appear to be using full 64bit integers, but XFS is using signed 64bit integers.

      The main reason I don't mention XFS is that I've never used it. :-) I got VxFS and VxVM with Veritas Cluster, so I used them.

    8. Re:Difficult question by lewiscr · · Score: 1

      XFS's goal was to be great at streaming and editing media, so it's more optimized for large sequential I/O.

      ... which makes XFS more appropriate for a MythTV box. What was I talking about again?

    9. Re:Difficult question by sl3xd · · Score: 1

      XFS does have issues on Linux. If you always use a UPS and are able to shutdown properly, it's fine. But... a number of (neat) things didn't get translated to the Linux version that are present in the Irix version.

      There's also hardware features in the old SGI hardware that covered a few weak points in XFS's design.

      Never EVER put XFS on a Linux system that doesn't have a functional UPS attached. I worked on a product that did high availability/failover between machines. Part of the testing called for just yanking the power from the machine, to simulate power failure or a clumsy IT guy. XFS does not handle power failure events gracefully.

      One of its security features is when a new file is to be written, it'll create a zero-padded file prior to writing. If you happen to yank the power at the right moment, the filesystem remains intact, but the data on whatever files were being written to will be all zeros (ie. 18 GB of nothing, for example)

      Unfortunately (for us) this was discovered by a customer that was beta-testing the product, and some important files were lost. Needless to say, XFS & JFS were immediately disqualified for use with the product, as we found similar problems when power fails.

      --
      -- Sometimes you have to turn the lights off in order to see.
    10. Re:Difficult question by kjots · · Score: 1

      What about ext3?

      ext3 can be expanded online but not shrunk.

    11. Re:Difficult question by afidel · · Score: 1

      NTFS is resizable while mounted, extending a volume is supported on Windows 2000 and up and shrinking is supported on Windows 2008 (caveats are no boot or system volume, but you can get around that by doing an offline expansion from another install/PE)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  8. shrinkable? by gardyloo · · Score: 5, Informative

    My fastest way of checking what operations can be supported on filesystems at the present is by checking what gparted can do. Of the filesystems it works with right now, only four (jfs, reiser4, ufs, xfs) can't be shrunk using gparted.

    1. Re:shrinkable? by Anonymous Coward · · Score: 0

      only four so only 3 can be shrunk (fat and ntfs-3g aside) ?

    2. Re:shrinkable? by gardyloo · · Score: 1

      Of the 13 listed on my gparted setup, 4 cannot currently be shrunk using that tool. 13 - 4 = 9. Perhaps installing other tools (for example, reiser4progs) will change the availability of the different gparted utilities.

    3. Re:shrinkable? by Anonymous Coward · · Score: 0

      Don't forget ext3.

  9. Try Reiser's new filesystem by spun · · Score: 2, Funny

    I hear he is developing a new way to compress his logs. Something to do with packing pointers into the tail. I think it is shrinkable, but that entails the use of very cold water.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:Try Reiser's new filesystem by Anonymous Coward · · Score: 2, Funny

      I wish there was a -5 bad taste mod....

    2. Re:Try Reiser's new filesystem by spun · · Score: 5, Funny

      What? Anal rape jokes are in 'bad taste' now? When did that change? Nobody tells me anything...

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    3. Re:Try Reiser's new filesystem by Hillview · · Score: 1

      15 to life is a bit long for a development window though.

      --
      -Troll, Flamebait, and Offtopic are NOT equivalent to disagreement.
    4. Re:Try Reiser's new filesystem by Anonymous Coward · · Score: 5, Funny

      I don't know about GP, but anything involving anal tends to leave a bad taste in my mouth.

    5. Re:Try Reiser's new filesystem by halivar · · Score: 2, Funny

      Hans Reiser is working on Duke Nuke 'Em Forever, now?

    6. Re:Try Reiser's new filesystem by LWATCDR · · Score: 1

      1. Yes.
      2. I didn't.
      3. I will CC: you next time.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    7. Re:Try Reiser's new filesystem by NeoSkandranon · · Score: 5, Funny

      I think you're doing it wrong...

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    8. Re:Try Reiser's new filesystem by drcagn · · Score: 1

      It's only in bad taste when you're talking about ass-to-mouth

      --
      Scorta futuere amo!
    9. Re:Try Reiser's new filesystem by Anonymous Coward · · Score: 0

      Not long enough for Hurd development, apparently.

    10. Re:Try Reiser's new filesystem by Anonymous Coward · · Score: 0

      You're doing it wrong...

    11. Re:Try Reiser's new filesystem by Anonymous Coward · · Score: 0

      No... It's not you.
      I think he was just giving his past experience with something similar and it left him with a bad taste in his mouth...

    12. Re:Try Reiser's new filesystem by Anonymous Coward · · Score: 0

      just when I wanted to post a goatse

  10. How about - by cephalien · · Score: 4, Funny

    NTFS on Vista?

    I hear your disk space shrinks like nobody's business.

    --
    If firefighters fight fire, and crimefighters fight crime, what do freedom fighters fight? - George Carlin
    1. Re:How about - by AndrewNeo · · Score: 5, Informative

      Despite the parent trying to be funny, NTFS does support shrinking. I've used it to shrink a full disk partition down a bit to install a Linux one on the side.

      (Now queue 'no room left for Windows on the drive' jokes)

    2. Re:How about - by blind+biker · · Score: 2, Insightful

      How is the parent offtopic? Funny perhaps (at least I thought it was funny) but definitely ON topic of shrinkable filesystems.

      --
      "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
    3. Re:How about - by Anonymous Coward · · Score: 0

      "How is the parent offtopic?"

      Maybe because part of the request was for OS compatible and non-proprietary? In short, most everything NTFS is not.

    4. Re:How about - by jandoedel · · Score: 1

      you shrank it down 1 bit? to install a Linux "1" on the side? Damn, that's the smallest linux distro I've ever heard of!

    5. Re:How about - by Anonymous Coward · · Score: 0

      >Despite the parent trying to be funny, NTFS does support shrinking. I've used it to shrink a full disk partition down a bit to install a Linux one on the side.

      He's not actually talking about diminishing partition table, but more like the OS is so big that you wont have any space left for nothing else.

    6. Re:How about - by cdrudge · · Score: 2, Funny

      It's an extremely efficient compression algorithm. The only downside is that it's one way so there is no decompression algorithm to go with it. It's a bit like WOM (Write Only Memory).

    7. Re:How about - by Anonymous Coward · · Score: 0

      Or "cue" them if you prefer.

    8. Re:How about - by jez9999 · · Score: 1

      NTFS does support shrinking. I've used it to shrink a full disk partition down a bit to install a Linux one on the side.

      I think you might need to free a few more of them to install something like Linux.

    9. Re:How about - by Anonymous Coward · · Score: 0

      "How is the parent offtopic?"

      Maybe because part of the request was for OS compatible and non-proprietary? In short, most everything NTFS is not.

      While it may have been implied, OS compatible was never specified. Obviously you don't do much work with requirements docs :-)

    10. Re:How about - by Anonymous Coward · · Score: 0

      Not only can you shrink NTFS, but you can shrink it under linux using ntfsresize.

    11. Re:How about - by Anonymous Coward · · Score: 0

      cue*

  11. I can only speak for myself by UnknowingFool · · Score: 4, Informative

    For my MythTV installation, I choose ext3 for the system partitions like / and /usr and xfs for my /video partition. My system partitions are on a RAID 1 while my /video partition is a 1TB RAID 10 LVM. ext3 is more than adequate for my purposes and it does a decent job of recovery. Earlier this year my server started crashing intermittently with no messages in the error logs. I finally traced it to a bad stick of RAM and ext3 recovered in most of the cases. In one case I had to repair mysql databases, but that was the only hiccup.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
    1. Re:I can only speak for myself by Rich0 · · Score: 4, Insightful

      I would stick with ext3 - it is really the only option that meets your needs (which is why I'm using it as well). Note that I'd avoid using LVM - there is some kind of bug in some versions of LVM that causes massive data loss in some very rare circumstances. I recently lost a few hundred GB of data on a RAID due to this issue. (Google for "access beyond end of device lvm".) Ran fsck to clean up some errors after a crash while in RAID recovery mode and suddenly I had massive data loss on an entirely different lvm logical volume - it was obvious that the fsck somehow crossed the logical volume boundaries which should not be possible.

      In the end I ended up restoring critical data from backups (which did not include mythtv recordings), and watched what remained of my recordings (complete with 10 second patches of video jumping between shows). I had to completely wipe out everything on the raid and start over. I no longer run lvm - I used to swear by it but it will be a while before I go back to it. My few non-lvm partitions (root, boot) had no issues at all even though they were subject to the same treatment.

    2. Re:I can only speak for myself by Wdomburg · · Score: 1

      We have hundreds of terabytes in LVM, with no issues. Also:

      Results 1 - 1 of 1 for "access beyond end of device lvm".

    3. Re:I can only speak for myself by Dogtanian · · Score: 1

      I had to completely wipe out everything on the raid and start over. I no longer run lvm - I used to swear by it

      Lemme guess.... after this incident you were swearing *at* it instead?

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    4. Re:I can only speak for myself by digerata · · Score: 1

      Same here. Same exact story. I'll never touch LVM or any software RAID again. I lost 300 GB of data. In the blink of an eye.

      --

      1;
    5. Re:I can only speak for myself by Anonymous Coward · · Score: 0

      Try it without the quotes

    6. Re:I can only speak for myself by bigredradio · · Score: 1

      Looks like you are talking about a problem creating snapshots. It appeared that users don't understand how snapshots work and created them too small. Then the COW functionality fails because the snapshot LV fills up. It needs to be large enough to handle changes that are made during the time the snapshot is created.

      You are welcome to NOT use LVM, however, until there is another Volume Manager for Linux (that does not cost money), this is our best option. ZFS is promising, but still far from being included in the kernel as standard.

      When you mention "critical data" and mythtv recordings, you obviously do not use Linux in a large IT department. LVM is crucial for production systems. Just about every Unix has some form of LVM. LVM for linux is based on HP-UX's implementation. The "rare" instance you are talking about, does not out-weight (in my opinion) the benefits of LVM.

    7. Re:I can only speak for myself by Rich0 · · Score: 1

      Actually - I wasn't using snapshotting at all.

      I didn't really want to spell out all the dirty details... I don't consider my TV critical - so I haven't invested in the resources to properly backup hundreds of GB of mpg files. I do consider a subset of my data critical, so I routinely back that data up to a separate system (which is located offsite much of the time, and easily carried with me if the house catches on fire).

      So, when the data got hosed I just copied what I could to another computer (glitches and all), wiped everything down to the md drives, and then repartitioned. I then restored backups and also glitchy versions of stuff like TV where I can tollerate errors.

      Like I said - I used to swear by LVM. In the right circumstances I would still use it. Those circumstances would include full backups of anything that I'd be annoyed at losing. I already miss some of the flexibility of LVM - I ended up making a few larger partitions on separate raid devices - I can always grow the filesystems if I enlarge my RAID, and now that my system is mostly full of drives I'm unlikely to move volumes around much.

      This issue is obviously rare - no question about it. However, if you're a typical home user who isn't going to invest in 100% backup coverage it would give me pause. When you're talking about DVRs full backup coverage starts getting expensive, and I'm not sure anybody in my family really missed losing the odd TV episode - especially with re-runs all the time. Everything in /etc, /home, and stuff like mysql dumps were backed up.

      I guess the other lesson here is ALWAYS BACK UP ANYTHING IMPORTANT. Fancy tools like software RAID, LVM snapshots, etc are all nice, but backups on completely separate media will protect you from a lot of logical errors.

      In the meantime, I continue to wait for ZFS (which is not growable/shrinkable yet - that would be a necessary condition in addition to some maturity and preferably non-FUSE).

    8. Re:I can only speak for myself by Gazzonyx · · Score: 1

      How is your performance with ext3 on top of LVM? LVM is great in theory, but in practice, I've always found it 'feels' slow (I haven't tested the theory, but it seems well enough pronounced that I feel comfortable going with my intuition). I thought that it was just because the volumes were spread all over (increased seek time), but it seems slow even for short stroked volumes on top of RAID. I've tried everything - aligning my strides to the RAID array, different sized chunks, and every time the result is that LVM just feels clunky when compared to a file system running on top of bare metal. Have you experienced this at all?

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    9. Re:I can only speak for myself by Cato · · Score: 1

      Very interesting - I did have this exact error (just checked the logs again, it was "attempt to access beyond end of device") on an LVM hosted ext3 filesystem back in Ubuntu Breezy (5.10, kernel 2.6.12). Luckily it was only a backup volume, and this didn't happen again. It happened after I extended a partition from 50 to 70 GB - so it's possible it's a bug related to that.

      I'm still using LVM on more recent versions of Ubuntu, and I'd really hope this bug is fixed. I have done more resizes since then without problem.

      There's no getting around the fact that you need good backups of any data, whether it's held on LVM, RAID, or whatever - bugs or user error can wipe out your data, so a backup on another machine, preferably offsite, is essential.

    10. Re:I can only speak for myself by UnknowingFool · · Score: 1

      I don't put LVM on my ext3 partition. It's a simple RAID1 (mirrored). For my /video partition, I put xfs, but I haven't noticed any sluggishness. I don't do anything that would test the performance though.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    11. Re:I can only speak for myself by Anonymous Coward · · Score: 0

      You either fail at Google or humor. I'm not sure which is worse.

  12. LVM + EXT3 by xgr3gx · · Score: 3, Interesting

    I would use LVM and EXT3.
    You can use LVM to change the size of the partition, and then use resize2fs to shrink it to fit the LVM
    Google around, you'll find some good docs
    Found here:https://www.redhat.com/archives/nahant-list/2007-March/msg00004.html
    fsck
    resize2fs (resize to smaller then needed)
    lvm (resize to the size needed)
    resize2fs (grow to fill LVM vol.)

    --
    Shameless plug alert: Game server control panel
    1. Re:LVM + EXT3 by bigredradio · · Score: 1

      Sorry to be the accuracy police, but LVM does not change the size of the partition. You can change the size of the Logical Volume which filesystems are built on. The idea of LVM is to not use partitions, but use a virtual device that is more flexible. Also, you can easily grow filesystems, but shrinking is not supported by resize2fs. (AFAIK)

    2. Re:LVM + EXT3 by xgr3gx · · Score: 1

      Well, logical volumes I mean. Guilty as charged, accuracy officer. I thought you could specify a file system size with resize2fs, and choose a smaller one.
      Oh well, never really had to shrink a filesystem :)

      --
      Shameless plug alert: Game server control panel
  13. For a shrinkable version... by Starlet+Monroe · · Score: 1, Funny

    ...how about Caylee Anthony?

    --
    ++
    1. Re:For a shrinkable version... by Anonymous Coward · · Score: 0

      That's just plain wrong. And I am sure there is a spot being reserved in hell for me as result of the chuckle I let out when I read your post.

    2. Re:For a shrinkable version... by spiderbitendeath · · Score: 1

      I'll be meeting you there, cause I did too.

      --
      Sometimes when I'm working on projects things disappear, I suspect gremlins.
  14. Why switch? by donscarletti · · Score: 5, Insightful

    ReiserFS works. It is merged with the mainline kernel trunk so it will be able to secure enough man power to at least avoid bit-rot and incompatibility to future kernel versions. You don't have to worry about suddenly losing your files now Hans isn't involved in the project, some kernel modules have gone for years without an update and still work. I doubt that this will even become one of them since so many people are using this file system and lets face it, it is a good file system nomatter who wrote it (lets not forget he was a known arsehole before he killed his wife and it didn't matter then).

    The worst thing that could happen is ReiserFS slowly falling into disuse and becoming deprecated in three or four years, you will have plenty of time to worry about this later, just take a deep breath and put down your file system tools, this will all be OK.

    --
    When Argumentum ad Hominem falls short, try Argumentum ad Matrem
    1. Re:Why switch? by corbettw · · Score: 3, Insightful

      The worst thing that could happen is ReiserFS slowly falling into disuse and becoming deprecated in three or four years, you will have plenty of time to worry about this later, just take a deep breath and put down your file system tools, this will all be OK.

      There are two problems with this:

      1: That's not the worst case scenario. The worst case scenario is someone discovers a critical flaw in the filesystem that suddenly puts your data at risk. Yes, I know, this isn't likely with filesystems, but it is at least theoretically possible. Which makes it the "worst case".

      2: You're proposing a reactive method of systems administration. This might be fine for a hobbyist who doesn't care about his system(s), but for a production environment this is playing with fire. You know that support for ReiserFS will disappear (unless you know for a fact that another person/group has stepped up to provide support); why wait until the last possible second, when you'll only have more work to do, to migrate your systems to a new filesystem? Don't put off to tomorrow that which can be done today.

      --
      God invented whiskey so the Irish would not rule the world.
    2. Re:Why switch? by Anonymous Coward · · Score: 1, Informative

      2: You're proposing a reactive method of systems administration. This might be fine for a hobbyist who doesn't care about his system(s), but for a production environment this is playing with fire. You know that support for ReiserFS will disappear (unless you know for a fact that another person/group has stepped up to provide support); why wait until the last possible second, when you'll only have more work to do, to migrate your systems to a new filesystem? Don't put off to tomorrow that which can be done today.

      Exactly. Start looking at alternatives right now. Put together a test environment to see how the new filesystem holds up to abuse. Schedule some downtime and start moving the data over with minimal disruption to your clients.

      Then sit back and relax knowing that you won't be scrambling for a new filesystem at the last minute later on.

    3. Re:Why switch? by david.given · · Score: 1

      Yeah, I agree. ReiserFS does its job really well. There are some issues --- apart from not getting terribly good maintenance any more, there's an issue with hash collisions meaning that you can't put some combinations of files into a directory, which Debian can trigger occasionally --- but it's still a perfectly serviceable, production quality filesystem. I'd love for someone to adopt it and do maintenance.

    4. Re:Why switch? by jd · · Score: 1

      Bear in mind Intermezzo and CODA were merged with the baseline, and suffered bit-rot. The kernel module for dynamic device numbering also died inside the mainstream, despite fairly heavy usage by the distros. Although it improves the odds of survival, it's not a guarantee of it. It's not much of a guarantee of quality, either - Lustre absolutely beats the carp out of GFS2 and Oracle's cluster file system. (Oracle don't even use the filesystem they donated to Linux, far as they're concerned, it's abandonware.) This doesn't mean ignore what is in the kernel, that should always be the first place to look, but never assume that it's either safe or optimal.

      --
      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)
    5. Re:Why switch? by LWATCDR · · Score: 2, Insightful

      I do agree with your points but.
      This guy was using ReiserFS on his MythTV box. He may or may not be using it on other Linux boxes but that was not clear.
      Sounds to me like this is a hobbyist.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    6. Re:Why switch? by mlwmohawk · · Score: 2, Insightful

      2: You're proposing a reactive method of systems administration. This might be fine for a hobbyist who doesn't care about his system(s), but for a production environment this is playing with fire. You know that support for ReiserFS will disappear (unless you know for a fact that another person/group has stepped up to provide support); why wait until the last possible second, when you'll only have more work to do, to migrate your systems to a new filesystem? Don't put off to tomorrow that which can be done today.

      The point I think you miss is the useful lifetime of a disk and system. Lets say he uses ReiserFS on his disks on a brand-new computer.

      Addressing your first problem: critical flaw, the probability I'd bet is fairly equal across the board. So your choice of file system neither increases nor decrease (significantly) your chance of a critical flaw. If it did, you would exclude that file system in general.

      Second, a "file system" is not necessarily an integral component of the technology. Its just a generic storage mechanism, you can copy data from one file system to another and as long as the copying process did not fail, your data is still usable.

      If ReiserFS becomes a problem in a couple years, its time for a system upgrade anyway, so just copy the files to your new computer (or hard disk) with a different file system.

    7. Re:Why switch? by the_B0fh · · Score: 1

      can't put some combinations of files into a directory

      IDGI. How is that

      "production quality filesystem"

    8. Re:Why switch? by illumin8 · · Score: 1

      (Oracle don't even use the filesystem they donated to Linux, far as they're concerned, it's abandonware.)

      That may be true if you're talking about OCFS, which is deprecated by OCFS2. Oracle does actively use OCFS2, and fully supports it for a variety of purposes. Kernel modules for most commercial Linux distros are released about 24 hours after a patch, and it seems to work great for my purposes. I would be interested in something like Lustre, if it were supported by companies like Oracle and Red Hat.

      --
      "When the president does it, that means it's not illegal." - Richard M. Nixon
    9. Re:Why switch? by Punto · · Score: 4, Insightful

      This might be fine for a hobbyist

      The guy is building a computer to watch tv.

      --

      --
      Stay tuned for some shock and awe coming right up after this messages!

    10. Re:Why switch? by Enderandrew · · Score: 1

      I agree. Reiser4 is likely to vanish due to lack of interest and support, which is sad because it remains one of the most promising file systems out there.

      ReiserFS was already abandoned by Hans and Namesys well before the murder trial. It is in kernel, and maintained by the kernel team. I'm not sure that is going to change.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    11. Re:Why switch? by Anonymous Coward · · Score: 0

      Don't put off to tomorrow that which can be done today.

      You must be new here.

    12. Re:Why switch? by ArsonSmith · · Score: 1

      Point one is applicable to any filesystem and not just one who's lead developer is in jail.

      Point two should be handled during the companies standard hardware and software refresh cycle.

      It's not like if Linus was hit by a bus that all of a sudden all Linux systems would crash.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    13. Re:Why switch? by Anonymous Coward · · Score: 0

      I disagree. I don't think a "critical flaw" that puts your data at risk is the "worst case".

      I think the "worst case" would be that aliens visit the Earth to bring us enlightenment, but when they discover that our society abides using filesystems developed by convicted murderers, they turn hostile and redirect the orbit of the earth into the sun.

      Only slightly less bad would be having to abide another retarded "killer" filesystem joke.

    14. Re:Why switch? by ArsonSmith · · Score: 1

      because it is nearly impossible to hit this bug and it is not of any real serious problem

      https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/116803

      and how to avoid it:


      mkreiserfs -h tea /dev/hdc1

      This will make a ReiserFS-formatted file system on the device /dev/hdc1 (first partition on the first drive on the second IDE channel). The -h command specifies the hash name to use (you can select between tea and rupasov). The rupasov hash (the default) is the fastest, especially for extremely large directories with sequentially named files, but the drawback is that it has a higher probability of hash collisions. A hash collision means that the system will suddenly refuse to create a file with a certain name even if there is enough free space on the disk. The tea hash is a cryptographic hash, but it is slower and has a lower probability of a hash collision. Since data retention should be of primary importance, I suggest using the tea hash, even if you do suffer a small performance hit for using it. If you need to, you can also specify the block size after the device, but if you omit it, mkreiserfs will determine the best block size to use.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    15. Re:Why switch? by geekgirlandrea · · Score: 2, Insightful

      Sadly, something being in the mainline kernel is no guarantee of avoiding bit-rot. I've been maintaining an elaborately modified version of the Cyclades PC-300 driver for years for precisely that reason. The SMP startup code on sparc64 has a race condition involving a shared buffer for passing params into PROM calls; I know this has been in the current kernel for at least the past year, but I believe it can only occur even in principle on machines with at least three processors. In practice the probability of a conflict rises with the number of processors; I have only been able to demonstrate it using at least five, and the 12-CPU E4500 I originally encountered it on seems to have only a single-digit-percentage chance of booting without a patch to acquire prom_entry_lock at the appropriate point.

      Now, it seems hard to imagine ReiserFS will decline to that level of obscurity any time soon, but it certainly is possible for code in the mainline kernel to stay broken for a long time.

    16. Re:Why switch? by Anonymous Coward · · Score: 0

      Wow. If there is indeed a case worse than this, I'm unable to imagine it... We should all immediately abandon all use of ReiserFS just in case.

    17. Re:Why switch? by BitZtream · · Score: 1

      The only problem is that you are way to melodramatic.

      First off, worst case scenario is he looses a couple weeks worth of DVR recordings, hardly the end of the world or a major reason to rush into a stupid choice because you were in a hurry. So lets assume worst case happens ... damn, now he has to tell his DVR to record the reruns of the shows that got lost, and he MAY have to actually download a torrent of one or two that doesn't rerun right away. Life is fucking hard when your freaking out about the potential that you MAY say something like 'I lost 2 weeks worth of Lost'

      Tomorrow a sudden previously non-existent bug is not going to show up. The bug is already there or its not. Its highly unlikely that his DVR box is going to expose a bug that no one else has ever seen. If you said a database/fileserver at google I might understand that possiblity, but on a PVR box? Its doing the same stuff every day, the same way, under relatively no load on the file system. DVRs aren't exactly hard core machines, the single most demanding part is compression, which has nothing to do with the disks! Its far more likely that that some random driver for some other component is going to thrash the kernel and fuck up his filesystem than reiser4 itself doing the deed, so you should probably freak out some more and never use computers due to the possiblity that a bug may exist.

      The code is now effectively frozen if no one else ever decides to step up and work on enhancements. Most people I know, would much rather have frozen code that works well than actively developed code that breaks from that new feature added yesterday. This is why we have 'releases' and people use 'releases' in production until they have a reason to patch. And if the patch doesn't in any way apply to them, most people won't bother applying it!

      Second, if you were a sys admin in my organization you'd better be in highschool still, or I'd fire you for this post. You are proposing an over-reactive, uninformed, knee-jerk reaction that I expect from a 15 year old in his moms basement playing with Linux. Proactive is one thing, changing something that works perfectly just because a developer is no longer working on it is about the most ridiculous thing I've ever heard of. How can you use computers? How many of the original engineers that designed your processor STILL work on the design? How many developers that wrote code that you use from Linux are STILL working on Linux? Why are you still using Linux since they've left and that code may never get worked on again? The same applies to pretty much every single object created by man.

      Migrating to a new filesystem isn't even a complex task, its not like he needs 6 months to plan and figure out how to do a migration, hell google could probably migrate everything to a new FS in a matter of weeks if they wanted to. His little PVR box would be slightly simpler I would think. Theres absolutely no reason to rush this choice.

      The thing hasn't even been marked as depreciated yet, why switch now? You don't KNOW whats going to happen to ANY of the filesystems next week. We can make some educated guesses and say things like Ext3 fs isn't going away next week, but should a bus hit all of the major developers involved in it tomorrow, are you going to stop using Ext3 FS? You might, but most of the SANE people on the planet would wait and see what happens.

      As has been said in other posts already, there is a LOT of kernel code that hasn't been changed in YEARS and works just as good now as it did before. Its just stupid to think Reiser4 is going to disappear anytime soon.

      Why do it today, then find out tomorrow that the FS you have just decided to switch too has been depreciated instead or the lead developer for it just got busted for selling crackrocks to all the people who use his filesystem, and ReiserFS has been picked up by another group of developers. Or hell, Hans works on it from jail, they let you have Internet access in jail you know, its no

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    18. Re:Why switch? by corbettw · · Score: 1

      Second, if you were a sys admin in my organization you'd better be in highschool still, or I'd fire you for this post. You are proposing an over-reactive, uninformed, knee-jerk reaction that I expect from a 15 year old in his moms basement playing with Linux. Proactive is one thing, changing something that works perfectly just because a developer is no longer working on it is about the most ridiculous thing I've ever heard of. How can you use computers? How many of the original engineers that designed your processor STILL work on the design? How many developers that wrote code that you use from Linux are STILL working on Linux? Why are you still using Linux since they've left and that code may never get worked on again? The same applies to pretty much every single object created by man.

      Oh my god, you're right, I'm an idiot for not wanting to use software or systems that don't have support contracts available. Whatever was I thinking? It's so much better to work like a cowboy and keep everything running with spit and bailing wire until it falls apart, then fix things.

      What in my original post said that everything should be ripped out next Friday? Plan it out, and if you have hardware or OS refreshes in the future, do it then. If you don't, find a time that fits your other organizational needs. But don't wait until the system breaks and do it in a sudden rush and panic, plan ahead so that fires don't start in the first place. Why would you even argue against that approach? Do you like getting pages at 2am in the morning? I sure as hell don't, and if you ran your shop that way I wouldn't work for you, in the first place (though I might try to take your job away by going to your boss and pointing out your flaws).

      Let me guess, you've never been responsible for more than a few hundred systems at a time, have you? Go run multiple datacenters with thousands of servers, then tell me how willing you are to use something that doesn't have support available.

      And to be clear, this isn't just "one developer" who's no longer available, it's the owner of the company and in all likelihood the company won't exist for much longer. If he had structured it as a corporation and transferred his shares to trusted employees, it would be a non-issue. But he failed to mitigate the risk that he would not always be at the helm, and now his customers are screwed. Or did you not recognize that point, either? Because with your years of experience in risk management, it should've been plainly obvious.

      --
      God invented whiskey so the Irish would not rule the world.
    19. Re:Why switch? by Anonymous Coward · · Score: 0

      !???! What utter crap. Your theoretical worst case scenario is an "unfixable" critical flaw and is "theoretically" true for all file systems. You can't know ahead of time if a "critical flaw" will ever happen or if one is found it will be fixable.

      A more likely scenario would be that the support for the file system will be dropped from the kernel. If you are a reasonably adept IT person you will be aware when this is going to happen and plan for it accordingly. It could be years before that happens if ever.

      There is a reason for the phrase "if it ain't broke, don't fix it". This is especially true for a production environment and why you don't change them willy nilly.

    20. Re:Why switch? by the_B0fh · · Score: 1

      because it is nearly impossible to hit this bug

      Is this the current standard for a

      production quality filesystem

      ?

    21. Re:Why switch? by rtechie · · Score: 1

      Oh my god, you're right, I'm an idiot for not wanting to use software or systems that don't have support contracts available.

      Who provides support contracts for home-built MythTV boxes? None of what you're saying applies to this situation.

      But his core complaint is valid. Replacing a system that you KNOW is working based on the (in this case, extremely small) possibility that a major bug will occur somehow is usually bad practice. You're assuming that the replacement will be perfectly "drop in" and will be bug-free. This is just wrong. What almost always happens is that the replacement WILL have bugs when deployed. Adopting a new system that will DEFINITELY have bugs at deployment to replace a system that is currently bug-free and MIGHT experience a bug sometime in the future is stupid and a waste of money.

      You replace systems when the NEED to be replaced, either because a new requirement has arisen that requires a new system to meet or because the the current system is experiencing a serious problem.

      Go run multiple datacenters with thousands of servers, then tell me how willing you are to use something that doesn't have support available.

      Fact: There is lots of stuff in your datacenter right now that has no support contracts and/or those contracts are useless. I've run a datacenter, and I know at some point in any large complex install you have to rely on unsupported tools. Ex. Where are you getting the support contract for OpenSSH?

    22. Re:Why switch? by ArsonSmith · · Score: 1

      Ok, let me rephrase it:

      It is nearly impossible to hit this bug while useing the performance enhanced mode and even if you do hit it there is no data loss or security issues involved.

      You are unable to hit it if you chose to go with the slightly less performance hash generation.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    23. Re:Why switch? by Anonymous Coward · · Score: 0

      2: You're proposing a reactive method of systems administration. This might be fine for a hobbyist who doesn't care about his system(s), but for a production environment this is playing with fire.

      Yes, I'm sure the OP's MythTV system is a 100% critical production server, as opposed to the hypothetical "hobbyist" system you think this could possibly work well for...

    24. Re:Why switch? by rahvin112 · · Score: 1

      You don't see me criticizing your job do you?

    25. Re:Why switch? by the_B0fh · · Score: 1

      It is nearly impossible to hit this bug while useing the performance enhanced mode and even if you do hit it there is no data loss or security issues involved

      I would never deploy a file system in production. I know of no sysadmin who would. And who says theres no data loss? You just lost the data that was going to be written to the second file.

      Reiserfs has signicant issues, including the corruption that is possible when you store an image of the filesystem in the filesystem. Doesn't anyone read wiki anymore? http://en.wikipedia.org/wiki/ReiserFS and look for the Criticism section. HOW TO FUCK CAN THIS BE CONSIDERED PRODUCTION QUALITY?!

    26. Re:Why switch? by jyurkiw · · Score: 1

      This might be fine for a hobbyist

      The guy is building a computer to watch tv.

      The new season of Heroes starts soon. I'd call that "extremely flammable" at least where data-loss is concerned!

    27. Re:Why switch? by Anonymous Coward · · Score: 0

      If you were any one in IT in my org, I'd fire you for not understanding the difference between 'depreciated' and 'deprecated' at the same time you were trying to emphasize it's lack of importance.

      Rot is significant deal in any IT organization. It's the difference between a well maintained, patched system and the legacy novell system in the corner that everyone's afraid to touch because "it's been there so long no one knows how to fix it". When things have been, or are about to be, sunsetted, it behooves anyone worth two squirts of piss to HAVE A PLAN.

    28. Re:Why switch? by Anonymous Coward · · Score: 0

      You know that support for ReiserFS will disappear

      No.. you assume that ReiserFS will disappear.

    29. Re:Why switch? by mcsuper5 · · Score: 1

      2: You're proposing a reactive method of systems administration. This might be fine for a hobbyist who doesn't care about his system(s), but for a production environment this is playing with fire. You know that support for ReiserFS will disappear (unless you know for a fact that another person/group has stepped up to provide support); why wait until the last possible second, when you'll only have more work to do, to migrate your systems to a new filesystem? Don't put off to tomorrow that which can be done today.

      How often is FAT32 updated? I'm pretty sure the kernal still supports FAT12 and FAT16. Considering the popularity of reiserfs there will be plenty of warning before it is dropped, and there isn't any particular need to upgrade to a new filesystem. Filesystem migration shouldn't be a nightmare in any case, unless you image drives to back them up instead of backing up files.

    30. Re:Why switch? by julesh · · Score: 1

      You know that support for ReiserFS will disappear (unless you know for a fact that another person/group has stepped up to provide support); why wait until the last possible second, when you'll only have more work to do, to migrate your systems to a new filesystem?

      Because there's absolutely no reason to believe that support will disappear. ReiserFS isn't a one-man project that nobody's ever heard of. We're talking about the default filesystem in use by at least one mainstream distribution (SuSE), who have provided significant support for its development in the past. There's no reason to believe that support will dry up, as it would be against SuSE's interests to do so (leaving their customers with difficult issues to solve).

      Don't put off to tomorrow that which can be done today.

      Why not?

      Seriously: even if you accept that there's a 90% chance reiserfs will not be supported in some future kernel version, why change now? All other things being equal, your time now is more valuable than the same amount of time in the future (this is basic economic truth, related to the time value of money and the basic understanding that time is valuable). Your expected expenditure of time in the future is only 90% of what you would spend to change the fs now. So you actually gain by deferring the task.

      The same is true in many cases; by deferring a low-value task you can spend your time on a higher-value one instead. Sometimes when you do this the low-value task becomes irrelevant and can be abandoned.

      Now, if you expect this migration to become harder in the future, obviously now is the time to do it. But I see no indication that it will become harder, so why do it now?

    31. Re:Why switch? by BitZtream · · Score: 1

      Oh my god, you're right, I'm an idiot for not wanting to use software or systems that don't have support contracts available. Whatever was I thinking? It's so much better to work like a cowboy and keep everything running with spit and bailing wire until it falls apart, then fix things.

      Pick a number between 1 and infinity. Add 18 zeros. That is the wager for our bet. Now, assuming you had a job running a data center, I will wager that amount of money that you do not have every single thing in your data center covered by a support contract. I'll double or nothing it afterwords, because I'm pretty confident I can come around and find several things you probably think you are covered on, but the most your support contract will get you is a refund. You're an ignorant manager at best, no way you actually do the work.

      Do you like getting pages at 2am in the morning?

      Again I make the statement, switching to a new FS isn't going to change if/when you get that page. Its not like a FS bug is going to be time delayed so that its going to break down in 3 days because Hans isn't hitting a dead man switch on his website. Really, where the hell do you come up with this fear? So great, he makes the switch, and tomorrow, his new FS still craps all his data out. The difference? In a few days he'll maybe have a patch that he can apply to all his machines to fix the bug, but no matter how you look at it, its likely the damage done to the data is done anyway. Changing to a new FS is in no way going to change that fact.

      And to be clear, this isn't just "one developer" who's no longer available, it's the owner of the company and in all likelihood the company won't exist for much longer. If he had structured it as a corporation and transferred his shares to trusted employees, it would be a non-issue. But he failed to mitigate the risk that he would not always be at the helm, and now his customers are screwed. Or did you not recognize that point, either? Because with your years of experience in risk management, it should've been plainly obvious.

      Its open source ... the company can disappear and I'll still be able to work on it. It was plainly obvious to those of us who looked at the picture, not you who jumped to panic mode without evaluating the situation. You do know its open source right? Or did you not know that? You know you can compile open source software yourself, with patchs, right? You know some random person anywhere can make a patch and put it on a web page, and you can evaluate it to see if it will fix your problem right?

      So ... somewhere you answered no to one of those questions I have to believe or you wouldn't have made the original statement you did. Answering no to any of those questions immediately disqualifies you from being capable of handling any sort of 'datacenter'. Again, your moms basement and 16 DSL lines for bandwidth does not count.

      Again I say, I'd fire you instantly for the original comment. Now this one? Please go back to working registers at k-mart or whatever job you had before you took your MCSE tests and became a bad ass admin. We have enough idiot managers wasting time and money and our risking data, we don't need any more of you. Its these exact sort of reactions, where you think your more important that you actually are, that result in pages at 2 am, cause your dumb ass paniced and switched everything to a new FS without evalutaing the situation, then it breaks ... mean while, every other box in the world which uses reiser4 continues working because they aren't effected by the theoretical bug that didn't exist.

      Also, please tell us about the big data centers you run so we make sure we don't trust our sensitive data to anything you are involved with.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    32. Re:Why switch? by BitZtream · · Score: 1

      I almost forgot to add.

      My data center is bigger than your data center.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    33. Re:Why switch? by ArsonSmith · · Score: 1

      "I would never deploy a file system in production."

      Yea just randomly write data to raw devices. That should work much better.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    34. Re:Why switch? by the_B0fh · · Score: 1

      OK, so I made a typo. "I would never deploy this file system in production."

      Happy now?

    35. Re:Why switch? by ArsonSmith · · Score: 1

      I like your original better. What about the unknown problems of any filesystem. At least this is a known issue and can be watched for.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    36. Re:Why switch? by the_B0fh · · Score: 1

      So, you're saying your quality production filesystems include known bugs because other filesystems may have unknown bugs? When other filesystems not only do not have these bugs, but also do not have the bugs listed in the Criticism section in the wiki I had posted earlier?

      I'm glad you don't work for me.

      No wonder Microsoft is able to sew up the market like this. 65000 known issues in the release of windows 2000? *pshaw* It's just as good as other systems because the other systems have unknown bugs.

  15. Try SGI's XFS! by Anonymous Coward · · Score: 0

    I have been using SGI XFS for years and it has proven to be one of the best overall filesystems I've ever used.

    It performs well under heavy load (used it on shared development machines); it handles large files well; plus it has been very reliable.

    1. Re:Try SGI's XFS! by Anonymous Coward · · Score: 1

      He did. Did you RTFA?

    2. Re:Try SGI's XFS! by EsbenMoseHansen · · Score: 2, Insightful

      Originally, XFS lacked support for the equivalent to write:ordered in ext3. In practice that meant that while the metadata would be intact, your files (and thereby directories) might be blobs of zeros/gone. That is probably what happened to him, and it is what happened to me when I used it long ago. I think I have read that XFS has gotten this capability later. For the topic, I'd recommend ext3 too. It's proven, can do the online grow/offline shrink that is so handy, has 3 different settings for speed/reliance, and is well supported. But I am not a sysadmin.

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    3. Re:Try SGI's XFS! by Anonymous Coward · · Score: 1, Informative

      Sucks you got modded down but I'll back you up. As someone who manages a security research lab of 80 machines running XFS I've never seen a single XFS problem. The one time we had a corrupted XFS system it turned out to be the SCSI controller. XFS doesn't support shrinking a filesystem but it does support growing the filesystem in place while mounted. XFS is also the only linux filesystem to have a native defragger (xfs_fsr).

      Ext3 on the other hand is not robust. Under heavy IO it simply corrupts its state and panics. Try putting 40 reader/writer processes on a 1TB filesystem doing 20MB/s random IO for a month. I guarantee Ext3 will kernel panic before the month is up and trash the filesystem in the process. Ext3 is also the slowest linux filesystem to boot.

      ReiserFS has an incomplete toolset to check and fix the filesystem after an unclean shutdown. As such it can't be considered for serious use.

      JFS from IBM looks good feature wise but the performance tanks when doing parallel IO. If you have an application that supports high concurrency doing disk operations stay away from JFS.

  16. Is Linux a hard requirement? by Just+Some+Guy · · Score: 4, Interesting

    If you can use something other than Linux, then ZFS is the winner. Take a look at the FreeBSD ZFS Quick Start, particularly the examples. That's possibly the coolest filesystem demo I've ever seen.

    --
    Dewey, what part of this looks like authorities should be involved?
    1. Re:Is Linux a hard requirement? by xgr3gx · · Score: 1

      That's a cool guide, ZFS looks pretty sweet.

      --
      Shameless plug alert: Game server control panel
    2. Re:Is Linux a hard requirement? by ge · · Score: 2, Informative

      You will need at least 8G of RAM. ZFS is an enterprise file system, which needs big hardware. So run 64-bit FreeBSD and get lots of memory.

    3. Re:Is Linux a hard requirement? by Just+Some+Guy · · Score: 3, Informative

      That's highly dependent on how many filesystems you have, and across how many drives. I got by just fine with AMD64/2GB on a 750GB SATA drive and maybe 20 filesystems.

      --
      Dewey, what part of this looks like authorities should be involved?
    4. Re:Is Linux a hard requirement? by pipatron · · Score: 1

      Citation needed. What are you talking about? 8GB for a file system? Doing what?

      --
      c++; /* this makes c bigger but returns the old value */
    5. Re:Is Linux a hard requirement? by Solra+Bizna · · Score: 2, Informative

      You will need at least 8G of RAM.

      That's just not true. I have two 320GB hard drives in a ZFS mirror, with no less than 64 filesystems, and "only" 1GB of RAM. I had a slightly smaller non-mirrored array for a long time on a weaker machine (32-bit, 512MB RAM) with no problems also.

      This is under FreeBSD.

      -:sigma.SB

      --
      WARN
      THERE IS ANOTHER SYSTEM
    6. Re:Is Linux a hard requirement? by msdschris · · Score: 1

      BS, It runs fine on my X2100 with 1GB and Solaris.

    7. Re:Is Linux a hard requirement? by Anonymous Coward · · Score: 0

      your suggesting to move from Linux the year it is going to takeover the desktop ... pbbbsshhh!!! is this /.?

    8. Re:Is Linux a hard requirement? by Anonymous Coward · · Score: 0

      ZFS under fuse gives fairly good performance from what benchmarks I have seen.
      It is ashame reiser4 doesn't seem to be going anywhere. Stay with reiserFS as long as you can.

    9. Re:Is Linux a hard requirement? by LeafOnTheWind · · Score: 1

      I ran a high volume, 24/7 uptime file server on FreeBSD for 6 months. I had 2 GB of ram, an Intel Core 2 Quad, 2 GB of RAM, and 5 SATA drives in a 3 GB RAIDZ with close to a terabyte of daily throughput. I would have a kernel panic every two weeks.

      The worst bug is this:

      Heavy IO activity between ZFS and another file system (like rsyncing between ZFS and UFS or between ZFS and NFS) may result in a deadlock. Symptoms: processes wanting to do IO on a ZFS file system get stuck forever in "zfs" state (WCHAN), other file systems (e.g. UFS) are still working.

      I could only handle about 3 days without having this lockup. There is no known fix. ZFS in FreeBSD is EXPERIMENTAL and should not be used for high availability filesystems.

    10. Re:Is Linux a hard requirement? by Anonymous Coward · · Score: 0

      I know it is not trendy to say this, but ZFS is NOT the solution to every problem. For a stable mythtv backend system there is no need to use a file system like ZFS when ext3 will have much lower resource utilization and overall throughput.

    11. Re:Is Linux a hard requirement? by Anonymous Coward · · Score: 0

      I lost a 200GB zfs filesystem, twice. Turns out that if the metadata gets corrupted, they don't have any tools (or at least none they would admit to/share) like fsdb to go in and fix it. Never again.

  17. Ext3? by Conception · · Score: 4, Informative

    Ext3 with LVM seems to be the popular way to go about this. Unless you really want an esoteric solution, from your requirements I don't see a reason to stray from the norm.

    1. Re:Ext3? by BobPaul · · Score: 1

      Indeed. Once can add mount flags such as data=journal and noatime to bring performance very close to and occasionally exceeding Reiser3. IBM had an article about this years ago but more recent benchmarks and performance tuning guides do exist.

  18. jfs2 by Anonymous Coward · · Score: 1, Informative

    jfs2 can be shrinked on AIX, not sure of its support on linux

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

      shrunk

  19. As long as you're asking by overshoot · · Score: 3, Interesting

    ... I'm much more interested in a cache filesystem that will use local storage as a cache for network storage. Our corporate computing is horribly bottlenecked at the NAS while we have hundreds of gigabytes on every server and workstation sitting unused.

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
    1. Re:As long as you're asking by Anonymous Coward · · Score: 0

      I believe this fits your requirement:
      http://en.wikipedia.org/wiki/Andrew_File_System

    2. Re:As long as you're asking by pipatron · · Score: 1

      Andrew File System (http://en.wikipedia.org/wiki/Andrew_File_System or http://en.wikipedia.org/wiki/OpenAFS) should be what you're looking for, but I hear it's a bitch to set up. For a company it shouldn't be a problem though.

      --
      c++; /* this makes c bigger but returns the old value */
    3. Re:As long as you're asking by greed · · Score: 1

      I'll second the bitch to set up. Especially since I decided to use Kerberos5 instead of 4, and the getting started doco all still uses the krb4 included with AFS for its explanations.

      I really should turn what I've done so far into a HOWTO some time....

    4. Re:As long as you're asking by Anonymous Coward · · Score: 0

      use afs, it has local caches.

    5. Re:As long as you're asking by pipatron · · Score: 1

      Please do. I've been wanting to try it out for ages, but I'm too scared. :P

      --
      c++; /* this makes c bigger but returns the old value */
    6. Re:As long as you're asking by javabsp · · Score: 1

      there's fscache which will probably be merged soon. RHEL5 already ships with it, so it's probably stable enough. It only works with NFS though.

    7. Re:As long as you're asking by danpritts · · Score: 1

      Solaris has cachefs, which is a supported local NFS cache. Quick googling suggests AIX has something too

      Linux has this: http://people.redhat.com/~dhowells/cachefs/
      which appears to be actively developed although does not appear to be in the mainline kernel.

  20. ReiserFS is the data-killer by KiloByte · · Score: 5, Informative

    Ugh, ReiserFS and "good recovery when the file system is not closed properly"? It doesn't even have good recovery after a proper shutdown.

    When other filesystems die, the damage is localised. When Reiser fucks up, all or nearly all of the tree is lost. Usually, you'll lose all files bigger than 4KB, although other damage modes are possible.

    Reiser has a codebase of an insane size. A relatively small piece of code can be mostly bug-free, Reiser is simply too large, complex and ill-tested. I admit, I haven't given it a try recently but you can guess why I hate the very idea of approaching it without a ten-foot pole.

    I've seen XFS screw a number of random files, ext3 mangled only files that were being written to, and my personal favourite is JFS. Even though I use JFS most of the time, the only screwup I witnessed was on a RAID without a write-intent bitmap.

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    1. Re:ReiserFS is the data-killer by DarkDust · · Score: 4, Interesting

      Well, especially with filesystems we are in the your mileage may vary boat. We kicked ext3 out of our server room in favour of ReiserFS because we had constant problems with ext3 on several servers. Not data loss (we had with neither), but rebooting our servers (especially the development server) almost always required a fsck at boot and it always had to repair the FS. This meant several hours of down-time just because of a reboot (e.g. because we moved the server to a new UPS) which became unacceptable. No such problems with ReiserFS.

      I think by now everyone has his horror stories to back either ext3's or ReiserFS's side so it's a kind of vi vs. emacs war by now, IMHO. I'm happily using ReiserFS and vi for almost a decade now ;-)

      It's really a shame ZFS is not available on Linux (only via FUSE)... I am really impressed by its capabilities (have an OpenSolaris server).

    2. Re:ReiserFS is the data-killer by Bill_the_Engineer · · Score: 1

      No such problems with ReiserFS.

      I think you meant "No such problems were detected with ReiserFS.

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    3. Re:ReiserFS is the data-killer by Anonymous Coward · · Score: 1, Interesting

      That's funny... So far I had much more data corruption with Ext2/Ext3 (mostly Ext3) than ReiserFS, despite the fact what I managed 30 times as many ReiserFS'es than Ext's over a period of time about as long...

      I did ran FSCK's on ReiserFS quite a few time though (shit happens) but never lost anything, unlike Ext3.

    4. Re:ReiserFS is the data-killer by Xyverz · · Score: 1

      I stopped using ReiserFS after my /usr partition got corrupted one day. Just because ReiserFS felt like it.

      Migrating away from it was a hassle, but worth it. I've not used Reiser since, and I've had no problems with filesystems barfing.

      Since most of my use is local desktop or small web server systems (aka home web servers), ext3 works just fine for me.

    5. Re:ReiserFS is the data-killer by Deleriux · · Score: 1

      http://www.gluster.org/

      Based on fuse, I've searched around for numerous shared filesystems or clustered filesystems and hands down this is the best I've come across.

      Not only can you enable cacheing as you mentioned but you can create virtual disk space up to petabytes in size by aggregating all your available gigs of storage you have with servers that are lying around. It supports posix locking along with file replication (a-la raid1) and striping (although its not recommended) with the add on system that it runs with.

      Hell, by writing clever config files you can centralize your configs. You can then use autofs to centralize your mounts.

      I would say the biggest thing its missing at the moment is hot addition/removal of space.

      Gluster just works. The config for it is very well documented and architecturally a breeze compared to the ungodly configuration nightmare of say GFS. Failover and restoring is handled without necessarily having to manually intervene.

      Try Gluster. Nothing else comes close and I expect its exactly what you would need in your environment.

    6. Re:ReiserFS is the data-killer by The+Second+Horseman · · Score: 1

      I've seen a ton of ReiserFS problems. Just because you come up with a really clever way to use the same BTree algorithms for a number of problems doesn't mean you ought to use only a single b-tree for everything. It gives you nowhere to go when something goes wrong. It's great to want to demonstrate how smart you were, but if you take that too far, it can turn something good into something dumb. Then again, wanting to demonstrate how clever he is might've been a major personality flaw of the designer.

    7. Re:ReiserFS is the data-killer by nabsltd · · Score: 2, Informative

      We kicked ext3 out of our server room in favour of ReiserFS because we had constant problems with ext3 on several servers. Not data loss (we had with neither), but rebooting our servers (especially the development server) almost always required a fsck at boot and it always had to repair the FS. This meant several hours of down-time just because of a reboot (e.g. because we moved the server to a new UPS) which became unacceptable.

      The ext3 filesystem has settings that make it force an fsck on boot after N mounts or M days. This is likely what you were running into.

      You can use tune2fs to disable these checks completely if you want, but it's not advised. Unless your filesystem is very, very large or you have very, very slow disk drives, this check should never take "several hours". On the other hand, if it was finding errors, then perhaps you should be looking at what might have been causing those errors (usually hardware issues, although it could be software related).

    8. Re:ReiserFS is the data-killer by xiox · · Score: 1

      ext3 can take several hours to fsck. We have a few TB filesystem full of hard-links (a versioned rsync backup). It does take endless hours to fsck, so you have to switch off the automatic check. Hopefully ext4 should fix this (or btrfs later).

    9. Re:ReiserFS is the data-killer by Yokaze · · Score: 2, Insightful

      > Reiser has a codebase of an insane

      wc -l says otherwise (2.6.25.9):

      xfs 92006
      jfs 29597
      reiserfs 27941
      ext3 16078

      --
      "Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
    10. Re:ReiserFS is the data-killer by DarkDust · · Score: 1

      The ext3 filesystem has settings that make it force an fsck on boot after N mounts or M days. This is likely what you were running into.

      You can use tune2fs to disable these checks completely if you want, but it's not advised. Unless your filesystem is very, very large or you have very, very slow disk drives, this check should never take "several hours". On the other hand, if it was finding errors, then perhaps you should be looking at what might have been causing those errors (usually hardware issues, although it could be software related).

      I know about tune2fs and these settings but I can assure you that while we did indeed sometime run into these limits I witnessed at a few occasions where this was not the case: we had a problem in our server room which forced us to shut down the servers several times within a week and we almost always had our development server (which has a LOT of I/O activity) in need for an fsck. But not only that it wanted to an fsck, it always (no exception) found errors that forced a "fsck -y /dev/sda2". That week was the reason for our switch to ReiserFS: in that week our development server was stuck in fsck for about 50% of the work week, to say this is unacceptable is an understatement :-)

      And I'm pretty sure the hardware was okay... hardware RAID 5.

    11. Re:ReiserFS is the data-killer by Anonymous Coward · · Score: 0

      Every programmer has different quirks. Network programmers have to wear beards. System administrators have to be russian.. with the their sole english known as "That is not possible." Real FS programmers have to, yah know, import a russian mail order wife and then kill then. It's all symantics. Personally I wouldn't use a FS unless they followed the crede Reiser has set.

      As for ReiserFS I have been using it for quite a long time and have never had a problem. It performs well and I have never had any data loss although I have had several 'hard' shutdowns. Taking a look at the source code I prefer the simpler style of Ext3, but it's nothing in scale to the complicity of something like XFS. I say stick with Reiser until they give a cool new nerdy name like 'OdinFS'.

    12. Re:ReiserFS is the data-killer by randallman · · Score: 1

      Your fsck at boot problem was probably due to the default ext3 config 180 days or whatever. That's configurable and certainly not a reason to switch from ext3. The first time you encountered this, you should have reconfigured it.

    13. Re:ReiserFS is the data-killer by DarkDust · · Score: 1

      Your fsck at boot problem was probably due to the default ext3 config 180 days or whatever. That's configurable and certainly not a reason to switch from ext3. The first time you encountered this, you should have reconfigured it.

      Nope, see my response to nabsltd.

    14. Re:ReiserFS is the data-killer by dido · · Score: 1

      Dave Wheeler's Sloccount gives the following results on 2.6.25-tuxonice-r5 (Gentoo):

      xfs 70248 (wc -l gets 84248)
      jfs 17700 (32995)
      reiserfs 20002 (27705)
      ext3 11160 (16046)

      Interesting that JFS has so many non-code lines in it, relative to the others. It's actually the second smallest, right after Ext3. XFS is the largest codebase of them all, actually.

      --
      Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
    15. Re:ReiserFS is the data-killer by Anonymous Coward · · Score: 0

      I have been using Reiser 3 for the past 4 years and in practice have never experienced any problems of data corruption! It may just be that you've never actually used the filesystem and are just spouting back out all the twoddle I've heard before with absolutely no empirical evidence to support you wildly exaggerated claims. Provide your evidence and then we shall consider your entry more than just bunkum.

    16. Re:ReiserFS is the data-killer by julesh · · Score: 1

      have been using Reiser 3 for the past 4 years and in practice have never experienced any problems of data corruption!

      I used Reiser3 for around 6 or 7 years. Over that time I experienced data corruption twice. On the first occasion, taking the system offline and running 'reiserfsck --rebuild-tree' was able to solve the problem. On the second occasion I attempted the same solution, but it actually did more damage than good. Turns out that the tree rebuild process needs a large quantity of free space. I didn't have enough free space on my disk, so it wiped the tree and left a partially reconstructed one behind that couldn't be mounted, and which nobody had any clue how to fix. I had to wipe the FS and restore from backup.

      I restored onto ext3 and have never looked back.

      There. Some anecdotal evidence to counter your anecdotal evidence. Next!

  21. If it ain't broke.... by sconeu · · Score: 5, Insightful

    Don't fix it. Reiser3 is in the mainline kernel. Why bother messing with your working (and apparently robust) system?

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  22. To expand on that by Giant+Electronic+Bra · · Score: 5, Insightful

    ZFS isn't available on Linux. It is a great enterprise class file system, but for the type of application discussed here it is probably overkill in terms of management complexity, etc. Not that it would be bad or wrong to use, and you could benefit from some of the features of course, but it really shines in demanding environments. In any case unless you're running openSolaris it isn't an option.

    Ext3 in my experience is just plain inferior to ReiserFS. Recovery and formatting are both slow as death. Like the OP I have yet to suffer any data loss on a ReiserFS since way back in the early days when it first came out. Ext3 seems pretty reliable as well, but the slow recovery times are annoying and once in a while it seems like a whole filesystem just plain becomes irretrievably corrupted. OTOH it does demand less CPU overhead. Rarely a BIG issue, but can be with HTPC type systems.

    Overall though I don't think you have a lot of choice. XFS or JFS might be perfectly good solutions, not really had a need to mess with either of them myself so I can't comment. Obviously ReiserFS looks like it has about reached the end and that pretty much leaves Ext3 as the only man left standing in the ring at this point. Cheer up, it works well enough, you'll just have to live without the shrink functionality... ;).

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    1. Re:To expand on that by GrumpyOldMan · · Score: 4, Informative

      ZFS isn't available on Linux.

      ZFS is available on Linux, via Fuse. This gives a heavy performance penalty over a native implementation(*), but it would probably be fast enough for MythTV. However, ZFS is not shrinkable, so it doesn't meet the original poster's requirements.

      (*)For a raidZ 3-disk array of WD "green" 750GB Sata drives (WD7500AACS-00ZJB0), I see 80MB/s sequential write, and 144MB/s sequential read for a native ZFS implementation on FreeBSD/amd64 7.0. For the same setup, I saw 25MB/s write and 95MB/s read from ZFS via fuse.

    2. Re:To expand on that by khb · · Score: 2, Interesting

      it is probably overkill in terms of management complexity,

      Really? It's management simplicity is what I've found most appealing.

       

      In any case unless you're running openSolaris it isn't an option

      While it's license isn't GPL compatible (hence the Linux issue) it is with BSD. ZFS has been showing up in BSD variants.

    3. Re:To expand on that by Tsunayoshi · · Score: 1

      I won't even think about ZFS on linux until it can be implemented in kernel space.

      On Solaris, ZFS is awesome for handling large pools of disks. I haven't played with the OpenSolaris yet where you can have the root partition on ZFS.

      --
      "Get a bicycle. You will not regret it, if you live." - Mark Twain, "Taming the Bicycle"
    4. Re:To expand on that by tzot · · Score: 4, Informative

      XFS or JFS might be perfectly good solutions

      One should never, ever use XFS on a non-UPS-protected system. It's a great filesystem, but if you don't get the time for a sync of the in-memory structures, you're screwed.

      --
      I speak England very best
    5. Re:To expand on that by msdschris · · Score: 1

      ZFS is available using FUSE albeit slow from what I hear.
      I use it on Solaris 10 for my twonkymedia server (twonkymedia on a Linux zone) and have yet to have a problem over many months. It is stupid simple to administer and expansion is as easy as adding a device and issuing a single command to add it to your pool. Run out of room, add another usb drive and keep growing. It's FAST and easy.

    6. Re:To expand on that by A440Hz · · Score: 1
    7. Re:To expand on that by Anonymous Coward · · Score: 0

      it is probably overkill

    8. Re:To expand on that by GrumpyOldMan · · Score: 1

      Yes, trying it as a fuse module was mostly an experiment. I went with xfs myself. I'd have loved to use FreeBSD or Solaris, but I was limited by the drivers available for my TV tuner.

    9. Re:To expand on that by NekoXP · · Score: 3, Informative

      ZFS isn't available on Linux

      Bollocks.

      ZFS-FUSE works fine. If you can build a kernel with an initrd which loads FUSE, ZFS-FUSE and mounts the root filesystem, you have absolutely no troubles whatsoever and absolutely acceptable performance for a MythTV box and a couple of servers. And if you managed to set up MythTV over ReiserFS then this isn't going to be a problem for you at all.

      The fact that it's in userspace is not a barrier to entry and nor is it "not available" just because it's not a kernel module.

    10. Re:To expand on that by hesaigo999ca · · Score: 1

      tell me again why we need to let go of Reiser if its such a good system, I mean because someone cant continue the development of it, you can use what is already there till they come up with something better ( and not just as good or ok )

      I thought ext3 was really good, but too many times I have had a full system corruption and that ...nothing can help you with (although I still dont know what caused it, other then theory that someone rootkitted the box )

      I would like to hear more from others...

    11. Re:To expand on that by Hurricane78 · · Score: 1

      I would never consider XFS for a normal system, because is keeps a unusual big amount of data in the ram, so an unusual big amount of data can get lost. This can easily become 4GB if you have the spare ram.

      I tried JFS for some years, and I could not notice a speed improvement over ReiserFS3 (although there most certainly was one). The thing I could notice was that the recovery was not very good and I lost data in strange ways. (Like in normal usage.)
      I hope that i was a bug in the driver and got fixed. But there was not much activity or support for it at that time. (~2005)

      So I ditched it and went back to ReiserFS3. I'm quite happy with it because I did not run into problems.

      One important point is to use SMART, so you can distinguish file system errors from hard disk errors, and throw oud HDs early enoug, even if yu don't have much money. 250GB of lost data is worth MUCH more than the 35 that the disk costs. (I would have to shoot myself it the data went away. For real!)

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    12. Re:To expand on that by BobPaul · · Score: 2, Informative

      you'll just have to live without the shrink functionality...

      Ext3 is shrinkable, just not when the file system is mounted. One can, however, grow the file system even while it's mounted.

      Please see man resize2fs

    13. Re:To expand on that by Giant+Electronic+Bra · · Score: 1

      Yeah, except as I pointed out above, userland file systems suck CPU performance (due to context switching and the resulting TLB invalidations amongst other things). An HTPC usually already has significant real time demands on its CPU, and most of them are built using lower end components that don't require a lot of noisy fans. So you generally don't have those CPU cycles to spare.

      In other contexts userland ZFS might be appropriate, and it might even be fine for a given MythTV box depending on what the hardware is and what is being done with it, but it still isn't a suitable general recommendation for that application at this time IMHO.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    14. Re:To expand on that by Bryan3000000 · · Score: 1

      I haven't yet, but I'm soon going to put together a fileserver and perhaps media box using Nexenta or FreeBSD (gnu user space on opensolaris), just so I can use ZFS. I don't know if MythTV is available for Nexenta, but it can be done on FreeBSD (http://wiki.freebsd.org/MythTV). I hear ZFS is not only robust and featureful, but it actually appears to be dead simple to administer whether it's on a single machine or a cluster, especially if you want to be able to simply drop in new drives and grow the file system to include them.

    15. Re:To expand on that by Lally+Singh · · Score: 2, Informative

      Well, the semantics of shrinking are a little odd with ZFS. I just want to clarify for anyone else reading here...

      ZFS usually doesn't do partitions at all. It can, for the sake of interop with other filesystems. Generally what you do is set up a drive (or partition) as a ZFS Pool. The pool is just space for storage. You can connect drives together into the same pool for aggregation, mirroring, or some combinations thereof (replacing RAID, with its RAID-Z reliability having better reliability than hardware). Setting up raid on ZFS is mind-bogglingingly simple. I bought one drive & set it up on ZFS, then the second a month (i.e. paycheck) later. Adding the second drive to the pool was a single line command, without ever needing to take the first drive down (well, reboot for adding the hardware, but that's a SATA issue only, SAS and ZFS won't care).

      ZFS filesystems are created in pools. They take up as much space as they need, the rest is left free for other filesystems in the pool. You can create/backup/restore/delete filesystems with single-line commands.

      --
      Care about electronic freedom? Consider donating to the EFF!
    16. Re:To expand on that by Kz · · Score: 1

      Ext3 in my experience is just plain inferior to ReiserFS. Recovery and formatting are both slow as death. Like the OP I have yet to suffer any data loss on a ReiserFS since way back in the early days when it first came out. Ext3 seems pretty reliable as well, but the slow recovery times are annoying and once in a while it seems like a whole filesystem just plain becomes irretrievably corrupted. OTOH it does demand less CPU overhead. Rarely a BIG issue, but can be with HTPC type systems.

      my experience is totally different. with big filesystems (1-4TB), doing a full copy or rsync from one to the other completes in nearly the same amount of time, but if either source or destination was ReiserFS (or worse, both) other accesses to any other filesystem on that machine get terribly slow. also, just mounting a Reiser FS over a few hundred Gigs (cleanly unmounted) is a multi-minute task, while on ext3 it's instantaneous.

      one possible explanation might be that ReiserFS (3.6, at least) uses the BKL (big kernel lock), which is a huge obstacle to real scalability. there's currently a lot of work in the kernel to remove last uses of that... who knows what that could mean for ReiserFS support?

      Overall though I don't think you have a lot of choice. XFS or JFS might be perfectly good solutions, not really had a need to mess with either of them myself so I can't comment. Obviously ReiserFS looks like it has about reached the end and that pretty much leaves Ext3 as the only man left standing in the ring at this point. Cheer up, it works well enough, you'll just have to live without the shrink functionality... ;).

      my experience with XFS roughly matches that of the OP: it's great when everything works ok, but it assumes good hardware. if you get any hardware failure, all bets are off. of course no FS does any warranty in that case; but i've never been lost any data with either Ext3 or Reiser because of hardware glitches (of course, a failing driver without a RAID did lose (some) data... no miracles there). with XFS, i started losing files almost everytime i pulled the cord (testing equipement). even if i have UPSs and automatic shutdown, and battery backed caches... i still don't feel it's as reliable as XFS demands to let me sleep.

      i've almost finished migrating all important data vaults out of ReiserFS to Ext3, both for fear of lack of support, and for performance. i do miss the easily resizing of ReiserFS; but ext2online does manage the online expand/offline shrink.

      --
      -Kz-
    17. Re:To expand on that by blackjackshellac · · Score: 1

      I'd recommend XFS from previous experience, but I'm not sure if it can be resized down ... the tool, xfs_growfs, doesn't seem to suggest that it can.

      http://www.linux.com/feature/32002

      --
      Salut,

      Jacques

    18. Re:To expand on that by Giant+Electronic+Bra · · Score: 1

      my experience is totally different. with big filesystems (1-4TB), doing a full copy or rsync from one to the other completes in nearly the same amount of time, but if either source or destination was ReiserFS (or worse, both) other accesses to any other filesystem on that machine get terribly slow. also, just mounting a Reiser FS over a few hundred Gigs (cleanly unmounted) is a multi-minute task, while on ext3 it's instantaneous.

      one possible explanation might be that ReiserFS (3.6, at least) uses the BKL (big kernel lock), which is a huge obstacle to real scalability. there's currently a lot of work in the kernel to remove last uses of that... who knows what that could mean for ReiserFS support?

      Hehe, I have a 1 TERABYTE Reiser3 partition (spanned on 2 500 gig drives). Works fine. mounts instantly, fsck takes maybe 4-5 seconds. Not really sure why you see slow mounting, I've used it on probably 20 machines at least in the past and never had that problem.

      Speaking for myself I don't know enough about the details of kernel internals and impact on performance. It seemed to be reasonably fast, let us say fast enough. My guess is in general it worked pretty well for the time frame when it was developed, but the Namesys people were never really kernel insiders. I don't get the impression that there was a lot of concern about what the impact of big kernel architecture changes would be on ReiserFS, nor did those guys have a lot of input on kernel issues. It was kind of the poor stepchild of fses. Once active development wound down it has kind of drifted off into the shadowland of code that may work, but nobody is going to worry about it. Kind of too bad really, it did have some interesting potentialities even if they were mostly never realized in actual use.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    19. Re:To expand on that by Nynaeve · · Score: 1

      ZFS is available on Linux via FUSE. I've experimented with it myself. It only works on sparc and x86 architectures, though. I found this out after trying to compile it for my NSLU2.

      There's a blog, a wiki, and a google group.

      ZFS is the only filesystem I would trust with a large amount of data. We have several ZFS storage units here at work, and I've built a few myself. Personally, I'd run Solaris x86 in a VM and export filesystems via NFS before I'd run anything else.

    20. Re:To expand on that by Dolda2000 · · Score: 2, Interesting

      Ext3 in my experience is just plain inferior to ReiserFS.

      That's odd. My experience is just the opposite. I haven't done any stringent benchmarks or anything, but I have a couple of media directories on one computer that I rsync to another (so the contents should be identical). One computer is running ReiserFS and the other Ext3, though, and on the one running ReiserFS it takes around 5-10 seconds to list one of the directories when the caches are cold. The Ext3 computer does it in unnoticable time on cold caches.

      Of course, the storage backing them isn't identical, but I think it should work to ReiserFS's advantage, since it is contained on normal 3.5" S-ATA disks in an LVM, while the Ext3 filesystem is on my laptop, which uses a 2.5" IDE disk.

      It is worth noting that the disks aren't slow, because I used to have that filesystem using XFS instead, and at that time performance was a lot better. I did some basic benchmarking when I still had both filesystems alive simultaneously, with such elementary techniques as "time find /mnt", and found that XFS was more than an order of magnitude faster (I don't remember the exact results, though; it was a long time ago). The reason I switched was mainly to have something shrinkable before it got large enough that I couldn't switch filesystem again by adding enough capacity to be able to duplicate the filesystem.

      I would actually have used Ext3 on it, had it had in-kernel support for online resizing. In my experience, Ext3 is just one of the best filesystems out there. The only major thing it lacks, in my mind, is indeed in-kernel support for online resizing.

    21. Re:To expand on that by Anonymous Coward · · Score: 0
    22. Re:To expand on that by porl · · Score: 1

      slightly off topic, but i thought sata was hot pluggable? i thought this was one of the reasons (apart from performance) to move from pata?

    23. Re:To expand on that by Lally+Singh · · Score: 1

      AFAIK, it's dependent on a lot of factors (firmware, driver, ? connector?). I just rebooted instead of trying to find out what conditions were needed, and if my setup met them.

      --
      Care about electronic freedom? Consider donating to the EFF!
    24. Re:To expand on that by julesh · · Score: 1

      ZFS-FUSE works fine. If you can build a kernel with an initrd which loads FUSE, ZFS-FUSE and mounts the root filesystem, you have absolutely no troubles whatsoever and absolutely acceptable performance for a MythTV box and a couple of servers. And if you managed to set up MythTV over ReiserFS then this isn't going to be a problem for you at all.

      My experience of FUSE (admittedly not with ZFS) is that you lose about 50% of the performance of your disks.

      My experience of digital video capture (admittedly not with MythTV) is that it is very demanding of the write performance of your disks (assuming you are capturing uncompressed and then compressing later, which is I believe still the most common way of doing it).

      I don't see these two working out, but obviously YMMV. The machine I was running FUSE on was only clocked at 750MHz, so maybe with a modern machine the overhead will be a little less significant.

    25. Re:To expand on that by Jamie+Lokier · · Score: 1

      Some SATA is hot-pluggable, some SATA isn't.

    26. Re:To expand on that by Anonymous Coward · · Score: 0

      One important point is to use SMART, so you can distinguish file system errors from hard disk errors, and throw oud HDs early enoug, even if yu don't have much money. 250GB of lost data is worth MUCH more than the 35 that the disk costs. (I would have to shoot myself it the data went away. For real!)

      So what if someone stole the PC/drive? Or the PC burst into flames? (mine did a few months ago). Would you have to shoot yourself then?
      Drive failure should be nothing to worry about if you have proper backups (e.g. daily rsync to external USB drive). And you need those backups for other problems as above.

  23. I want a filesystem that supports large extents. by Anonymous Coward · · Score: 0

    I don't mean 4kb block sizes. I mean extents, configurable to say at least 4megs.

  24. Stay Put by m6ack · · Score: 5, Informative

    ReiserFS is still being used and maintained in-kernel. It's Stable, and it just works for you and for hundreds of thousands of others; so, what's the rush?

    I'd wait for the next batch of next gen FS (BTRFS, Tux3) to show their stuff -- and perhaps take a look at getting involved. Daniel Phillips has recently sent out a call for help... Sounds like you have an itch -- go scratch it.

    1. Re:Stay Put by gbjbaanb · · Score: 3, Informative

      link for the lazy, and a description of the FS.

    2. Re:Stay Put by Silas+is+back · · Score: 1

      Hasn't Hans said in the conviction video that he hopes to continue to contribute to the open source community from within jail? I hope they let him do that. Oh wait. Nice, that would make him an open source developer, paid by the united states. Maybe he saw this opportunity and just "ln -s /home/hans /home/realkiller" !

      --
      this sig is useless
    3. Re:Stay Put by Daniel+Phillips · · Score: 1

      Thanks for the plug. I will bump fs shrink up to the front of the list, in the spirit of the moment.

      Regards,

      Daniel

      --
      Have you got your LWN subscription yet?
    4. Re:Stay Put by m6ack · · Score: 1

      Hasn't Hans said in the conviction video that he hopes to continue to contribute to the open source community from within jail? I hope they let him do that.

      Oh wait. Nice, that would make him an open source developer, paid by the united states. Maybe he saw this opportunity and just "ln -s /home/hans /home/realkiller" !

      OK; so, I believe that California is far to lenient with violent criminals -- and far from just to innocents. He should be pleading his case right now before his Maker. Instead, this arrogant, calculating, cold-blooded murderer will be out in 15 years or so, and Nina's family and children will have to deal with him again.

      But that is life.

      I don't have any high hopes, but perhaps his jail time will teach him some humility. If it does, well perhaps I am wrong in my judgement... I don't think I am, but that remains to be seen.

      If he is allowed to continue to hack in prison... perhaps he can do at some good with his life whle in prison. I agree that it would be unjust to allow "http://namesis.gov" to operate... but I'm not opposed to him hacking from jail, so long as he makes no profit from it, and his work is a useful contribution to society. Perhaps he should be forced to release any of his work from prison into the Public Domain?

    5. Re:Stay Put by m6ack · · Score: 1

      Thanks for the plug.

      So, you're a Slashdotter too... :-)

      It's not my personal itch at the moment, or I would help. Just know that you have more friends than you are aware. Thanks for trying to make the world a better place in your own way.

  25. Fork it by Anonymous Coward · · Score: 1, Insightful

    ReiserFS is OSS, if the project leaders are taking it in a direction people don't like, then fork it.

    1. Re:Fork it by Anonymous Coward · · Score: 0

      What was once an insightful comment is now a troll. Linux and the OSS family are no longer at the forefront of progressive, agile software development.

  26. UPS by yamla · · Score: 1

    Regardless of whether or not the file system should be able to survive you pulling the plug, you may want to invest in a UPS. Even a low-end UPS should be fine, so long as it interfaces properly with Linux and gracefully shuts down your system as soon as it loses power.

    As to file systems, I personally use XFS on my MythTV box. ext3 will grow and shrink but, last time I checked, had speed issues when it came to deleting large files. Also, when you do run a fsck, it's terribly terribly slow on larger file systems. ext4 has a number of significant improvements but is not yet stable.

    --

    Oceania has always been at war with Eastasia.
    1. Re:UPS by billcopc · · Score: 1

      I second this. Even if your files survive, every time the power is yanked, the power supply takes a hit during that split second where all the circuitry panics: "Oh noes! I need that power!". A good PSU will survive for a while, but eventually it will cross the threshold and go POOF!

      Me, I think they should start building the UPS right into the power supply.

      --
      -Billco, Fnarg.com
    2. Re:UPS by peragrin · · Score: 1

      I agree the PSU should have a 30 second UPS backup. Just enough time for a quick hardware shutdown and to finish writing to the disk.

      --
      i thought once I was found, but it was only a dream.
    3. Re:UPS by tzot · · Score: 1

      I somehow can't even grasp the "30 seconds UPS backup... for a quick hardware shutdown and to finish writing to the disk" idea for Windows. It's not hard to imagine a CRT with burned phosphor permanently saying "Windows is saving your settings".

      --
      I speak England very best
    4. Re:UPS by Anonymous Coward · · Score: 0

      billcopc

      ??? What ??? are you talking about?
      Circuitry does not panic.

      Psu's USED to have big fat switches that actually just cut off the power just like pulling the plug. Turning off the power never hurt the psu OR the motherboard. The circuits don't prepare to loose power, there's no shutdown sequence in a psu. Windows & Linux have shutdown procedures however the hardware does not nor does it need one.

      Turning off/removing the power in whatever form is not harmful to electronics hardware of any design.

      (Unless of course you have a solenoid holding the spoon on an explosive, then it'll screw it up if you turn off the power. However I think then it would be classed as a mil-spec feature.)

      That said, there ARE psu's with ups's in them the real problem is the size of the battery VS the current form factor in PC hardware.

    5. Re:UPS by amRadioHed · · Score: 1

      Does anyone have any idea exactly what settings windows is saving when it shuts down? I've never seen another OS that does that and I can't come up with any explanation of what they hell it's doing.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    6. Re:UPS by Anonymous Coward · · Score: 0

      Linux typically saves some settings when it shuts down too, really - things like sound mixer levels and so forth.

      In windows, I guess it all has to be down very carefully to the registry file. On linux, individual sysvinit shutdown scripts just persist the settings to individual text files or whatever.

    7. Re:UPS by stevied · · Score: 1

      If you're running XFS, you certainly do want a UPS.

      I haven't got one, and I got fed up with losing data when I had a power outage, or a kernel crash (some of the drivers for my hardware are a little dodgy.)

      I'm back on ext3 now while I wait for ext4 to stabilize.

    8. Re:UPS by Anonymous Coward · · Score: 0

      somehow can't even grasp the "30 seconds UPS backup... for a quick hardware shutdown and to finish writing to the disk" idea for Windows.

      Yeah, it's bizarre. On my dual boot Ubuntu/Vista setup, both OSes probably take about 30s to boot to the logon screen and about the same to log on.
      But Ubuntu takes about 10s to logoff and shutdown and Vista nearly 1 minute. What the hell is it doing?

    9. Re:UPS by billcopc · · Score: 1

      I was dumbing it down because quite frankly, I'm not an EE, but I am a PC veteran. I'd love to be able to say things like "Ohm's law, bitches!" but I can't back it up.

      My layman's understanding is that in that brief moment, between pulling the plug/flipping the switch and the power actually draining from the caps, the feedback loop in the PSU goes a little haywire as it tries to compensate for the sudden voltage change. That's what I mean by "panic", not "jesus christ it's a lion" kind of panic.

      I suspect older AT power supplies didn't have that problem because today's power supplies are designed in china, made in taiwan, assembled in mexico and then ridiculously marked up. The common power supplies used by major OEMs (and a lot of small frys) costs $6.50 at wholesale. That means it probably cost $2.00 to build and $4.50 to freight.

      $2.00 electronics die if you look at then wrong.

      --
      -Billco, Fnarg.com
  27. The advantage of an open source license by raddan · · Score: 1

    Is that, even with the chief maintainer gone, not all is lost. Now, I don't know what the present status of support or development is, but if it's working for you, why stop using it? It's not like the software is imbued with evil now that its namesake is in jail. Plenty of people worked on ReiserFS-- Hans Reiser employed many programmers-- and presumably, those people will still be out there working on it in some capacity.

    The name, of course, is an unpleasant reminder of Hans Reiser's disturbing actions, but good software speaks for itself, as you yourself have found.

    1. Re:The advantage of an open source license by gbjbaanb · · Score: 1

      Plenty of people worked on ReiserFS under the Namesys company, but that is now closed

      So there is no commercial support of the FS, only enthusast which is not that much of a problem unless they have decided to work on other things, possibly because of Reiser's actions.

  28. In Soviet Operating System development by davidwr · · Score: 1

    Linux jails YOU!

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  29. easy by Anonymous Coward · · Score: 0

    FAT16

  30. MythTV? by Awptimus+Prime · · Score: 3, Informative

    That MythTV box for example has a very volatile environment and loses power on a regular basis. I haven't lost any data through any of these outages.

    Okay, you need to consider a couple of things. First off, this is MythTV. Your concept of "large files" and the normal industry use of "large files" are entirely two different things. I really doubt you are going to exceed any limitations of a modern filesystem with porn, dvds, and television recordings.

    Second, you aren't going to lose data from a power outage when it comes to archived data you are reading (divx file, for example) when the power goes out. But no file system using system memory for a cache is going to play well when abruptly having the power yanked while it's writing.

    Third, just use ext3. It's one of the most used, reliable, and proven file systems to date. If it's not enough, you are better off using a UPS and software raid5 an array a few similar sized drives, with a ext3 file system.

    Let's please filter further headlines where people are asking about what exotic filesystem they should be trying out for non-raid applications. PLEASE.

    1. Re:MythTV? by GrumpyOldMan · · Score: 4, Informative

      He's concerned about "large files" because ext3 takes eons (10 to 20 seconds) to delete large (8GB/hr) files generated by recording HDTV. This used to be important on MythTV, because deletions were synchronous. So using ext2 in combination with HDTV on MythTV meant a 10 to 20 second "freeze" when manually deleting something, or missing 10-20 seconds of a new recording while an auto-expire deleted an old show.

      In newer versions of MythTV, deletions are done by a separate thread, so there should be no concerns about using ext2/ext3.

    2. Re:MythTV? by j.e.hahn · · Score: 1

      Actually, HD video of (say) sporting events can indeed fall into the industry concept of "large files" (that is, files requiring a size_t that is larger than 32 bits wide to represent its size.)

    3. Re:MythTV? by Anonymous Coward · · Score: 0

      I've used pretty much every filesystem out there on production servers. The ONLY filesystem that has not lost me any data is Reiser3. Ext3 is the WORST at loosing files or corrupting itself beyond recovery.

      take with a hose salt lick since I don't have nor will ever create a /. account.

    4. Re:MythTV? by amRadioHed · · Score: 1

      What do you mean by the normal industry use of large files? In Solaris at least "large files" means anything over 2GB. That's not so hard to reach with TV recordings.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    5. Re:MythTV? by hacker · · Score: 2, Informative

      ...which is why XFS makes sense here, and always has. Deleting a 1GB or 1TB file takes the same amount of time... under 1 second.

    6. Re:MythTV? by Awptimus+Prime · · Score: 1

      My point is, you probably aren't going to be recovering your recording on any of these file systems if you are actively writing when the power is yanked.

      Stable power and redundancy will get you much further than any file system choice.

    7. Re:MythTV? by Rich0 · · Score: 1

      Actually - the issue isn't that myth was single-threaded. The problem is that the filesystem itself totally blocks everything when a delete is in progress.

      Myth didn't just move the delete into a separate thread. It also turned the delete into a piece-by-piece truncation of the file. This way the filesystem is never deleting more than a small amount of data at a time and other stuff can get in beteween the deletes.

      Go ahead and try creating two separate processes - have one keep reading from a file (typical playback process), and then have an entirely different process delete a 20GB file while that is running. Watch the playback choke (assuming it isn't all cached in RAM).

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

      Err.. actually, deleting a 3-hour 1080i recording on a 2-drive RAID0 here takes between 1-4 minutes, with nothing else (not even myth) running.

      This has severe consequences when myth is programmed to shutdown between uses (using alarms to auto-wake and record later).

      The umount/remount at shutdown FAILS, because the deletes are still in progress (whether selecing "slow" or otherwise), so the system halts with an unclean filesystem/journal. Ugh.

  31. FAT32 by mrkitty · · Score: 4, Funny

    If it wasn't that great then why do most thumb drives use it? :)

    --
    Believe me, if I started murdering people, there would be none of you left.
    1. Re:FAT32 by raijinsetsu · · Score: 3, Informative

      There's absolutely no disaster recovery on FAT32. It has no protections from bit errors, and has no native method of defining permissions.
      It's used on thumb drives because A) it has very little meta data that needs to be written to the drive in addition to the data (meaning: you can unplug faster), and B) it works on every OS.

    2. Re:FAT32 by Anonymous Coward · · Score: 0

      If it wasn't that great then why do most thumb drives use it? :)

      I assume you're trying to be funny, but the most straightforward answer is: Compatibility.

    3. Re:FAT32 by Anonymous Coward · · Score: 0

      Maybe because there's still many systems/devices/etc out there that _only_ support FAT32?

      Just mk<name_your_filesystem>fs it ;)

    4. Re:FAT32 by Anonymous Coward · · Score: 0

      Because implementations of FAT32 for embedded devices is easy. Any semi-senior microcontroller programmer can do it in plain assembler.
       

    5. Re:FAT32 by Anonymous Coward · · Score: 0

      It Isn't great. It has no redeeming value whatsoever, except that it can be read almost anywhere. It's unsafe, doesn't support files larger than 4GB, doesn't support paths longer than 255 characters, it's slow especially when fragmented, it's not case sensitive, has a fixed limit of entries for the root directory and worst of all, microsoft apparently demands license fees for media that ship preformatted in FAT32. There's probably hundreds more reasons, but I personally stay away from FAT32 unless I really, really have to mount that medium on multiple OSes.

    6. Re:FAT32 by morgauo · · Score: 1

      FAT32 has a 2GB file size limit. That may be a problem for him if like most MythTV installs the TV card isn't doing the compression. It saves an uncompressed file then compresses it and removes the original.

    7. Re:FAT32 by Ant+P. · · Score: 1

      And both those points are becoming irrelevant, now that Windows Vista supports read/write UDF. FAT32 is only holding on through inertia.

  32. ext3 with data journaling by davidwr · · Score: 4, Informative

    Performance may crawl to a standstill but ext3 with full journaling of data not just meta-data should make crash-recovery nearly bulletproof.

    Another option is to reduce the number of crashes:
    Make sure your software and hardware are stable and use a good, stable battery-backed power supply.

    The latter is good advice for any system.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:ext3 with data journaling by dermoth666 · · Score: 5, Informative

      The general problem with journaling filesystems recovery is not the data not being written (although in some very specific applications it can be required) as most serious apps like databases just fsync what they need on-disk. Problems arise when you have unprotected write cache.

      This can happen on SCSI/SAS RAID cards when you force the write cache without a battery, but the most general cause is cheap hardware, especially IDE/SATA disks. For performance reasons they usually have the write cache enabled by default, and in many disks (possibly not many SATA's but this was common on IDE) you can't even disable the write cache (hdparm -W0).

      With this kind of configuration, no matter what you do in term of journaling, you will *always* loose data when power fails during I/O operations.

      On a side note, if you need data journaling you should probably use an external journal on a separate disk/array. This way the journal device will be doing synchronous writes which is much faster on standard disks.

    2. Re:ext3 with data journaling by kestasjk · · Score: 1

      Performance may crawl to a standstill but ext3 with full journaling of data not just meta-data should make crash-recovery nearly bulletproof.

      Yeah, I never really understood what's wrong with ext3. I always thought these non-default/specialist filesystems (when used on home systems) were only for the Gentoo crowd.

      --
      // MD_Update(&m,buf,j);
    3. Re:ext3 with data journaling by Anonymous Coward · · Score: 1, Informative

      With this kind of configuration, no matter what you do in term of journaling, you will *always* loose data when power fails during I/O operations.

      Just thought you'd like to know that you're misusing the word "loose." One will lose data during a power failure. One looses (sets loose) his dogs on their prey. One may also prefer loose shoelaces to tight shoelaces.

    4. Re:ext3 with data journaling by ccandreva · · Score: 1

      The big problem on ext3, especially on MythTV systems, is that deleting of large files can take a long time, during which the system does almost nothing else.

      And MyhTV uses a lot of large files

      I've never understood why ext3 has to do this, even old style Solaris UFS returns instantly deleting a large file. You can then do repeated 'df' commands and watch the space free up.

    5. Re:ext3 with data journaling by HeronBlademaster · · Score: 1

      For the record, the Gentoo Handbook recommends ext3 as the default ;)

    6. Re:ext3 with data journaling by dbIII · · Score: 1
      I thought so too, but it happens so often that it appears to be perfectly acceptable American English for those that "lernt ta wread under Raygun".

      Jokes aside - it's a typo - live with it. There are plenty of other things to comment about.

    7. Re:ext3 with data journaling by TheNetAvenger · · Score: 0, Flamebait

      With this kind of configuration, no matter what you do in term of journaling, you will *always* loose data when power fails during I/O operations.

      Not sure if this is just confused terms or 'assumed' because of the chain involved you describe.

      Dealing with non OS/FS level caches in devices is not something that 'always' equals data loss, as 99% of the devices have methods to signal the OS when a write is complete from cache and when it is only cached waiting write.

      I can even give you a simple example of this. NTFS and Vista know what is written and not just device cached, and adds full journaling on top of this.

      If this information wasn't available to the OS, then journaling is a wasted technology.

      So, devices do let the OS/FS know where the data 'really' is, it is up to the OS to be smart enough to handle this.

      Go check out storage device interface specifications, and you will find the mechanisms of how the OS and drivers get this information.

      In the Microsoft NT world, turning off write caching in a device is just killing your performance 99% of the time, it is not making your data safer.

      Sadly, in the Linux/*nix world, it is a recommended option because the device cache is not something most *nixes or *nix FSs pay attention to very well, until you get to enterprise solutions with very specific devices/drives married to the server installation.

    8. Re:ext3 with data journaling by dermoth666 · · Score: 1

      Unfortunately you make absolutely no distinction between specifications, server-class hardware and cheap consumer-class hardware. I fully understand your comment if you're relying solely on server-class hardware, unfortunately that's not the case of millions of startups that try to keep IT costs low.

      First of all, in server-class hardware data loss is not easy, but you can do it. Just get a SCSI card with memory cache, make sure there's no battery on it and force the cache to "write-back" mode. In this mode, even though the SCSI card signals to the OS that the data is safe, IT ISN'T. Obviously that's not the default, and that's also why you'll likely want a battery on your raid card (in which case it will likely default to write-back as it can sustain power failures) ;)

      Secondly, IDE/SATA drive caches are not protected, and on by default on most drives. That's because consumer hardware strives to give the best performance possible at the lowest cost. I haven't looked at the exact specification, but it doesn't matter because I based my conclusions on real-life experience and PC hardware have an history of breaking specs. Even my current workstation's SATA drives, Western Digital RAID edition 250GB's (SATA1, ~1 year old), default to an unprotected mode.

      FYI I did a lot of testing on this matter, including pulling power routinely (and automatically trough network power bars) of high-end clustered database servers, SANs, etc. in a testing environment. I do have cheap servers running on cheap IDE and SATA drives, but they're doing nearly no write ops and I can easily validate and sync the data on them (that's actually an automated process). The file server on which they rely for file integrity, OTOH, is much more reliable and I can sleep at night even knowing that the collocation facility have an history of unplanned power failures. The same goes for the database servers, which would take at least half a day to restore from backup should they fail due to data corruption. :)

    9. Re:ext3 with data journaling by stunted · · Score: 1

      For this reason I use JFS on my MythTV recording partitions but ext3 everywhere else. When I set it up 3 years ago I found a very comprehensive set of Linus FS benchmarks that included deletes of large files, JFS was the fastest at this and not far off the fastest at most other tasks, can't find the page now.

      --
      In order to save our freedom it was necessary to destroy it.
    10. Re:ext3 with data journaling by BlackCreek · · Score: 1
      I have my home system inside a LVM. If I need to resize a "partition" inside of it (I think the right name is "logical volume"):
      1. with ReiserFS I can resize the file system without unmounting it (and it works);
      2. with ext3 you need to unmount the system before doing it

      There was also something about ReiserFS being able to avoid writing on the disk very often, which made it more suitable for laptops.

    11. Re:ext3 with data journaling by TheNetAvenger · · Score: 1

      Unfortunately you make absolutely no distinction between specifications, server-class hardware and cheap consumer-class hardware. I fully understand your comment if you're relying solely on server-class hardware, unfortunately that's not the case of millions of startups that try to keep IT costs low.

      Actually, there is a reason I am not making a distinction, because as far as hardware goes, there is none in 99.9% of the cases.

      Even the most cheap or generic ATAPI or SCSI device or $15 controller from Frys have the basic interface specifications.

      I am surprised that people don't realize that our oldest specifications regarding storage have had mechanisms in place for determinig data and cache state for a long long time, and any device using these specifications adhere by default.

      There are reasons the OS can query the cache state, flush the cache, etc etc - even on the cheapest piece of crap hardware, whether it is an IDE/SCSI/SATA/etc device.

      The breakdown here is the OS understanding with regard to the device, and being able to properly 'know' or manage the device and even its cache.

      In the *nix world this usually requires a marriage of drivers and specific controllers, as the whole I/O model of *nix is very generic.

      OSes like NT that have intrinsic 'object' level understanding of I/O, instead of treating all devices under a generic umbrella have the luxury of keeping an eye on the devices in this capacity.

      This allows NT to know what the data state is, and uses this information to mark journaling data on the volumes, so with any power failure, the OS volume knows what was 'REALLY' written to the device and what was not.

      I don't question your hardware tests, but it all comes down to the OS you are using.

      If the OS and FS hasn't a clue about managing the device level data states or cache states, data loss is very possible without the OS knowing any better, even on a journaled FS technology.

      And sadly in the *nix world, these are under a generic umbrella and 'left' to the devices to manage themselves only.

      Linux when using journaling doesn't keep track and actively manage what the devices are doing, as they are generic to Linux, being a true *nix model, which pushes this outside of the 'job' of the OS.

      The crux here is even old HD interface specifications have mechanisms to report cache status to the drivers/OS and even the most generic crap drives, adhere to their specifications and can report this information if the OS is smart enough to ask for it and know what to do with the data.

      This is also where the very design of *nix can bite you in the ass, as the generic I/O model is its hallmark.

      If anyone was to argue for NT, this is one area they would have some solid ground to make an argument not only for NT, but an obect oriented kernel model that doesn't treat everything like generic textual I/O.

    12. Re:ext3 with data journaling by dermoth666 · · Score: 1

      Did you even read my message?

      Yes, there are ways to flush cache on SCSI, but most RAID cards also give you ways to PRETEND the cache is properly flushed. This is called WRITE-BACK caching mode and if there's no battery backing-up the cache your data will be LOST.

      Yes, *RECENT* IDE specifications specify mechanisms flush the write cache, but many cheap IDE drives doesn't implement it. Here's an example on one of my crap servers (dmesg):

      hda: UDMA/100 mode selected
      hda: cache flushes not supported
      hdc: UDMA/100 mode selected
      hdc: cache flushes supported

      That's because manufacturers often break standards to lower the prices or get better performances. That's why there *IS* a difference between "specifications" and "cheap consumer-class hardware".

      I've seen more than once NTFS filesystems break on power failure, despite what you call "intrinsic 'object' level understanding of I/O" (Carefully chosen marketing words IMHO). That's not because Windows server does a bad job at handling the cache, that's simply because of the cheap hardware behind it. It can happen to Linux too, and that's not because they doesn't handle caching issues properly.

      Oh and FYI, in older IDE specifications cache flushing is either ABSENT or OPTIONAL (and it's still optional for ATAPI devices).

    13. Re:ext3 with data journaling by TheNetAvenger · · Score: 1

      No...

      This is called WRITE-BACK caching mode and if there's no battery backing-up the cache your data will be LOST.

      This is what YOU are not getting, as you are repeating it again.

      Data is NOT lost if the OS knows the data was never TRULY written. This means that NO MATTER what type or state of the device cache is, the OS is 'smart' enough to realize when a write is 'completed', and not still in any cache mechanism.

      There are OSes smart enough to do this, Microsoft makes a very popular one.

      Get it yet?

      I've seen more than once NTFS filesystems break on power failure, despite what you call

      And my cousin's uncle's brother's dog saw two NT servers burst into flames after Steve Jobs said boo...

      NTFS is NOT something that true IT professionals, administrators, OS engineers, or OS theorists make fun of as lightly as you seem to do here.

      There is a reason there has been a race for ZFS to mature, as it is the FIRST AND ONLY FS technology that comes close to providing the features and possible performance of NTFS. (Go Wiki it, kid.)

      If you think NTFS is bad or notorious for data failure you are either drinking the kool-aid or have no experience in real world IT.

      Again, shall we talk about how it pretty much stands alone in the department of the OS understanding the device cache state and working with NTFS meta journaling?

      Or should we talk about the added full journaling features of Windows 2008 server and Vista, where a dirty volume, let alone lost data is about as frequent as device failure itself?

      When the OS/FS combination is pushing reliability percentages that are near parallel to device failure, you can't do much better.

      If you want to make fun of NT or Win32, go for it, but NTFS is one area you better do your homework before you start talking smack, as there are a lot of OS theorists that are *nix zealots that would lay you out flat for calling NT's object model or NTFS a bad or ineffective design.

    14. Re:ext3 with data journaling by dermoth666 · · Score: 1

      No...

      Ok, I'm wondering why I'm still arguing with you, since you seem to just repear the same things over and over without even trying to understand what I say!

      This is what YOU are not getting, as you are repeating it again.

      Data is NOT lost if the OS knows the data was never TRULY written. This means that NO MATTER what type or state of the device cache is, the OS is 'smart' enough to realize when a write is 'completed', and not still in any cache mechanism.

      There are OSes smart enough to do this, Microsoft makes a very popular one.

      Then please enlighten me as to how this can be possible when the SCSI subsystem uses the standard method to report that the data IS written to disk when it's written TO RAM ONLY and WRITES LATER to disk. This is what WRITE-BACK is all about and is also why it's unsafe... Unless there's a battery (which is the case in most systems I've come across)

      There may be techniques to minimize the damages by such configurations like replaying longer portions of the logs, but there's no way to tell whenever the data is really on disk. You can test by yourself though...

      Also take note that this will unlikely bite you unless you're doing lots of I/O or use applications extremely sensitive to data loss.

      NTFS is NOT something that true IT professionals, administrators, OS engineers, or OS theorists make fun of as lightly as you seem to do here.

      There is a reason there has been a race for ZFS to mature, as it is the FIRST AND ONLY FS technology that comes close to providing the features and possible performance of NTFS. (Go Wiki it, kid.)

      I agree NTFS was a rock star when in launched in the 90's, but it's not anymore. Besides the fact that is has lots of complex features for various Microsoft application, in term of journaling NTFS is just like many other journaling FS'es around today (Ext3, ReiserFS, Jfs, Xfs to name a few). You don't need ZFS to equal NTFS's journaling feature, it had been done already with many filesystems.

      If you think NTFS is bad or notorious for data failure you are either drinking the kool-aid or have no experience in real world IT.

      I didn't say that. What I'm saying is that any journaled fs - NTFS *included* - is susceptible to corruption when there's write-back caching.

      Again, shall we talk about how it pretty much stands alone in the department of the OS understanding the device cache state and working with NTFS meta journaling?

      Or should we talk about the added full journaling features of Windows 2008 server and Vista, where a dirty volume, let alone lost data is about as frequent as device failure itself?

      Oh, really? In Windows 2008? Full data journaling has been available for quite some time in other file systems, unfortunately it's extremely slow unless you dedicate a device for the journal. Oh, does NTFS support external journals? Oops!

      Anyway the point is not about x or y feature of NTFS, it's about the fact that write-back caching will lose your data. Data journaling will not help you in this regard.

      When the OS/FS combination is pushing reliability percentages that are near parallel to device failure, you can't do much better.

      If you want to make fun of NT or Win32, go for it, but NTFS is one area you better do your homework before you start talking smack, as there are a lot of OS theorists that are *nix zealots that would lay you out flat for calling NT's object model or NTFS a bad or ineffective design.

      If you read carefully you'll note that I never discredited the NTFS file system. IMHO it's way too complex for my "keep it simple" philosophy, but that's another story and a personal preference. However, to use your words, YOU should probably do YOUR homework regarding SCSI, RAID and data integrity in non-Windows OS.

    15. Re:ext3 with data journaling by TheNetAvenger · · Score: 1

      You don't need ZFS to equal NTFS's journaling feature, it had been done already with many filesystems.

      I wasn't talking ONLY about journaling. Go look up some of the other inherent features of NTFS, like copy on write to compression to encryption to volume size support. (Truly you need to wiki it, or actually read NTFS specifications.)

      ZFS is the only FS that can give NTFS a run, and a lot of the ZFS is still yet to be seen in keeping up with the performance of NTFS.

      Then please enlighten me as to how this can be possible when the SCSI subsystem uses the standard method to report that the data IS written to disk when it's written TO RAM ONLY and WRITES LATER to disk.

      You again assume there is no way for SCSI to communicate data state. And you are right, it is something that *nix users HAVE to pay attention to, since the OS isn't doing any work to ensure data write states. However, there are OSes that do KNOW when data is in RAM an on physical media.

      Even if the OS didn't use the inherent mechanisms of SCSI to query for data state, the OS can also cache bypass to test for physical write. (Enterprise level OSes do this, and even non-enterprised level OSes like XP and Vista.)

      For consumer level OSes, if you want one you can flip the switch on at any time without worrying about data loss, no matter the device/controllers in use, stick to NT. (This is one reason MS wins in the business world, that a lot of new OSS proponents don't even realize is a major advantage for data protection.)

      I am sorry that I came off a bit strong in my previous posts, I would rather get you thinking and research this a bit more, than just piss you off and put you in a defensive mode.

      Truly keep this in the back of your mind when you work with data storage, file systems, and OS file servers. (Or even desktop solutions.)

  33. Why shrinkable? by Blakey+Rat · · Score: 2, Interesting

    Why the shrinkable requirement? Are you expecting your saved videos to take *less* space over time? I can assure you that I've never felt the need to downgrade the drives in my media server, in fact it's nearing time to upgrade it again as I finish ripping my DVDs.

    But what the heck do I know, I just use the filesystem that my OS installs by default, like 99.999% of the world.

    1. Re:Why shrinkable? by Anonymous Coward · · Score: 0

      POSIX quotas don't work per-directory, they work per-user or per-group. If you discover at some date that there's some condition that causes your system to go crazy and fill up /var/log in under an hour, you don't want it to bring down your whole system, you want it to fill up the space that can be safely allocated to log files.

      It would be really nice if every filesystem was as flexible as ZFS, but since some people need per-directory quotas, or want to add a new filesystem with nosuid/noexec/whatever later, shrinking and adding a new FS is really the only viable option other than just leaving all of your space unused for no good reason.

    2. Re:Why shrinkable? by profplump · · Score: 1

      Couldn't you solve that same problem by A) not putting /var/log on the same file system as other things you consider more important in the first place, rather than when a problem occurs, and B) leaving yourself some headroom on the disk when you set it up, so if you want to allocate a dedicated a few GB for /var/log you can do so without shrinking other file systems?

    3. Re:Why shrinkable? by CrimsonScythe · · Score: 1

      He's probably anticipating the brainwashing attempts of RIAA and MPAA to finally kick in sometime in the foreseeable future, and hence wants to be able to shrink the drive down to an acceptable size.

      I assume this process will be gradual, though, so he's probably in for a lot of shrinking sessions. Otherwise, if he'd just pop into their preferred consumer mentality mode, the tiny space left on the drive after partitioning with fdisk would probably be more than enough. It probably would be almost shamefully spacious.

      --
      The view was horrible and the smell was even worse; Julie severely regretted becoming a proctologist.
    4. Re:Why shrinkable? by TheLink · · Score: 1

      If /var/log fills up a 143GB drive before you notice it, the server can't be that important - since nothing and nobody is monitoring it.

      Nowadays for most systems (server or desktops) I just have 80MB /boot, 256MB of swap and the rest is for /

      I prefer a small 256MB swap because I'd rather run out of memory fast than waste time trying to ssh in and kill stuff while the machine runs from the hard drive page by page. Adjust the vm overcommit accordingly.

      --
  34. Here's hoping by telchine · · Score: 1

    I'm still holding out hope for it to be resurrected.

  35. ext2/3 can be shrunk offline by davidwr · · Score: 4, Informative

    I'm not sure if gparted can do it yet, but you can shrink and grow ext2/3 partitions at the command line using a combination of tools.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:ext2/3 can be shrunk offline by pipatron · · Score: 1

      gparted should be able to do it but you need to install those tools for gparted to actually use them.

      --
      c++; /* this makes c bigger but returns the old value */
    2. Re:ext2/3 can be shrunk offline by tokul · · Score: 1

      I'm not sure if gparted can do it yet, but you can shrink and grow ext2/3 partitions at the command line using a combination of tools.

      Resizing ext3 takes time. Lots of it, if you have large partition.

  36. Give it some time by LubosD · · Score: 1

    As Reiser vows to work in the prison in order to provide for his children, I wouldn't discard the filesystem yet :-)

    JFS seems to be a good alternative, but unfortunately it doesn't allow shrinking, at least not on Linux. If I were you, I'd give it some time, because there seem to be new interesting filesystems on the horizon (brtfs, ext4). However, if you really need shrinking and you need a new FS now, give ext4 a whirl. It's not a production-ready FS yet, but it's almost there.

    1. Re:Give it some time by dedazo · · Score: 1

      As Reiser vows to work in the prison in order to provide for his children

      That's big of him, but what makes you think they let you have a computer and internet access while you're in prison for murder?

      --
      Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
    2. Re:Give it some time by LubosD · · Score: 1
      I don't know, I expected he had this handled.

      But what is better for the society? A criminal just getting older inside a penitentiary and or a criminal doing something useful he's actually good at? I think the latter.

    3. Re:Give it some time by dedazo · · Score: 1

      Well, there's nothing for him to "handle", it's prison. I take it you've never been to one? :)

      But what is better for the society?

      That's an interesting problem that has been hashed over by many people at different times. As a developer, I know that writing software is a fun and enjoyable process. Should Reiser be enjoying himself while in prison? I don't think he should. But your point about what's better for society is a valid one. I'm afraid that's not how the penal system works in the US (or anywhere) at the moment, though.

      --
      Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
    4. Re:Give it some time by Puffy+Director+Pants · · Score: 1

      Enjoying himself? That's a pretty broad term. Is it enjoyment to read a book? Watch TV? Play video games? Listen to music? Work in a machine shop or fix cars? All things one can do in prison. Sometimes even encouraged. Having prisoners suffering and miserable, well, that's one way of doing things, but it's pretty unhealthy if you asked me. I think I'd rather have them productive in prison. And Hans Reiser programming his file system? Works for me.

  37. ext3 by Anonymous Coward · · Score: 0

    EXT3 is your only option for an in kernel file system that can both be re-sized both up and down (resize2fs does the trick, parted will work too). It's a slower file system than the others because it journals both meta data and data. Who ever said you have to use fsck with ext3 doesn't have a clue you just need to edit the fstab to prevent fsck on errors, it will recover from the journal just fine.

    XFS and JFS can only be grown (with xfs_growfs and mount -o remount,resize /mount/point respectively). Well at least the last time I checked.

  38. Life does not end behind bars by mi · · Score: 1

    Petition the penitentiary to allow him to use a computer — and an Internet access — for very good behavior...

    --
    In Soviet Washington the swamp drains you.
    1. Re:Life does not end behind bars by onepoint · · Score: 1

      the fastest way to make money, if you are on a vacation ( in prison ) is to have a way to contact the outside world where no one is watching. having access to a cell phone inside the big-house can earn you upwards of 1000 per day in drugs alone ( or most likely killed )

      with a guy like him, he's too smart not to figure out a way to communicate to the outside if given access to the Internet.

      give him a computer with a the basics he needs, otherwise it's going to be trouble.

      --
      if you see me, smile and say hello.
  39. You need shrinkable on a MythTV box? by Sloppy · · Score: 1

    Really? Are you sure? You really need that, on a MythTV box? Really? See all these question marks?

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  40. Disclaimer: I know nothing about ReiserFS by nobodyman · · Score: 1

    Is there a team that maintains ReiserFS, or was it strictly Hans' work? Whatever compelling features it had didn't diminish because Hans Reiser is a murderer. If people see continued use of it as some sort of implicit support of Reiser, maybe a name change is in order. Call it NinaFS or SharanovaFS (Nina's maiden name I think) or something along that line.

    1. Re:Disclaimer: I know nothing about ReiserFS by Anonymous Coward · · Score: 0

      http://en.wikipedia.org/wiki/Namesys

      It sounds like Namesys (Reiser's company that maintained ReiserFS) has gone out of business. Apparently Reiser was necessary.

      Incidentally, it is possible for convicts to get out of jail to go to jobs in a number of states. Not sure of the rules in California, but it's at least conceivable.

  41. Reiserfs good recovery?!? by Anonymous Coward · · Score: 1, Informative

    Get a look at this (if nobody else alredy posted it):
    http://linuxmafia.com/faq/Filesystems/reiserfs.html

  42. Solution for servers, and data storage by notany · · Score: 5, Interesting

    Filesystem was so big issue in my work that we bite the bulled and tried first Open Solaris and then switched into Nexenta http://www.nexenta.org/ Nexenta is OpenSolaris kernel GNU/Debian/Ubutntu userland. What this gets to you is ZFS and RAID-Z and RAID-Z2. When you get used to the fact that your filesystems has end to end quarantee of data integrity by hashing (even cryptographic hashing if you want, you feel uncomfortable with any other filesystem. In home I still run Linux on my laptop, but I made my own NAS that ruons with Nexenta.

    --
    Dyslexics have more fnu.
    1. Re:Solution for servers, and data storage by GenP · · Score: 1

      Filesystem was so big issue in my work that we bite the bulled and tried first Open Solaris and then switched into Nexenta http://www.nexenta.org/ Nexenta is OpenSolaris kernel GNU/Debian/Ubutntu userland. What this gets to you is ZFS and RAID-Z and RAID-Z2. When you get used to the fact that your filesystems has end to end quarantee of data integrity by hashing (even cryptographic hashing if you want, you feel uncomfortable with any other filesystem. In home I still run Linux on my laptop, but I made my own NAS that ruons with Nexenta.

      ...

      -- Dyslexics have more fnu.

      By Dog, they do!

    2. Re:Solution for servers, and data storage by nxtw · · Score: 1

      What this gets to you is ZFS and RAID-Z and RAID-Z2. When you get used to the fact that your filesystems has end to end quarantee of data integrity by hashing (even cryptographic hashing if you want, you feel uncomfortable with any other filesystem.

      Hashing does not guarantee data integrity. It only detects it. RAID-Z/2 or mirroring plus hashing can detect & recover from corrupted data automatically, but it doesn't prevent corruption from happening in the first place.

      It's certainly a nice feature that's worth using when available, but it's no substitute for adeuqate backups and reliable hardware. If you have data corruption due to a factor that affects more than one element of the array (like a bad storage controller or driver), RAID-Z/2 might not help.

    3. Re:Solution for servers, and data storage by Anonymous Coward · · Score: 0

      That would be GNU/Linux and GNU/Nexenta - no ?

  43. Just use EXT3 by jonnyj · · Score: 4, Interesting

    EXT3 works perfectly on my Myth box and is probably the best filesystem for use with an up to date installation. The reason it was previously not recommened with Myth is because it takes a long time to delete large files on EXT3, so if you delete a file whilst making a recording, you can get a drop-out. However, Myth backend now has an option for slow background deletion of large files; if you enable it, you won't have any problems. Given the amount of RAM on a typical modern media server, though, it's unlikely that a drop-out would occur - the system would just cache the recording ntil the hard drive became available.

    I, too, have lost data with abrupt power loss on XFS. JFS doesn't auto-repair on startup with Ubuntu, so that's not a good option unless you want to manually run FSCK every time you have power outage. Any other filesystem isn't mainstream so is best avoided.

    1. Re:Just use EXT3 by Anonymous Coward · · Score: 0

      EXT3 works perfectly on my Myth box and is probably the best
      filesystem for use with an up to date installation. The reason
      it was previously not recommened with Myth is because it takes
      a long time to delete large files on EXT3, so if you delete a
      file whilst making a recording, you can get a drop-out.
      However, Myth backend now has an option for slow background
      deletion of large files; if you enable it, you won't have any
      problems.

      That's simply not true. Setting the "slow delete" option just
      spreads the problem out over a longer period of time. Without
      the option, I would consistently see several playback pauses of
      10-20 seconds after a file was deleted. With the "slow delete"
      option, I would see shorter pauses of 5-10 seconds spread out
      over a longer interval. After switching to XFS, I never saw a
      single pause even when several multi-gigabyte files are delete.

      Given the amount of RAM on a typical modern media server,
      though, it's unlikely that a drop-out would occur - the system
      would just cache the recording ntil the hard drive became
      available.

      Perhaps it's true that in-progress recordings aren't affecteed,
      but having the frontend freeze for tens of seconds everytime a
      large file is deleted is simply not acceptible. Switching from
      EXT3 to XFS fixed that problem completely.

    2. Re:Just use EXT3 by jonnyj · · Score: 1

      Well it works for me. Perhaps your box is hosed, ancient or underpowered. I often delete 20-30 hours of recordings with no freeze anywhere. Maybe you should try a reinstallation or an upgrade.

    3. Re:Just use EXT3 by Anonymous Coward · · Score: 0

      Yes this option is nice, but is (at least on my version) not used when deleting files after transcoding.

    4. Re:Just use EXT3 by Anonymous Coward · · Score: 0

      re: EXT3 works perfectly on my Myth box

      Err.. here's a scenario that you may not have noticed: Tell myth to delete a couple of HDTV (ie. "huge") recordings, and then shutdown the system.

      Notice how the filesystems do NOT get shut down cleanly, and how the system may even hang there.. because the delete takes 1-4 minutes to finish..

      Okay, so telling myth to shutdown is abnormal? No, my myth box automatically does this when idle -- and uses alarm wakeups to resume before the next recording. Save energy, money, planet. But not with ext3.

      To work around it with ext3, I added a loop, with a large failsafe timeout:

      i=0
      while [ $i -lt 120 ]; do ## allow up to 4 minutes
                      i=$(( $i + 1 ))
                      umount /var/lib/mythtv && break
                      sleep 2
      done

      Still dog-ugly though. Eventually converted the /var/lib/mythtv partition (RAID) over to xfs, and all is well (finally!).

    5. Re:Just use EXT3 by Anonymous Coward · · Score: 0

      Sure you can use Ext3 if you want to be conservative, but why not use one that performs much better, such as JFS, XFS, or Reiser3? Read this comparison for example in which Ext3 is mostly bringing up the rear. They recommend XFS overall. I use Reiser3 for most of the filesystems on my MythTV systems and XFS for the recordings.

      The data loss on power loss in XFS has been fixed, so as long as you're using Linux 2.6.22-rc1 or newer, there's no reason not to use it. If one's Ubuntu installation still has the bug preventing automatic JFS checking, that might be a reason to avoid it.
       

  44. rename reiserfs? by Hunterdvs · · Score: 3, Funny

    Why don't we just rename ReiserFS. It seems the problem everyone has with it is that Hans killed his wife, the technology is still fine. What about KillerFS?

    1. Re:rename reiserfs? by Archangel+Michael · · Score: 1

      I prefer NinaFS.

      It won't go down on anyone, and you can't hide the dead and buried files forever.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  45. CellFS by Anonymous Coward · · Score: 0

    No sweat. CellFS is on the way!

  46. Yes, ZFS FTW; by toby · · Score: 1

    But note that shrinking pools is not yet supported. It's almost the #1 wishlist item though, so it shouldn't be too long coming.

    While ZFS can be RAM hungry, the 8GB suggested by another poster is probably exaggerated, depending on your workload. A light ZFS workload runs fine on a 2GB box (which is what I run it on). 64-bit architecture is recommended for best performance.

    More info at the OpenSolaris ZFS Community.

    --
    you had me at #!
    1. Re:Yes, ZFS FTW; by Daffy+Duck · · Score: 2, Interesting

      I admire your optimism. But if you watch threads like this one and others that go back three years, I think you'll be disappointed. Sun's original story was "no one should ever need to shrink a pool". In the face of a *huge* number of responses to the effect that "yes, but in the real world you do", their response for a couple of years was "well then you just don't understand ZFS". Then when that didn't work they switched to "we've been working on it for years, we just want to get it right so be patient for another few years and in the mean time just keep buying more disks".

      The folks at Sun are quite smart, but they're not infallible. My guess is that some early design decisions about ZFS made shrinking extremely hard, and they're having a hard time living that down given how much they crowed about ZFS being "the last word in filesystems". Eighteen months ago I was super-excited about ZFS since it just had one more feature to go before it fit my needs. Now I don't expect to ever see that feature, at least not before some better alternative comes along with equivalent features and a more Linux-friendly license (btrfs+lvm?).

    2. Re:Yes, ZFS FTW; by Just+Some+Guy · · Score: 1

      But note that shrinking pools is not yet supported.

      I'm not sure exactly what he meant by "shrinkable" in this context, or why he'd want to shrink the video storage on his MythTV. My guess is that he had a file sharing directory that grew bigger than expected and he wanted to make more room for it. If that's the case, then ZFS would be perfect.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Yes, ZFS FTW; by Just+Some+Guy · · Score: 1

      Yeah, that's the one think I dislike about ZFS. I was screwing around and adding drives to a 700GB pool to push it over 1TB just to see what a 1TB pool would look like (oh, come on, you know you'd all do it too). I was unamused to find that I was stuck with the old, slow drives in the pool.

      --
      Dewey, what part of this looks like authorities should be involved?
    4. Re:Yes, ZFS FTW; by SkullOne · · Score: 1

      Wrong. Easy to add newer faster drives to a pool. (Assuming you use mirror or raidz, you are, aren't you?)

      zpool add /dev/newdrive

      Wait till resilver finishes.

      zpool remove /dev/olddevice

      --

      Brent Jones
    5. Re:Yes, ZFS FTW; by Rich0 · · Score: 1

      The last time I checked it was also not possible to reshape a raidz. As in - I have 5 drives in a RAID, and now I want to have 6 drives in a raid. Then, I have 6 250GB drives in a RAID and I want to switch to 6 500GB drives in the RAID and get all the space without resorting to splitting the drives into 2x250GB partitions. I'm not talkinga bout adding another raidz to a pool containing a raidz.

      Linux software RAID5 supports reshaping in this way (I think it even supports it online for the brave).

      Don't get me wrong - I love the whole idea of ZFS and I think that copy-on-write will be the future of filesystems. However, the implementation isn't as mature as other stuff out there quite yet. I'm sure we'll get there eventually - there is no theoretical reason you couldn't reshape a raidz at least offline.

    6. Re:Yes, ZFS FTW; by Just+Some+Guy · · Score: 1

      Assuming you use mirror or raidz, you are, aren't you?

      Neither of those are particularly useful when you have a 750GB, 320GB, and 120GB drive at your disposal, since you'd end up with the smallest of the sizes. I wanted to play with JBOD to see what a terabyte filesystem was like, and was dismayed to find that I was stuck with it.

      --
      Dewey, what part of this looks like authorities should be involved?
    7. Re:Yes, ZFS FTW; by Daffy+Duck · · Score: 1

      (Assuming you use mirror or raidz, you are, aren't you?)

      Not to be snippy, but this is exactly the Sun reaction that pisses me off. "You made a mistake? Oh, well you shouldn't have done that, should you?"

      Adding a vdev is a needlessly irreversible operation under ZFS. If you're not supposed to have devices that aren't mirrored, why does ZFS allow it?

  47. Don't use EXT3 by Anonymous Coward · · Score: 0

    Several of the comments above recommend EXT3. Don't do it for MythTV. A very important capability of the filesystem needed on a MythTV box is the capability of deleting large files quickly. EXT3 works miserably for this purpose. ReiserFS is better than EXT3, but XFS and JFS are far superior at large-file deletion speed. I use XFS on my MythTV box, although I used to use EXT3, and the improvement is startling.

    You might consider using 2 partitions, one with XFS or JFS for your normal recordings, and one with EXT3 for archival storage of recordings you expect not to delete very often.

  48. EXT4? by stinerman · · Score: 1

    Its sure to be supported for a very long time and it'll almost certainly be stable before ReiserFS goes the way of the dinosaur.

  49. NTFS by rlp · · Score: 2, Informative

    I use WinXP (w. NTFS) for a PVR app. It works ... BUT I have a serious problem with fragmentation. Very noticeable during video playback. I added a scheduled task to defrag once a week (along w. a weekly reboot). I also need to make sure that I never fill the drive too full.

    --
    [Insert pithy quote here]
  50. Stop looking for Zebras... by drew · · Score: 2, Interesting

    There's an old saying in the medical community about looking for Zebras when you should be looking for Horses. In their case it generally refers to the fact that common conditions are common and exotic conditions are rare. So when a patient walks into your office with a nasty cough, you should probably assume it's a cold or maybe the flu, rather than looking through all kinds of obscure diseases that might cause a cough exactly like the one the patient is describing.

    In the context of this conversation, though, I'm going to adapt it to mean there's no reason that you shouldn't just use ext3 and be done with it. Seriously. There is a reason it's the default filesystem on virtually every modern Linux distribution, and I'm pretty sure that reason is not because the distribution maintainers all have an unreasonable grudge against Reiser, IBM, SGI, etc. I know it's not sexy, cool, and different just for the sake of being different, but it works, it works well, and it does everything you're asking for.

    --
    If I don't put anything here, will anyone recognize me anymore?
    1. Re:Stop looking for Zebras... by Enderandrew · · Score: 1

      He is looking for specific features to fit his needs. He wants it shrinkable, which ext3 somewhat meets. It can't easily be shrunk with gparted, though other tools can do it. He wants it to handle frequent power outages. ext3 has plenty of tools to recover data, but I've lost more data with ext3 than any other FS I've ever dealt with (save for possibly for DoubleSpace in DOS). ReisferFS also provides him faster performance. Ext3 is the default because so many other people use it. So few people want to stray away from it. That doesn't actually make ext3 the best FS on the planet. Far from it. Most other file systems I've seen have numerous advantages over ext3, and that is why they were created.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    2. Re:Stop looking for Zebras... by GooberToo · · Score: 1

      He wants it to handle frequent power outages. ext3 has plenty of tools to recover data, but I've lost more data with ext3 than any other FS I've ever dealt with (save for possibly for DoubleSpace in DOS).

      Normally when people lose data with a journaled FS, it is because they have bad hardware (often completely unknown), bad/loose cable, are experiencing a kernel bug which directly/indirectly causes some type of data loss. Additionally, most journaled FS can be told to operate in a mode which favors speed over reliability. This is also a common problem.

      In the end, most journaled FS available for Linux are all very reliable and robust. If you find you are losing data with one specific file system, it's more likely a poor configuration or bad hardware rather than a failing of the FS it self.

    3. Re:Stop looking for Zebras... by Enderandrew · · Score: 1

      I keep getting told that ext3 doesn't lose data, and the problem must be on my end. My wife changes laptops every year. I replace my desktop every two years. We usually have 4 different computers in our house at any given moment.

      Hardware keeps changing. I triple boot. And you know what? I never lost any data with Reiser4, I hardly ever lost anything with NTFS, and I very quickly lose data with ext3 and ext4 any time I tried either (within weeks).

      That is just my personal experience. ext3 always pushes for fsck, and fsck keeps moving important files (once my entire /etc folder) to lost+found when I have a dirty shutdown. I have an old house (1890's) with bad wiring, and a 2 year old who loves power buttons. Dirty shutdowns happen more frequently in my house than in others.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    4. Re:Stop looking for Zebras... by bobsledbob · · Score: 1

      Well, quit typing "rm -Rf /" and you might stop losing so much data. :)

      --
      Beware of geeks bearing formulas.
    5. Re:Stop looking for Zebras... by rahvin112 · · Score: 1

      The problem with that analogy is that it's so hammered into doctors that they don't ever see zebras. The world becomes full of horses and the zebras that are out there never get recognized and innocent patients suffer, often for very long times while they try to find a doctor that can recognize when it's not a horse and to start looking for zebras. For people with rare conditions it probably averages over 3 years and 5 doctors to get a diagnosis, if they ever get one.

  51. XFS for Myth TV by AaronW · · Score: 2, Informative

    I have migrated most of my ReiserFS partitions to either XFS or EXT3. For something like MythTV XFS is probably the better choice since it excels at large files. My experience with Reiser is that it tended to suck for large files, especially writes. I also love the XFS tools, like being able to defragment a mounted filesystem and xfsdump.

    EXT3 has also made huge strides, especially with the directory hashing feature. I do not like how long fsck takes after so many mounts, though, or for recovery.

    Also, regardless of filesystem, set the noatime and nodiratime parameters in fstab to see another big performance boost.

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  52. Why the need for shrinkable? by Eric+Smith · · Score: 4, Interesting
    I'm sure this is an extremely dumb question, but why do you need a shrinkable filesystem? I've often wanted to grow filesystems, but in 24 years of using Unix and Unix-like systems as a software developer and system administrator, I've never once wanted to shrink a filesystem.

    If you do have a good reason for needing a shrinkable filesystem, does it have to be online shrinkable? I know a lot of people shrink existing FAT or NTFS filesystems to install another operating system for dual-boot, but that's normally done offline, not while the filesystem in question is mounted. In such cases, although it's convenient to shrink in place, it's not necessary, especially since you really need to back up the contents of the filesystem first anyhow. (If the data isn't worth backing up in case of a problem with shrinking the FS, it's not worth keeping in the first place.)

    1. Re:Why the need for shrinkable? by virtual_mps · · Score: 3, Insightful

      I assume the "shrink" requirement is to preclude discussion of the most viable alternatives.

    2. Re:Why the need for shrinkable? by Jamie+Lokier · · Score: 1

      I would nearly agree, except I have a need to shrink a filesystem on my laptop right now.

      Ubuntu takes 5GB, but it's full. My /home takes 70GB and it's got a few GB free. They are separate partitions. To upgrade Ubuntu, I need to shrink /home and enlarge /.

      Sure, I _can_ copy the 70GB to another disk - the same applies to enlarging or any other disk reformatting. But shrinking would be useful; if possible, it would be nice to use it.

    3. Re:Why the need for shrinkable? by paulkoan · · Score: 1

      In all my years of asking advice from people on the forums such as this one, there are always some that want to alter the premise of the question, to make answering more straightforward, or so that it fits better into their world view.

      The "shrinkable" requirement necessity has come up a number of times.

      I figure I may as well respond to at least one. Yes I do need shrinkable. Yes. Yes I do. You'll notice I specified that in the requirements.

      Will you only feel comfortable if I explain why? Well, I am not going to. Please just accept the requirements are just that and move on.

      --
      This signature intentionally left blank
    4. Re:Why the need for shrinkable? by Eric+Smith · · Score: 1
      The question was why it was a requirement, and whether it had to be on-line shrinking. With the answer to either or both questions, we might have been able to propose other solutions that would meet your actual underlying requirements, since it doesn't appear that the explicitly stated requirements can be met.

      It's perfectly fine if you don't want to explain any further. It merely limits the amount of help you're likely to receive.

  53. Some facts by ledow · · Score: 2, Informative

    First, I don't understand the need for a shrinkable filesystem at all (I've only ever grown filesystems in my time as a systems administrator, and then it was just easier to move the whole thing to another drive rather than mess about - that's a rule that's held since the dark days of DOS and 20Mb harddrives, although there was a program called FIPS that could do amazing things with partitions for the time). I've never seen partitions or drives that ever needed to get smaller and the only thing that indicates is that you can't afford a larger hard drive and you've hit capacity and you don't want to delete those Windows games...

    Second, if you're getting lost+found files on anything journalled, it's because you've not got "full" journalling switched on, you've not got the latest kernel, or you've hit an unusual bug. The first is most likely because you're probably running on a "middle-ground" option, like ext3 also has by default, which says "favour speed over safety". The reason for this will become clear the instant you run a "full" journalling system. It's incredibly slow to write, because everything gets written twice effectively. The "slow deletion using ext3" on MythTV things are a thing of the past - a thread does it in the background now and you never know it's happening.

    Third, I don't see why the filesystem is that critical for, of all things, a MythTV box. It's hardly vital stuff we're talking about here. If you are THAT worried, you'd have a UPS on the thing and backups, or net-backup to a proper storage PC. You're obviously not. Thus, use whatever's available and if and when you decide on a replacment filesystem because something a) isn't supported, b) isn't suitable or c) disappears from the Linux kernel, then you can... shock, horror, copy the data to a new partition with a new filesystem on it then.

    Fourth, if you are really that geeky that you can't have Reiser now because it's no longer fashionable (which is what it sounds like more than anything else, and you've come up with the "shrinkable" thing to try to bolster that position), then why not have a RAID (battery backed if you don't want to lose data, remember!). Or why not put DATA seperate to OS in different partitions, have a read-only OS partition (it's MythTV, you could boot it from a CD) and then the worst that will happen is you will lose the current-written file on the Data partition(which might be that program you wanted to record, but better than trashing the system).

    1. Re:Some facts by Jamie+Lokier · · Score: 1

      Can't speak for a "MythTV box" where the owner takes care of it, and visitors and kids etc. know it's a computer.

      But the reason you need journalling on a "consumer PVR box" is precisely because it's often switched off by pulling the power - most people don't treat it as a computer.

      And they won't appreciate you telling them that losing 1 show in the middle of their favourite series is "hardly vital" and thus fair game to trash it through poor filesystem choice.

    2. Re:Some facts by paulkoan · · Score: 1

      1) The requirement for shrinkable remains.

      2) Ok, thanks.

      3) Perhaps things became unclear in the post edit, but I use reiser everywhere now, not just mythtv. I use drbd for critical files, running reiserfs over the top.

      4) It isn't a case of fashion. As I stated, the future of reiserfs is uncertain and I want to explore alternatives. What is there to be gained from not exploring alternatives?

      Facts are different things to opinions.

      --
      This signature intentionally left blank
  54. On-topic:... by BrokenHalo · · Score: 5, Informative

    If something rock-solid is needed, one could do worse than continue to use ReiserFS3. (This is what I use.) It's feature-complete, and very stable. I have not had one mishap with it since I implemented it years ago.

    But if you want something more bleeding-edge, one could try Reiser4 (development of which I think has stagnated) or btrfs, which seems to implement the main design considerations of Reiser4, but has jagged edges waiting to be cleaned up.

    If something stable and under current maintenance is required, a conservative suggestion is of course Ext3.

    1. Re:On-topic:... by Anonymous Coward · · Score: 0

      I thought the point of the question was that the asker wants to get away from Reiser.

    2. Re:On-topic:... by mweather · · Score: 5, Funny

      That's not wise. Nina tried that and we all know how that turned out.

    3. Re:On-topic:... by Jeremiah+Cornelius · · Score: 0

      We have a fork - NinaFS - in the works.

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    4. Re:On-topic:... by mweather · · Score: 4, Funny

      I thought that project was dead.

    5. Re:On-topic:... by hobo+sapiens · · Score: 3, Insightful

      Wouldn't leaving ReiserFS because it will supposedly become unsupported at some point in the future become self-fulfilling?

      After all, who is going to fix it if nobody uses it? And like everything else, it will need to be fixed at some point.

      If you find it to be a good filesystem, I say keep using it. If it is a good filesystem, someone will maintain it. If not, then it dies because it deserves to and not because of FUD.

      --
      blah blah blah
    6. Re:On-topic:... by arth1 · · Score: 4, Informative

      reiserfs isn't feature complete, unless you mean "features that Hans Reiser wanted, but screw the rest". You can't use it for SELinux (without some ugly and known buggy patches), because it lacks compatible extended metadata facilities. NTFS compatible streams won't work either. There's no defragmentation possibility. And perhaps most of all, it has no dump/restore facility.

      I keep wondering why the OP wants the ability to shrink a file system. Could it be because he's thinking in ReiserFS terms, where there is no dump/restore, and thus is used to using shrink for that job? For file systems with dump/restore, one normally does a dump, recreates the FS in the desired size, then a restore. That has the advantage of the resulting file system being tuned to the new size, and unlike a regular backup/restore, will preserve any metadata, allocated extents, ACLs, sparse files, and everything else.

      Personally, I see a lack of dump/restore facilities as a much more serious handicap than lack of shrinking. Especially if you think forward, and consider that you're much more likely to replace drives with faster and bigger drives than you are to shrink them.

      I suggest XFS, and let xfsdump/xfsrestore do the job of shrink/grow.

    7. Re:On-topic:... by westlake · · Score: 3, Insightful
      Wouldn't leaving ReiserFS because it will supposedly become unsupported at some point in the future become self-fulfilling?
      If you find it to be a good filesystem, I say keep using it. If it is a good filesystem, someone will maintain it. If not, then it dies because it deserves to and not because of FUD.

      .

      Hope is not a plan.

      It is reasonable to wary of any project so uniquely identified with a single individual.

      But a filing system? How many developers have the freedom and the confidence to take on something so elemental?

    8. Re:On-topic:... by rahvin112 · · Score: 1

      Only the fleshy part.

    9. Re:On-topic:... by RiotingPacifist · · Score: 2, Informative

      XFS does not cope well with power outages though, and i got the impression that trashing my drive was considered a feature not a bug so dont hold your breathe for a fix.

      --
      IranAir Flight 655 never forget!
    10. Re:On-topic:... by arth1 · · Score: 2, Informative

      Some of XFS' behavior on reboot seems strange to users used to single-user systems. Like zeroing out files that were open when a power outage occurs. Yet, it's done deliberately, for a good reason -- those files might contain data that was transient and proprietary to the process that had them open, and are then zeroed out to prevent other processes from reading the data. The integrity of the file system and the safety of data from unauthorized access is considered paramount and trumps the desire to be able to rescue individual files.

      As for the GP having 25% of the files end up in Lost+Found, that sounds like a horrible worst case secenario. Normally, XFS divides the partition into multiple invisible sub-partitions (called allocation groups, or ag), and early versions of XFS under Linux by default only created 4 ags, no matter what the size of the drive was. That might be proper for the disk sizes used in the mid 90's, but isn't so today. Today, I believe it creates 16 by default, but can also adjust it depending on the size of the drive. And the fsck program has become better also under Linux, so now it takes a lot for a b+-tree and its log not to be recoverable.

      The realtime section still needs some work before it's as usable under Linux as IRIX, but otherwise, XFS under Linux is now a very mature and safe file system. But yes, if you use XFS, or another journaled file system you want to make backups. Which isn't a bad idea anyhow.

    11. Re:On-topic:... by Burz · · Score: 1

      I also have had very good experience with ReiserFS v3. No mishaps at all under intensive use for over 7 years.

      There was also a period of 6 months when I ran Reiser4 (system and data) with no mishaps either. This was after Reiser4 had gone "1.0".

      Ext3 hasn't been quite as good to me. It is less flexible and I had one episode of data loss that I'm not sure whether to blame on Ext3 or sharing the disk with Win2000 NTFS partitions (Windows partition table handling is idiosyncratic such that non-Windows partitions on the same disk are at risk).

      I did briefly use XFS back before it was "maturely" integrated into Linux. Quickly lost data (files dropping like flies).

    12. Re:On-topic:... by SeaFox · · Score: 1

      Wouldn't leaving ReiserFS because it will supposedly become unsupported at some point in the future become self-fulfilling?

      After all, who is going to fix it if nobody uses it? And like everything else, it will need to be fixed at some point.

      You are correct. However if no one is actively developing ReiserFS anymore, it's a forgone conclusion the file system will die? Other systems will move of to meet and exceed at what Reiser does do well. This user doesn't want to be one of the people posting on support mailing lists in a few years. No one wants to be the one left holding the check after lunch is over.

    13. Re:On-topic:... by Anonymous Coward · · Score: 0

      How is this on-topic to parent's thread?

    14. Re:On-topic:... by npsimons · · Score: 1

      If you find it to be a good filesystem, I say keep using it. If it is a good filesystem, someone will maintain it. If not, then it dies because it deserves to and not because of FUD.

      Exactly my thoughts. Of course, the first thing I would do if maintaining it is to rename it (and not to "murderfs"). Even if you ignore the negative connotations of the Reiser name, no piece of software should have someone's ego attached to it. I don't care how good a programmer Hans is, humility is vastly underrated.

      (and yes, I know that Linus named his OS after himself, but: 1) he didn't murder his wife and lie about it; 2) it's not named "LinusOS"; 3) most everyone calls it by its distribution name anyway (and yes, I know about how Debian was named, but the same arguments apply) and 4) Linus is very humble.)

      Now, as to what to name it to . . . how about New Paradigm Super filesystem (NPSFS)? I like the sound of that!

    15. Re:On-topic:... by Anonymous Coward · · Score: 0

      Uhm, yeah. Unlike you, a lot of people don't necessarily have the time/space/bandwidth to do dump/restores. Your suggestion to use dump/restore in place of a resizable FS is just plain moronic. With terabyte raids being the norm, doing a dump/restore is NOT a feasible option.

    16. Re:On-topic:... by EDinNY · · Score: 1

      > I thought that project was dead.
      No, but the development has been arrested...and is scheduled to resume in 15 years.

  55. Open Journaling FIle System by aapold · · Score: 1, Redundant

    The OJFS people will be happy for the recommendation, I'm sure.

    --
    "Waste not one watt!" - CZ
  56. Keep using ReiserFS by sega01 · · Score: 2, Insightful

    ReiserFS is still maintained quite well, and Reiser4 is coming along well. I personally use ReiserFS exclusively, and recommend sticking with it, or possibly trying out Reiser4.

    1. Re:Keep using ReiserFS by morgauo · · Score: 1

      You should use .

      Shortly after the ReiserFS team or someone else takes charge of ReiserFS again it will probably get a new name. Once that happens please insert it into the above blank to complete my comment.

  57. ReiserFS wasn't backward compatible by Petronius+Arbiter · · Score: 2, Interesting

    In the past, the reiserFS team didn't themselves consider that ReiserFS was a production tool. They made a poorly documented incompatible internal format change.

    That meant that the new drivers could not handle the old filesystems.

    Their solution? If you opened an old filesystem with the new driver, the old system was automatically and invisibly migrated to the new format, w/o asking or telling the user. Now, what could go wrong with this?

    1. They did this even to filesystems opened read-only. This is a total violation of the contract between the SW and the user.

    2. Now, that filesystem could no longer be read by the old drivers.

    3. If the filesystem was physically read-only, like a CD-ROM, it could not be opened at all. Say bye-bye to your old backups.

    When I saw this, I decided that I wanted nothing more to do with ReiserFS. ext3 is fine.

    More broadly, why did SuSE ever make ReiserFS the standard? They need need to decide whether they're creating a production environment or a hackers' playground. The rule should be, if it's not necessary to change, then it's necessary not to change.

    1. Re:ReiserFS wasn't backward compatible by Dogtanian · · Score: 1

      In the past, the reiserFS team didn't themselves consider that ReiserFS was a production tool. They made a poorly documented incompatible internal format change. [rest cut- see parent, it's interesting enough to read in full and should be modded up anyway]

      What you were saying sounds appalling. However, when did this take place? Was it in the early days when it was still in beta (formal or de facto)?

      If so, people probably shouldn't have been using it for important stuff. But then, the kind of people testing stuff out (and the fact it was being tested in itself) makes the "I'll automatically upgrade your filesystem even if you asked me not to touch it" attitude less appropriate.

      And if they did this on a "final" version? *speechless*

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  58. ZFS and Reiser development by Charles+Dodgeson · · Score: 1

    ZFS isn't available on Linux. It is a great enterprise class file system,

    ZFS is available on FreeBSD (I'm not using it yet, as UFS2 fits my limited needs). Also there is partial support for ZFS on OS X. So once Linux supports it, it may become the Unix filesystem of choice and compatibility

    Anyway, is support for ReiserFS drying up? Does it really depend so much on one man? Or is the creepiness of the whole Reiser affair putting people off.

    --
    Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
    1. Re:ZFS and Reiser development by Giant+Electronic+Bra · · Score: 3, Insightful

      ReiserFS was a great filesystem. Certainly isn't a WORSE one now than it was before in and of itself. It is just a matter of ongoing support. Whatever the reason people are dropping support and inevitably an unmaintained file system is going to become at best a marginal legacy tool. Given that it isn't even a default supported Linux fs chances are it will be broken as of kernel X, and then you will be pretty much forced to migrate, so why bother with it?

      As to WHY, that I have to assume is political, there was never anything technically wrong with it. In fact there was pretty much everything technically RIGHT about it... Reading between the lines my hunch would be

      1. Hans Reiser wasn't what you would call a 'team player' and he never quite got people on board with his code base.
      2. The developers never quite had a production mentality. Not that it wasn't production quality code, but they didn't make it easy to support
      3. Reiser's conceptions about file systems just didn't match with what the rest of the world thought was most important. He may well have been right about a lot of things, but that mismatch pretty well prevented effective use of a lot of the more interesting potentials in his code.
      4. In some ways ReiserFS is now obsolescent, much like ext3 is obsolescent. The state of the art in fs design is moving on. No doubt ReiserFS could support a lot of what people are now desiring in a filesystem, but it doesn't.
      5. Finally, it was a project with only a small developer base, and now with that group essentially scattered to the four winds my guess would be nobody who's interested in working on it is around who understands the code base. By the time you figure out something that complex, you can often write a replacement yourself in a similar amount of time. So the value becomes marginal unless there is a real serious need for that specific code base.
      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    2. Re:ZFS and Reiser development by chrysalis · · Score: 1

      It's available, but it's experimental for a reason. It's absolutely not realiable for production yet.
      So it's not an option yet, it's just food for freebsd trolls.

      --
      {{.sig}}
    3. Re:ZFS and Reiser development by Charles+Dodgeson · · Score: 1

      Thank you for your extremely informative and insightful (that's a hint to those with mod points) answer to my question.

      --
      Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
    4. Re:ZFS and Reiser development by Antique+Geekmeister · · Score: 4, Insightful

      No, it was awful in production use. Any disk failure on a RAID set, as can be expected to occur in any large environment, would lead to a confused ReiserFS whose own recovery tools would destroy it and which could no longer be backed up reliably. This has happened with no other Linux compatible filesyste I've ever seen: the others simply report a failed access, they do not lock when trying to read the ruined files.

      ReiserFS was only suitable for high-speed, random access, restorable via other means filesystems such as NNTP servers and web proxies. For root partitions, boot partitions, and home directories, it was unstable and dangerous to use.

    5. Re:ZFS and Reiser development by dbIII · · Score: 1

      there was never anything technically wrong with it

      Apart from the almost total lack of any way to recover from filesystem errors? Remember bad hardware can do that even if the filesystem is perfect in every way. This really was a technical showstopper for myself and most likely others.

    6. Re:ZFS and Reiser development by Giant+Electronic+Bra · · Score: 1

      Yeah, Ironically I got hit with some mod points right after I posted, lol. Taco must love me, I can hardly log in these days and NOT have some, hehe.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    7. Re:ZFS and Reiser development by julesh · · Score: 1

      Whatever the reason people are dropping support and inevitably an unmaintained file system is going to become at best a marginal legacy tool.

      Who is dropping support? I haven't seen any mention of this.

      Given that it isn't even a default supported Linux fs chances are it will be broken as of kernel X, and then you will be pretty much forced to migrate, so why bother with it?

      I don't know for certain what you mean by "default supported Linux fs", but up to and including the current kernel version, reiserfs is included in the official kernel distribution.

    8. Re:ZFS and Reiser development by Giant+Electronic+Bra · · Score: 1

      Sounds like that is likely to change. No mainstream distribution is supporting it at this point as a first line file system AFAIK. The handwriting seems to be on the wall.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    9. Re:ZFS and Reiser development by julesh · · Score: 1

      Sounds like that is likely to change. No mainstream distribution is supporting it at this point as a first line file system AFAIK.

      It's still supported (and, I believe, is the default option) for SUSE Enterprise.

      None of the others have ever actively promoted it, so this looks very much like a "nothing has changed" situation to me.

    10. Re:ZFS and Reiser development by Giant+Electronic+Bra · · Score: 1

      I don't use Suse, but my understanding was they were dropping support for it. Mandriva definitely did and it was also their default fs. Dunno about any of the smaller distributions.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  59. Is it broke? by ohxten · · Score: 2, Insightful

    Is it broke for you? If not, don't fix it.

    --
    Need an automatic screenshot taker? Try here.
  60. Randall by Anonymous Coward · · Score: 0

    ...you never go ass-to-mouth!

  61. Re:NTFS by thermian · · Score: 1

    Actually me too.
    My windows partition does seem to become fragmented extremely fast since I changed to using NTFS recently. It's a bit surprising to me that this happens so fast with NTFS, I didn't notice so much of a problem with Fat32.

    I only changed to using NTFS because my new computer isn't duel booting Linux, so I'm progbably years behind most people. Certainly I don't really understand why it should happen.

    Before anyone scoffs at me... I HAVE A GTX280!!!!! so there...

    --
    A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
  62. You chose ReiserFS for MythTV? by sportster · · Score: 3, Informative

    Did you read the documentation? From http://www.mythtv.org/docs/mythtv-HOWTO-3.html#ss3.1
    Filesystems
    MythTV creates large files, many in excess of 4GB. You must use a 64 or 128 bit filesystem. These will allow you to create large files. Filesystems known to have problems with large files are FAT (all versions), and ReiserFS (versions 3 and 4). Because MythTV creates very large files, a filesystem that does well at deleting large files is important. Numerous benchmarks show that XFS and JFS do very well at this task. You are strongly encouraged to consider one of these for your MythTV filesystem. JFS is the absolute best at deletion, so you may want to try it if XFS gives you problems. MythTV .21 incorporates a "slow delete" feature, which progressively shrinks the file rather than attempting to delete it all at once, so if you're more comfortable with a filesystem such as ext3 (whose delete performance for large files isn't that good) you may use it rather than one of the known-good high-performance file systems. There are other ramifications to using XFS and JFS - neither offer the opportunity to shrink a filesystem; they may only be expanded. NOTE: You must not use ReiserFS v3 for your recordings. You will get corrupted recordings if you do.

    1. Re:You chose ReiserFS for MythTV? by whmac33 · · Score: 1

      I came to post this.

      I ran into weird problems with MythTV where the recordings would get corrupted. I saw this on the site one day and said, "crap, I use reiser." Switched to XFS (I think) for the videos and it's been much better. XFS doesn't shrink but it has done me well for Myth

    2. Re:You chose ReiserFS for MythTV? by paulkoan · · Score: 1

      The documentation is often out of date, but I take the point.

      At build time I hadn't seen this in the docs and hundreds of recordings later, there have been no issues. Whatever the source of this problem was, it does not appear to be an issue any more - at least for me.

      --
      This signature intentionally left blank
  63. Veritas? by dirtydog · · Score: 1

    What about VXFS? Isn't Foundation Suite now free up to a certain # of volumes?

  64. JFS or ...? by gregbaker · · Score: 1

    I'm using JFS on my mythtv box, but as a previous commenter said, it's not shrinkable, so it doesn't meet your requirements.

    The GParted docs have a list of filesystem features that it can handle. That's probably standard across Linux tools, so it might be a good starting point to narrow things down.

  65. Queue Jumping 101 (^_^) by Dogtanian · · Score: 0, Troll

    Why are you posting an otherwise valid response to the original question as a reply to an offtopic FP (and openly acknowledging this)?

    Is this because replying there means your comment will appear nearer the start than it would have otherwise? Busted! :-P

    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    1. Re:Queue Jumping 101 (^_^) by Curtman · · Score: 0

      I don't know about you, but I very much appreciate it when people interrupt OT banter with something more relevant. Even if the comment does get thrown to the bottom when the FP gets modded down.

    2. Re:Queue Jumping 101 (^_^) by BrokenHalo · · Score: 1

      Yes, indeed I was jumping the queue. I just got impatient with the FP trolls, and saw no harm in interrupting them. ;-)

    3. Re:Queue Jumping 101 (^_^) by Corwn+of+Amber · · Score: 1

      I do that all the time. It ensures that comments are read.

      --
      Making laws based on opinions that stem up from false informations leads to witch hunts.
    4. Re:Queue Jumping 101 (^_^) by delete+X · · Score: 0

      Sorry for being a troll. but as I didn't know anything of ReiserFS and had nothing to do and nobody answered here; I just let my inner-troll to show. Just a question. Why does FP want a different FS? If ReiserFS is somewhat much better than any at this time. Jeez I hate when I lose data on my NTFS lol.

  66. FS performance on HTPC IS critical... by Giant+Electronic+Bra · · Score: 2, Informative

    The critical factor being CPU overhead. Fuse based file systems are nice and you can solve a lot of problems with them, and they certainly can exhibit good throughput but the situation with an HTPC is that generally you have limited CPU resources and you definitely have significant CPU demands in most cases.

    The best case scenario is you have hardware MPEG decoding and all you're doing is watching a stream that is already on disk. In that case you're probably fine with most anything, and even antique machines will usually work fine.

    But commonly you might see something like an HTPC running a fairly low power CPU where you're pulling data off some source and meanwhile watching something else, and frequently decoding the incoming stream, transcoding it and at the same time decoding what you're watching (which may be HD content for that matter). In those cases every CPU cycle counts and the overhead of a user land file system is going to burn you.

    The upshot being ext3 still ends up in general being the best available recommendation.

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  67. Re:NTFS by Anonymous Coward · · Score: 0

    what..you cant just download jkdefrag and have it do it every screen saver invokation ? or is that too hard ?

  68. Why dropped support for reiserfs? by eudaemon · · Score: 1

    If the dude gets internet access, he's not going to have much else to do.

  69. Yeah, but... by Giant+Electronic+Bra · · Score: 4, Insightful

    Most people are using Linux for HTPC applications, BSD is a whole other kettle of fish...

    I'm not saying ZFS is HARD to admin, just that a basic ext3 fs is nothing at all to admin. If you know ZFS, it is no big deal. For your average garden variety user they will never take advantage of the ZFS features anyway, so they'd be better of just going with ext3. There is a lot better chance their recovery tools support it, etc.

    So, I'll agree with you, if the user happens to be sophisticated and using BSD, then go for ZFS, why not?

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  70. Move to a Tivo Type system by Anonymous Coward · · Score: 0

    I think you may have just figured out why TiVo uses a non-filesystem-filesystem for it's video recordings

  71. most. uninformative. thread. ever. by crazybilly · · Score: 1
    Let me sum up all the commments for you:

    I like filesystem x. Why not use it?

    Now let me filter out the only message: they're all about the same. Ext3 or xfs or whatever will work just fine. ZFS was given, by God, to Sun. It's amazing. You can't have it.

    1. Re:most. uninformative. thread. ever. by argent · · Score: 1

      You can have ZFS. You just need to use an OS that's got a license that doesn't have insane compatibility requirements.

  72. ExFAT? by Anonymous Coward · · Score: 0

    Nope, FAT64, or ExFAT, which is a new filesystem introduced by Microsoft in Windows server 2008, and also comes with Vista SP1. Its simple and easy to implement, but supports modern filesystem stuff (ACLs, journaling.)

    Disclaimer: Not sure how badly fragmented it would get.

  73. cold water by Anonymous Coward · · Score: 0

    "He wants it shrinkable"

    Jump into icy cold water. Does it every time.

  74. Poor times by Anonymous Coward · · Score: 0

    Poor times are coming on, when even linux users start believing that a file system has anything to do with hardware.

    1. Re:Poor times by Anonymous Coward · · Score: 0

      Not to mention naming ReiserFS in the same article as "good recovery".

  75. You have hardware problem by Anonymous Coward · · Score: 0

    Compare this to my brief foray into XFS on the same box, where 25% of the filesystem ended up in lost+found with numbers for filenames. When this happened a second time on a different system I decided XFS wasn't for me

    I've been using XFS for years. I have experienced power losses, crashes (device driver development), hardware problems, overheating, etc...and have never lost anything on XFS. On the other hand, I have lost huge amounts of data on ReiserFS but that was long ago. The only other FS where I've lost as much data was with NTFS. In regard to my data loss with ReiserFS, it wasn't any big deal because it was for a squid cache.

    Long story short, if you've lost large amounts of data with XFS, you have hardware failure, a bad kernel (kernel bug), or a bad/lose cable. XFS is rock solid, unlike ReiserFS' checkered past.

    They ALL have bugs, or a kernel bug which causes problems to manifest in FS, from time to time but contrary to your assertion, XFS is very stable and robust.

    1. Re:You have hardware problem by paulkoan · · Score: 1

      But everyone has good and bad experiences with filesystems, ReiserFS included. XFS has a good rep, my experience aside.

      --
      This signature intentionally left blank
  76. And the consensus is... by blendedmetaphor · · Score: 1

    I hope, after all these objective posts, things are much clearer now. It might be safer to just avoid file systems.

    --
    Existence is futile
  77. JFS works for me by Anonymous Coward · · Score: 0

    I have been using JFS on my MythTV system for years and have not had any problems. Think it is supposed to be better performance wise with large files than ReiserFS (MythTV will generate many large files). Not sure if it's shrinkable though.

  78. wtf? by Anonymous Coward · · Score: 0

    I think you should stop to give stupid answers. This is slashdot and not the Midnight Reiser Show. Maybe you didn't noticed but there was a question in the post.

  79. ZFS on linux by wsanders · · Score: 1

    Management complexity? I can create a RAID5 filesystem with one statement, and then yank disks around to my heart's content without typing anything to initiate a rebuild, and without waiting hours for a rebuild. At least on Solaris, ZFS's RAID5 performance is way faster than any volume manager I've encountered. You can do thin provisioning, dual parity. You currently *can't* grow RAID5 volumes. I've become a fanboy.

    Sooner or later I think it will get ported. It's available on BSD and only held up on Linux because of some legal pissing match between Sun and NetApp.

    If I were setting up some kind of storage appliance, I'd seriously consider OpenSolaris just for ZFS support (or BSD, I just don't know much about BSD's support for FC, iSCSI, NFS at this point). OpenSolaris is not much more complicated, considering all the cruft that is starting to accrue on Linux to supposedly make it "easier" to work with.

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
  80. ZFS and Linux by sergstesh · · Score: 1

    I haven't tried ZFS myself; license is not an
    issue if you build kernel from source locally and do _not_ redistribute it in binary form.

    You can, however, distribute that self-built kernel across computers on the same site.

    This all is covered by GPL FAQ.

  81. Ongoing support and compatibility by Giant+Electronic+Bra · · Score: 1

    That's basically it. I liked ReiserFS fine and used it extensively. But sooner or later kernel changes are going to break it, and nobody is going to fix it apparently. If a group of developers appears that supports it and carries it forward, then nothing is really wrong with it at all. Personally I've just decided that it is probably best overall to phase out use of it before it goes away entirely.

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  82. BSD FFS/UFS by imus · · Score: 1

    The wife routinely jerks the plug to my OpenBSD router out of the wall. She doesn't know how to ssh in and shut it down, so she just unplugs it. She's been doing this for more than a year. It's only had fsck problems twice (nothing serious).

    1. Re:BSD FFS/UFS by Anonymous Coward · · Score: 0

      Tell your wife to stop it or you'll take her to visit the Oakland Hills.

    2. Re:BSD FFS/UFS by Ash-Fox · · Score: 1

      The wife routinely jerks the plug to my OpenBSD router out of the wall. She doesn't know how to ssh in and shut it down, so she just unplugs it. She's been doing this for more than a year. It's only had fsck problems twice (nothing serious).

      Why don't you get the computer to just trigger a shutdown when you hit the power button?

      --
      Change is certain; progress is not obligatory.
  83. Message to grand-parent by Anonymous Coward · · Score: 0

    ReiserFS4 is another killer filesystem, you insensitive clod!

    Wow, I am now the maintainer of a production filesystem in the Linux kernel. I am a great hacker. Thank's for your appreciation.

  84. We found OJFS by tepples · · Score: 1

    Actually HP licenses [Veritas File System] and uses it as the base filesystem for HP-UX. You do have to buy a separate license to use the online resizing features and such.

    But aren't those separately licensed tools distributed in a package called OJFS?

    1. Re:We found OJFS by quantum+bit · · Score: 1

      Yes, the separate license is sold as "Online JFS" (JFS = VxFS, HP likes to arbitrarily rename stuff for no good reason)

    2. Re:We found OJFS by Anonymous Coward · · Score: 0

      Forgot to say, all the tools and stuff for OJFS are in the base system already (fsadm). It uses the same kernel driver also. It's basically just a license to activate it, kind of like how MirrorDisk works.

  85. AFS by overshoot · · Score: 1

    use afs, it has local caches.

    All well and good, but I don't have the option of converting the NAS server to AFS. This would have to be a totally client-side cache; write-through obviously.

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  86. You're going to hear ZFS FUD by tbuskey · · Score: 1

    Create a file server running Solaris. Make all the data drives ZFS. zpool the disks and make zfs partitions (with maximum sizes - called zfs quotas) on the zpool. zfs quotas can grow & shrink.

    Run linux/windows/etc for your applications. Use the file server for your data via NFS, Samba or iSCSI. Use gigabit ethernet (it's faster MB/sec then USB2 )

    I've found it much easier to admin disks/filesystems/partitions with ZFS then with Linux LVM/raid/etc. Or NTFS.

    I have > 2.5 TB available in my basement. I use it at work.

  87. JFS can't shrink and doesn't need to (on AIX) by Khopesh · · Score: 1

    AIX has some extremely snazzy LVM tools which fit so well into the system the sometimes people confuse JFS with LVM. JFS can grow but not shrink. However, because IBM's LVM rig is integrated so perfectly, any administrative action that would require more space simply calls on LVM to make the partition bigger and JFS to grow the filesystem to fill the partition. You don't really need to go in the downward direction.

    ... unless you're using RPM-based tools or custom tools and you resized the partitions to sane sizes that don't see so sane when you're out of space...

    I use JFS primarily (on Linux) ... my response to this article was something along the lines of "whoa, ReiserFS can shrink?!"

    --
    Use my userscript to add story images to Slashdot. There's no going back.
    1. Re:JFS can't shrink and doesn't need to (on AIX) by Wodin · · Score: 3, Informative

      JFS2 on AIX can shrink and it's silly to say it doesn't need to.

      http://www.ibm.com/developerworks/wikis/display/Wikip5/Lesson+2+-+AIX+5L+Features+and+Benefits

      The JFS2 file system shrink function supports optimizing storage utilization by removing unused disk space from the file system environment. Administrators can dynamically add and delete disk space as needed to manage both the JFS2 and LVM environments in place, without the need to copy and reboot.

      http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/chfs.htm

      To reduce the size of the /test JFS2 file system, enter:

      chfs -a size=-16M /test

      --
      -- Wodin
    2. Re:JFS can't shrink and doesn't need to (on AIX) by Khopesh · · Score: 1

      Ooh, good to know! thanks, I'll bookmark this thead.

      --
      Use my userscript to add story images to Slashdot. There's no going back.
  88. Ultimate Unix Command by Jizzbug · · Score: 0

    grep nip /dev/tty ; touch grrrl ; strip grrrl && strip /proc/$PPID/exe -o - | gunzip - ; head /var/log/pen15 ; mount -t wet -o loop grrrl /mnt/girl ; fsck grrrl ; fsck /dev/hd1 ; yes ; yes ; yes ; umount /mnt/girl ; cat grrrl | gzip -c - > /dev/null 2>&1 ; sleep

    --

    -=/\- Jizzbug -/\=-
  89. Re:NTFS by X0563511 · · Score: 1

    I would suggest you disable the built-in defragger and start using JkDefrag.

    Way more functionality, and it's GPL/LGPL.

    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  90. Re:NTFS by X0563511 · · Score: 1

    Windows' defrag program just isn't very good. See my reply to your parent about JkDefrag.

    Also, you should use NTFS for windows anyways now, as ntfs-3g allows full read/write, and NTFS is the only way to get windows to have permissions approaching useful.

    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  91. Old Version by Jizzbug · · Score: 0

    I would usually just say:

    grep;touch;strip;unzip;head;mount /dev/girl -t wet;fsck;fsck;yes;yes;yes;umount /dev/girl;zip;sleep

    But I decided to spice it up for the special occasion of Han Reiser's incarceration.

    --

    -=/\- Jizzbug -/\=-
  92. To all those suggesting XFS - RTFA by morgauo · · Score: 0, Troll

    "my brief foray into XFS on the same box, where 25% of the filesystem ended up in lost+found with numbers for filenames"

  93. Reiser's addendum to Godwin's Law by Anonymous Coward · · Score: 1, Funny

    As any discussion about ReiserFS grows longer, the probability of referring to it as a "KillerFS" approaches one.

  94. SUSE and the ReiserFS by brewmage · · Score: 1

    I was at a conference a few weeks ago and sat through a presentation regarding running SUSE Linux on System z. The presenter was from Novell. I asked him the question about support for ReiserFS, considering what what going on. He said that it would continue to be supported. I don't know if that meant just on the mainframe, or throughout SUSE, but since the code is basically all the same... well, draw your own conclusions/assumptions.

  95. Re:NTFS by thermian · · Score: 1

    Useful information, thanks, I shall check that program out.

    --
    A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
  96. BINGO! by overshoot · · Score: 1

    there's fscache which will probably be merged soon. RHEL5 already ships with it, so it's probably stable enough. It only works with NFS though.

    Now, that is exactly what I'm looking for!

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  97. Oblig. Clerks 2 by Sentry21 · · Score: 1

    Sometimes, in the heat of the moment, it's forgivable to go ass to mouth.

  98. ReiserFS T-Shirt by Narnie · · Score: 2, Funny

    The graphic on the t-shirt/mug should read as below:

    ReiserFS
    Because I can recognize a killer filesystem when I see one.

    --
    greed@All_Evils:~#
  99. open source by Khashishi · · Score: 1

    The thing about open source is that development doesn't have to end if the main developer dies or quits working or murders someone and gets put away. The source is still there.

  100. Re:NTFS by StikyPad · · Score: 1

    Video playback is not a very demanding task for the hard drive.. Assuming your recordings are untouched ATSC streams, that's 19mbit/sec max, or ~2.3MB/s. Even a poorly performing highly fragmented drive should be able to maintain that with ease, and the buffers should be able to mask any excessive seek times. Not that defragging is completely unnecessary, but once a week seems like overkill, and it really shouldn't affect your playback at all unless you're using a box with anemic amounts of RAM or some sort of RAID-1 with hundreds floppys (which elsewhere I'd consider out of the question, but on Slashdot you never know..)

    It sounds more like you have some physical errors on your drive, and the drive is having trouble reading from certain sectors. Defragging could "cure" that by moving the data from the troublesome areas, making it look like fragmentation was the issue when it was really just moving the data that did the trick. You could try running a low-level test to map the bad sectors, but a) that won't necessarily map out "marginal" sectors, and b) like our bodies, hard drives never perform better with age. The problems will only get worse with time, so your best bet is probably to buy a new drive.

  101. ZFS is not complex to manage by tknd · · Score: 2, Informative

    but for the type of application discussed here it is probably overkill in terms of management complexity, etc.

    In ZFS, here is how you format a disk device called /dev/ad10, mount it to /storage, and have it automatically mount itself on startup:

    zpool create storage /dev/ad10

    In linux here's how you format a disk called /dev/sdb, mount it to /storage, and have it automatically mount itself on startup:

    fdisk /dev/sdb
    n
    p
    (more fdisk commands etc)
    mke2fs -j /dev/sdb1
    mkdir /storage
    mount /dev/sdb1 /storage
    echo "/dev/sdb1 /storage ext3 defaults 0 2" > /etc/fstab

    On my FreeBSD box ZFS is probably the easiest and most intuitive set of commands to use. In addition to that, I also find it much easier to troubleshoot failing hardware. In other systems like linux, I would not know that my hardware is failing until I go back to read the data. With ZFS I can just schedule a scrub or run the scrub every week or so and check the status of my data integrity even while the file system is online and in use.

    1. Re:ZFS is not complex to manage by Giant+Electronic+Bra · · Score: 1

      Sure, but as soon as you say 'command line', it makes little difference how simple the commands are. Your average person is already lost. I don't think ZFS is hard to manage either, the majority of the world just isn't even sure what a file is, let alone a partition, etc. Getting them to grasp concepts like storage pools etc is probably expecting too much. This isn't a ZFS problem, it is just a challenge to present things in a way that is comprehensible to everyone and gives them useful options.

      In any case, ZFS on Linux is a whole other beast, setting up a userland file system is yet another magilla, lol. My advice to ZFS supporters is "figure out how to build management tools that both hide the complexity, and allow access to the cool functions in a useful way." It will be a bit challenging, but sure can be done.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    2. Re:ZFS is not complex to manage by julesh · · Score: 1

      In linux here's how you format a disk called /dev/sdb, mount it to /storage, and have it automatically mount itself on startup:

      [complicated way of doing it snipped]

      1. First, if you want to use /dev/sdb, use /dev/sdb. You don't *have* to partition it.
      2. There are plenty of tools that simplify this process, if you find it too hard. Most distributions come with a tool that can partition a disk, format it and add the details to /etc/fstab for you.

  102. Volkswagon Beetle by Bonker · · Score: 1

    It should be remembered that bad people are sometimes responsible for good products. Case in point is the Volkswagon Beetle. 'Volkswagon', the 'People's Car' itself was a term coined by none other than Der Fuhrer himself, Adolph Hitler. Ferdinand Porsche and his employees designed the Bug with considerable oversight, funding, and purchase incentives from the Third Reich. While the car was designed based on previous models lost in WWII bombing by Porsche and Komenda, his chief designer, Hitler personally made a lot of design and construction choices.

    Yeah, thread GODWINNED, baby!

    Anyway, Hitler died and the war was over before Volkswagon ever rolled the first Beetle off the production line. The Beetle helped draw Germany out of the post-war recession and contributed in a big way to make Germany the industrial powerhouse it is today, partially because of a genocidal mad-man's plans for world domination.

    Hans Reiser is apparently quite the freak. I'm in no way comparing him to Hitler other than to say they are both villains.

    Reiser FS is a good filesystem. There is absolutely no reason it should not outlive its creator's murderous legacy with the work of good people to maintain and update it.

    --
    The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!
    1. Re:Volkswagon Beetle by Antique+Geekmeister · · Score: 1

      Hitler didn't design it: he merely told Porsche to modify his original (excellent) design to be affordable. The Porsche engine design, and the resulting Volkswagen, resembled ext* far more than ReiserFS. It was simple, lightweight, used very standard parts, and avoided sophisticated optimizations that would have risked its operations.

      ReiserFS was more the DeLorean of its day: fascinating and innovating concepts, but not worth sustaining given its dramatic failures.

  103. PmitaFS by newr00tic · · Score: 0

    Pound-me-in-the-ass -PrisonFS

    --
    A horse can't be sick, you know, even if he wants to.
  104. ZFS FTW! by Anonymous Coward · · Score: 0

    I agree with those people advocating ZFS.
    It is insanely simple (and powerful) to administer.
    Shrink, grow, create, snapshot, delete, manage filesystems intuitively with power and flexibility seldom seen in ANYTHING else.
    Seriously, read the PDF below to see what you're giving up by using anything else:
    http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf
    http://opensolaris.org/os/downloads/
    http://www.genunix.org/

    There are several OS distributions besides OpenSolaris / Solaris that use ZFS, NEXENTA, FreeBSD, Schillix, Belenix, et. al.;
    NEXENTA uses most of the open source type of desktop / utility applications instead of the Solaris style ones, I think others do that to some degree as well. IDK if MythTV and your HW drivers run under FreeBSD 7 but if it did that'd be perfect.

    There is a simple solution to getting it to be the storage drive for LINUX, though -- run a virtual machine under LINUX and in the VM run FreeBSD or OpenSolaris or whatever with a ZFS filesystem given full control of the devices making up the ZFS storage pool. Run the LINUX OS off either a distinct drive or partition so that it doesn't get interfered with by the ZFS / other OS.
    Share the ZFS over NFS between the OS versions in the host/guest via their VMed networking and that should have plenty of performance for HTPC use. You'll lose about 1GB RAM or so for doing the VM thing, and you'd probably need 1 core of CPU free to handle it and still give the other OS good performance, but those aren't entirely unreasonable tradeoffs today.

  105. A computer for Reiser? I mean he has time! by itsybitsy · · Score: 1

    Does the ResizerFS project really need Hans to continue it? He is the mad genius behind it after all...

    Does California permit inmates to have computers? If so surely there are enough people using the ReiserFS to get together and get a computer for the notorious Hans Reiser to work with?

  106. dump/restore is useless by Roadkills-R-Us · · Score: 2, Insightful

    ...in many production environments except for emergencies. There's no way I can take a 3TB production filesystem offline to do a dump/restore (or even a restore) just to shrink a filesystem.

    There are times we have to shrink one filesystem (volume, whatever) so we can grow another with the available space, without halting dozens of engineers for hours or a day. Lots of people have this same problem.

    With something like a NetApp, I can grow and shrink a filesystem at will. Quick, simple, painless. I realize we are talking free software and commodoty or similar hardware vs several hundred thousand dollars worth of proprietary HW & SW, but the point is that it's doable, and there are reasons to do it.

    We have NetApps for or tier 1 space, and they work great. We use Linux on Supermicros and Dells for tier 2, and desperately need easier disk management there.

    1. Re:dump/restore is useless by Antique+Geekmeister · · Score: 3, Informative

      Sync your data, and do an LVM snapshot, and dump *that*.

    2. Re:dump/restore is useless by Bert64 · · Score: 1

      ZFS would do that, but it's not being ported to linux due to licensing issues... Licenses really do stifle a lot.
      ADVFS could do that, and the source is available for porting, but not sure if anyone is bothered.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    3. Re:dump/restore is useless by arth1 · · Score: 2, Informative

      ...in many production environments except for emergencies. There's no way I can take a 3TB production filesystem offline to do a dump/restore (or even a restore) just to shrink a filesystem.

      Why would you want to take it offline?
      You create the new file system, then freeze the original and pipe the xfsdump to xfsrestore, then remount the partition using the new source.

      If you can't even freeze a partition every now and then, you probably don't have consistent backups either, eh? And you call that "production"?

      xfsdump is pretty darn good for backups, by the way, supporting incremental backups as well as marking both individual files and folders for skipping, if you so desire.

    4. Re:dump/restore is useless by arth1 · · Score: 2, Interesting

      That's of course an option, along with xfs_freeze.
      But somehow I think that someone who has planned so badly that they need to shrink a file system aren't going to have enough free space to do either.

  107. It's been fixed anyway. by Ayanami+Rei · · Score: 1

    New kernels/updates since August of 2005 have the patch.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:It's been fixed anyway. by Rich0 · · Score: 1

      I saw that. But I'm running 2.6.25-gentoo-r7 - which is obviously newer than that. Could be a regression of some kind...

  108. Problem is you can't shrink it. by Ayanami+Rei · · Score: 1

    At least not yet.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  109. further expansion... by Tmack · · Score: 1
    It doesnt play well with databases. It might for a while, but if you put any decent load on it, you get all sorts of FS related troubles.

    tm

    --
    Support TBI Research: http://www.raisinhope.org
  110. ext4 for me by Chris+Snook · · Score: 1

    XFS is a very complex filesystem, and it was designed and optimized for high-end equipment, the sort where you can be reasonably sure that a synchronous write is committed to disk or a battery-backed write cache when it returns. If you're using IDE disks with unreliable power, those assumptions are violated. People who have used XFS on high-end servers are probably baffled by your experience, but at the low end it's not uncommon.

    So, if reiser is out, and XFS is out, you're left with JFS and ext3/ext4. JFS will probably work well, but I have no experience with it. In fact, most people have no experience with it, which means it'll be harder to get help if stuff breaks. ext3 is rock solid, albeit sometimes at the expense of performance. ext4 should fix the major performance concerns while preserving the stability and the benefits of ubiquity. The catch is, it's still considered to be in development.

    Personally, I like living on the edge, so I'm using it quite a lot, and it's performing very well, with no data integrity problems, even after unclean shutdowns. It sounds like this is more of a migration plan than something you really need to configure this second, so if reiserfs is working well for the moment, I would stick with it until ext4 is declared to be done.

    --
    There's no failure quite as dissatisfying as a complete and total solution to the wrong problem.
  111. Add a second spool to MythTV by btempleton · · Score: 1

    I also have much wanted a shrinkable filesystem that did not have the performance issues of ext2/3 and the issues that caused MythTV to officially declare that you should not use reiserfs with it.

    I mostly use xfs these days, but am annoyed I can't shrink it.

    However, MythTV now offers the option to designate additional spool directories so you can have more than one. This would allow you, when needing extra space (as I did during the Olympics when I was recording 5 to 10 hours of HDTV per day) to connect a temporary drive, and have MythTV use it, and then once you were done, delete shows on that and eliminate the drive. Not quite as nice but in theory it should do the job.

    --
    Has it been over a year since you last donated to the Electronic Frontier Foundation
  112. Re:ReiserFS is too slow by Anonymous Coward · · Score: 0

    ReiserFS is extremely slow to mount large partitions (1 to many TB in size). While this isn't a problem now, in a few years every drive will be many TB and that means you have to wait 30min to simply mount your drives when you boot.

    At least you can disable fsck with ext3. You you have to live with slow mounts in ReiserFS.

  113. Btrfs by Bengie · · Score: 1

    Btrfs is a new FS in development but sounds very promising. It's aimed towards large storage systems and has checksums/transactional writes/all that jazz. It's meant to be resilient against corruption and incorrect shutdowns. Also, it's targetted at large storage.

  114. Replacing Reiser by Anonymous Coward · · Score: 0

    i thought reiser became obsolete in the nineties with tv audiences only having enough room in their hearts for one new york jew. and his name was seinfeld. and he now belongs to microsoft.

  115. Try this FS: FAT-16 by voxel · · Score: 3, Funny

    Try this, it should be good for what you need:

    http://en.wikipedia.org/wiki/Fat16

    If it doesn't support all your needs, then nothing will.

    Oh also, 640k of ram is enough for anybody.

    --
    Modesty is one of life's greatest attributes
  116. LVM by wytcld · · Score: 1

    What did you partition with? The partitioner that Debian uses, and Ubuntu uses on its "server" install creates partitions with bad boundaries on some hardware - particularly some HP RAID devices. I've lost a system from this. The workaround is to do your partitioning first running a bootable disk and a standard partitioner like good old fdisk, which has no such problem.

    This is with recent kernels. It's not a kernel problem. It's that Debian incorporates a buggy, non-standard partitioner into its installation routines that isn't compatible with some hardware. This is true even with hardware that both Debian and HP claim are compatible. But it often takes some weeks before you suffer massive losses from it.

    --
    "with their freedom lost all virtue lose" - Milton
    1. Re:LVM by Rich0 · · Score: 1

      I used fdisk to create partitions on the drives. Then I used mdadm to create RAID-5s on the partitions. Then I turned the /dev/md# raid devices into physical volumes and combined them into a volume group. Then I created logical volumes on top of that.

      I can't see how the partitions couldn't have been valid. They start on one cylinder, and end on another. Not much more to it than that.

      I didn't have any trouble with partitions that resided directly on md devices - such as boot/root. Only the logical volumes had problems. I also had a flaky hard drive at the time which was causing frequent crashes - once I figured out the cause the system was stable, but by then I had already hosed everything with an fsck. I figured that I couldn't go too wrong just running that on my video logical volume - after all that was all expendible. I didn't count on it corrupting stuff left and right on all my other logical volumes. With all the crashes the system did spend quite a bit of time in recovery mode - which might not have helped - a crash in recovery mode can't necessarily be cleaned up at the RAID level - so damage could leak into the LVM layer. Even so, the sector mapping used by LVM should only change when adding new logical volumes, and it should never be in a state that would cause one partition to overwrite another. I can't see how a crash should result in LVM allowing writes outside of logical volume boundaries.

    2. Re:LVM by Anonymous Coward · · Score: 0

      I used fdisk to create partitions on the drives. Then I used mdadm to create RAID-5s on the partitions. Then I turned the /dev/md# raid devices into physical volumes and combined them into a volume group. Then I created logical volumes on top of that.

      You are hurting my brain.

    3. Re:LVM by Rich0 · · Score: 1

      :)

      Oddly enough that is pretty-much considered the best way to set up raid-5 on linux (software raid at least). Just google for the various howtos.

      I guess linux software raid isn't for the faint of heart. It works well, however. In theory it is more recoverable than hardware raid, although hardware raid has the clear advantage of being able to do battery-backed cache which might have eliminated some of the causes for my lvm failures.

  117. Give it some time by slash.duncan · · Score: 1

    As someone below titled their post...

    As it's in the main kernel, reiserfs isn't going anywhere soon. It'll be supported for years, yet. (In fact, that was one of the problems getting reiser4 in, since Namesys didn't want to continue updating the in-kernel reiserfs to stay upto date with the rest of the kernel, forcing other kernel devs to maintain it... which they did and continue to do; the kernel devs didn't want stuck with the same problem for reiser4, at least until it met more of the standard kernel code maintainability standards, which was happening, gradually, but the murder trial rather sidetracked things.) It's pretty close to certain that it'll be another computer upgrade cycle, likely two or more, before existing reiserfs goes unsupported, and there's no hint of it yet.

    There are good upgrade choices on the horizon, btfs, etc, but they aren't ready yet, and there's nothing else currently that fills the hole reiserfs does. Thus, if it's working for you (as it is for me, 100% reiserfs here too), there's little reason to get itchy about upgrading /right/ now. Stay calm, wait further developments, and in a few years there should be one and possibly several good choices to switch to.

    Meanwhile, the problems with XFS on a non-UPS backed system are well known. If you are going to do XFS, BE SURE YOU HAVE IT ON A UPS! That should cure most of the problems there. (I've considered switching to it myself, but until recently when I switched from dual 21" CRTs to LCD monitors, a UPS for the system I was running wasn't usefully within my budget. Now that electricity usage is reasonable, UPSs are on my list and I'll reexamine XFS after that, but not until as it's simply not safe without them.)

    --
    Duncan
    "Every nonfree program has a lord, a master,
    and if you use the program, he is your master."
    R Stallman
  118. Same reply for years by dbIII · · Score: 1
    The lack of recovery tools is why I almost avoided it completly. If it only holds data which can be lost (eg. working data or you have complete up to date backups of EVERYTHING that matters) then I see no problem with it. Remember that it doesn't matter how perfect the file system is or if it is written by a genius - the underlying hardware isn't and when it has problems you will have a filesystem with a gap or two which you need to get files from.

    The only performance benefits appeared to be in the realm of lots of very small files - great for some people but pointless in my case. I still have one system with a reiser3 partition but it is not critical, pretty well used as a read-only system and gets a disk image taken of it regularly.

  119. why mark insightful when http://www.nexenta.org/ ? by Anonymous Coward · · Score: 0

    why mark insightful when http://www.nexenta.org/ exists?

  120. Ext3 or ZFS by Etherized · · Score: 1

    I've been running MythTV for years, and you really don't need anything fancy here. Ext3 is the default filesystem on almost every Linux distribution for a reason - there's no commonly used Linux filesystem that's more widely supported, and except in some odd edge cases you won't find anything that outperforms it by a meaningful margin.

    That said, if you're in a position to run ZFS, you really should. My current home setup has a Solaris x86 box with 5 500 GB drives in a raidz array mounted via NFS on the MythTV box, and it works marvelously. The downside, of course, is that there's no in-kernel implementation for Linux, so you really need a separate box. I've used raidz with both FreeBSD and Solaris, and you can't go wrong in either case.

    I suppose if you were really nuts you could do this all on a single machine: run Xen on your Linux box, export the raw devices to Solaris or FreeBSD running in a DomU, run ZFS there, and then export back to the Dom0 which would also run MythTV. I'd probably just use Ext3, though :)

  121. XFS or JSF? by krischik · · Score: 1

    Well reading that chapter it seems that XFS and JSF are the only true options available. With anything else you are asking for trouble. Of course XFS (my favorite) isn't shrinkable. Anybody knows if JSF is shrinkable?

  122. filesystem alternative by Anonymous Coward · · Score: 0

    this will probably be lost in the mess of posts already here, but i will post and maybe the op will read it. matt dillon of dragonflybsd (and formerly of freebsd) and his team have created a new filesystem called hammer which looks to be promising and is live on their latest release (dragonflybsd.org). give it a peek and see if it's what you're looking for; it's not ported yet, but it's in the works - if you're a coder, maybe you can help.

    but, you'll have to forgive me for not reading the 14 page document that he released about it - i don't have the time, the understanding, nor the in-depth interest ;).

  123. Ext3 by jschmerge · · Score: 1

    Personally, over the past 10+ years of using Linux, I've stuck with either ext2 or ext3. They just work. They're the most commonly used filesystems in Linux, and the tools for recovering your data are the best of any filesystems available under Linux. This is because kernel developers use these filesystems on their crash boxes.

    For me to pick a filesystem, I need to know that my data won't be lost. I use a computer for way too much... I'll trade performance for stability when it comes to irreplacable data.

    That being said, I've been seeing some interesting things regarding ext4, tux3 and hammer. At least hammer & tux3 will offer you what you want, but neither are past beta stage. My advice is to stick w/ ext2/3 until either (1) ext4 has the features that you need or (2) that the LKML guys start using tux3 or hammer on their crash boxes.

    Also, I'm not sure if you're thinking of 'file system compression' as an automatic defrag or of it as true file compression. If it's the former, there are defrag tools that you can run; if it's actual file compression to save space, you are wasting CPU cycles by trying to compress data at the FS level on your MythTV box... Try compressing an mpeg movie with gzip, you'll save maybe 1%. Far better to stick to ext2 for speed or ext3 for data integrity.

  124. Re:ReiserFS is too slow by Anonymous Coward · · Score: 0

    I think the slow mounting problem was fixed around Linux 2.6.20.

  125. Not LVM snapshots by Cato · · Score: 1

    I had exactly this problem back in 2005 or so, and have never used LVM snapshots since I read they were dodgy at the time. I was on kernel 2.6.12 / Ubuntu 5.10, but still use LVM on more recent Ubuntu versions - see my other post in this thread.

  126. Probably ext3/hardware/distro problems... by durval · · Score: 1

    My home server has reiserfs partitions on a 1TB LVM assembled with RAID5 over 3 500GB SATA disks, running Linux for more than 2 years (using Ubuntu 6.06, then 7.04 and finally 8.04) with NO issues whatsoever.

    Prior to that, I had another server running RHEL4 (actually CentOS) on 3 250GB disks, also without any problems. This server is hit pretty hard, both with lots of I/O and with power-failure crashing (I live in a somewhat rural area in Brazil, and power fails unexpectedly at least once every week.

    Let me repeat that: I use ReiserFS on big LVM partitions for more than 4 years in hostile environment and I have never lost ANY data.

    But then, I don't skimp on hardware: ALL my machines use top-notch motherboards and disks
    (not enterprise-class, mind you; I build my own machines but try to user the best consumer-class components I can afford; for example, current mobo has a Intel 975 chipset, previous one had a 430HX chipset, and both ALWAYS used parity-checked/ECC-protected RAM) and I also try to use stable distributions and kernels (like Ubuntu/RHEL4).

    On the other hand, I've seen firms with enterprise-class hardware (expensive HP server iron) with the same RHEL4 software but with the default ext3 filesystems, and lost data many times after power failures.

    I also manage many servers on a few firms around here, always using RAID+LVM+ReiserFS, and the only time I had any trouble I traced it to a disk with firmware bugs from Seagate.

    So, the parent poster problems maybe are ext3-related, or maybe hardware-related (a memory error at the wrong byte in a non-ECC-protected RAM stick can surely ruin your whole day),or even distro-related (Gentoo is great and I use its mini-install CD all the time for recovery, but I would not use it as the main OS in a machine with lots of data).

    Just my R$0.02 :-)

    --
    Best Regards,
    Durval Menezes.
    I have never met a computer that didn't like me.
    1. Re:Probably ext3/hardware/distro problems... by Rich0 · · Score: 1

      Most likely it is related to a motherboard that doesn't handle hard drive failures well - a dying hard drive was causing some flaky behavior. Even so, I can't see why that would cause LVM to cause data access beyond volume boundaries.

      But I'll go ahead and echo your sentiments. I was running ext3+lvm+raid for a while without any issues at all. So are most people. However, I'll probably not do it again with data that I can't fully back up for a long time. Perhaps I'm just a lucky 1 out of 10,000. This is a DVR, so I'm not going to invest in what it takes to back up a few hundred GB of data offsite for some TV - nothing I lost wasn't expendible. It just was a real pain reinstalling everything.

      Also - keep in mind that even enterprise grade hardware fails. The failure mode of the underlying software is still important.

      I don't really see how this would be a distro issue. I was running versions of kernel+mdadm+lvm+ext3-tools that the upstream providers would have considered stable. There really isn't much else that should interact with the disks at that level.

  127. NTFS is shrinkable by irgu · · Score: 1
    Despite the parent trying to be funny, NTFS does support shrinking.

    Absolutely. The current NTFS-3G project leader wrote the only open source NTFS resizer 6 years ago.

  128. plan9 by Anonymous Coward · · Score: 0

    does anyone have experience with plan9 in this context?

  129. LVM, MD, and ReiserFS by Giant+Electronic+Bra · · Score: 1

    In my experience not all combinations of these worked so good. I had horrible performance with striping via MD and putting ReiserFS on the resulting raid device. After experimenting some what I found was that arrangements like that are very hardware dependent, and the possible 'good' configurations are not really obvious. It probably has to do with implementation details of the host interface, the drives, driver and kernel issues, etc. No doubt someone with the time to sit down and really analyze a particular configuration could come up with explanations.

    The upshot is I wouldn't necessarily say that any two hardware/software configurations are 'pretty much equivalent' just because the hardware specs are fairly similar. One configuration might make excellent use of performance enhancing features, while the other could exhibit pathological behavior that kills performance. Obviously what actually works in a given real world configuration is what matters to people, so they should use what works well for them, it just may not be the same thing for everyone.

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  130. Linus didn't name his OS Linux by r00t · · Score: 1

    Linus named it Freax. An FTP site maintainer
    at ftp.funet.fi chose Linux when offering Linus
    some space, creating an empty directory by that
    name. Linus put his files there, and thus the OS
    became Linux.

  131. Odd that the article would recommend ReiserFS... by ncc74656 · · Score: 1

    ...for MythTV, since the MythTV installation docs recommend against it. I didn't recall this bit of advice when I switched my backend from ext3 to ReiserFS. I suffered through several months of glitchy recordings (many of which were flat-out unwatchable, others of which were merely annoying) before putting out a call for help to mythtv-users. Since switching from ReiserFS to XFS, nearly all of my recording problems went away. (The few that remained may have come from a cable box about to croak, as I had to take it back for a replacement a few weeks ago and I haven't seen any glitchy recordings since I hooked up the replacement. Last week, I had it recording C-SPAN for 6-7 hours at a stretch without so much as a hiccup.)

    --
    20 January 2017: the End of an Error.
  132. ZFS might be what you need by sbreden · · Score: 1

    I recommend using ZFS on OpenSolaris. Create one massive storage pool from multiple drives, and then create as many file systems as you require. Each file system consumes as much of the storage pool as it needs, and if required, a file system's space can be constrained or guaranteed using quotas and reservations. Thus, no shrinking is required. Also, Solaris has Zones you can run other OSes in too. See here: http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/