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.

112 of 508 comments (clear)

  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 Anonymous Coward · · Score: 5, Funny

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

  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 faragon · · Score: 3, Funny

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

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

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

      Put them on the development team?

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

    8. 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.
    9. 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.
    10. Re:I'll be hard... by hawk · · Score: 2, Funny

      It's supposed to be punishment.

      Make him code for Windows!

      hawk

  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 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
    5. Re:gentlemen by VoidEngineer · · Score: 3, Funny

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

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

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

  7. 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 Anonymous Coward · · Score: 5, Funny

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

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

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

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

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

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

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

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

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

    2. 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?
    3. 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
  13. 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.

  14. 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."
  15. 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 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).

    3. 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"
  16. 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.
  17. 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 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
    4. 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.

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

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

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

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

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

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

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

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

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

  27. 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]
  28. 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?
  29. 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.
  30. 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.

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

  32. 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 mweather · · Score: 5, Funny

      That's not wise. Nina tried that and we all know how that turned out.

    2. Re:On-topic:... by mweather · · Score: 4, Funny

      I thought that project was dead.

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

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

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

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

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

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

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

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

  40. 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
  41. 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
  42. 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
  43. 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
  44. 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:~#
  45. 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.

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

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

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

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