Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Data Storage Linux

Tux3 File System Could Finally Make It Into the Mainline Linux Kernel 121

An anonymous reader writes "The Tux3 file-system that's been in development since 2008 as the public replacement to the patent-blocked Tux2 file-system is now under review for inclusion into the Linux kernel. Tux3 tries to act as a 'light, tight, modern file-system. We offer a fresh approach to some ancient problems,' according to its lead developer, Daniel Phillips. Tux3 strives for minimal resource consumption but lacks enterprise-grade reliability at this point. Tux3, at the end of the day, tries to be 'robust, fast, and simple' with the Linux FS reportedly being as fast as other well known file-systems. Details on the project are at Tux3.org."
This discussion has been archived. No new comments can be posted.

Tux3 File System Could Finally Make It Into the Mainline Linux Kernel

Comments Filter:
  • by haruchai ( 17472 ) on Saturday May 17, 2014 @05:04PM (#47028079)

    and they expect to be competitive with ZFS?? They have a LOT of work to do.

    • Re: (Score:1, Interesting)

      by Anonymous Coward

      and they expect to be competitive with ZFS?? They have a LOT of work to do.

      It's just another run of the mill linux filesystem which is to say completely useless.
      The only real viable filesystems on linux are XFS, followed by EXT 4 and BTRFS (only in experimental form).

      • I only use XFS and ZFS on Linux these days, with exception of ext2 on some /boot volumes. Nobody has shown me a compelling reason to deviate from what works.

        • by Jody Bruchon ( 3404363 ) on Sunday May 18, 2014 @07:31AM (#47030793)
          This is probably irrelevant for you, but I ran into issues with software running on i386 with XFS and newer kernels. Programs not compiled with -D_FILE_OFFSET_BITS=64 used the 32-bit versions of certain file-related system calls, and the default mount options for XFS changed at some point to allow 64-bit inode numbers to be created. What would happen is the program would readdir and choke the instant it hit a file or directory on an inode number greater than 2^32; the fstat calls returned EOVERFLOW and processing aborted. You'd go into a directory with GQView, for example, and mysteriously see i.e. three images and one directory where you knew there were tens of directories and hundreds of images.

          Obviously, x86_64 platforms don't have this issue, but I was operating an i386 server since 2008 until just a few months ago and I found it to be extremely annoying and (at first) difficult to figure out what was happening. There is surprisingly little information about XFS and 64-bit file syscall issues when all you have is strace spouting EOVERFLOW at you and don't immediately pin the issue to the filesystem in use.
          • That's a darn good find, and definitely a really annoying issue. You're correct that 99% of the stuff I manage is x86-64; I've only got a couple of legacy x86 systems floating around, and fortunately in this case they don't use XFS. I can only imagine the amount of $head_desk you went through before realizing what the root cause was in the case you described.

          • by ruir ( 2709173 )
            Quite interesting your insight and finding. One more argument for me to complete my migration to 64-bits. Many thanks!
    • by Bengie ( 1121981 ) on Saturday May 17, 2014 @05:50PM (#47028323)
      It's a worthy goal to have. We need more competition in the FS sector. Many times competition is the inspiration for new features, even if some of these FS don't even make it off the ground. ZFS is great, but it's not perfect, and they only have so many resources to throw at new ideas to test. Monoculture is never a good thing.
      • Comment removed based on user account deletion
        • Re: (Score:3, Insightful)

          by Bengie ( 1121981 )
          btrfs is interesting, but it's taking a long time to get anywhere and it has some big backers. I've also read some really well written blogs from sysadmins who have been Unix admins since the beginning of time, and they had some really good examples of some "Features" of btrfs that a sysadmin should never-ever use under any circumstance, and some features that are half-asses that are nearly a requirement for any good sysadmin, but cannot be done because of those other "bad" features.

          One such example is bt
          • by cmurf ( 2833651 )
            What blogs discuss btrfs features that should never be used under any circumstances?

            Could you elaborate on your example? I not understanding what commands make it possible to mount a volume "under multiple parents" how this differs from shared or bind mounts. I can mount an XFS volume on two separate mountpoints, not a big deal. Btrfs volumes can't be snapshot, just their subvolumes, maybe that's what you're referring to? The lack of recursively snapshotable nested subvolumes?

            Btrfs and ZFS are different
          • by sjames ( 1099 )

            There are valid reasons to want to mount a volume in more than one place. For example, strong namespace based isolation for sensitive processes/users.

            Over all, btrfs is much more flezible than ZFS. In the end, it looks like it will be the superior filesystem. For example, it has a much greater flexibility in changing the underlying storage over time. Why should gradually upgrading the underlying pool be a disruptive process. It seems natural that as drives age out to replace them with bigger drives. Ideally

        • by dbIII ( 701233 ) on Saturday May 17, 2014 @09:05PM (#47029283)
          I disagree. The different approach of ZFS means it should be far better than btrfs when you have many disks, yet it makes almost no sense at all with single disks which is where btrfs makes sense.
          Different tools for different jobs.
      • > ZFS is great, but it's not perfect

        Serious question: I'm curious as to what those would be?

        The license?

        • by sjames ( 1099 )

          The license is an annoyance, but can be lived with, more or less.

          I would like to see more flexibility in re-structuring the zpool. I see no intrinsic reason why a pool can't start out without redundancy and then have it added after the fact (the equivilent of bringing a soft raid up in degraded mode and adding in the other devices later) or have the geometry changed later. It should be perfectly feasible to start small and over time add more disks and replace small disks with larger ones. I would really lik

        • Memory requirements, for one. ZFS is probably a terrible choice for tizen, or firefox os, or raspbian.

      • by palion ( 172285 )

        "Monoculture is never a good thing." Sentences with "sth. is never/always X" are generally not trustworthy... Always doubt. Maybe monoculture sometimes IS a good thing, who knows?

    • by dbIII ( 701233 )
      Different aims.
      • Indeed, different aims. Tux3 has the modest goal of being a light, tight and fast filesystem without ambition of also being a volume manager.

    • There are more i/o workloads and problem domains than the enterprise grade storage system that zfs is designed for. Its like declaring that the Honda fit can never compete with a dump truck.

      • by haruchai ( 17472 )

        This particular Honda Fit is not even properly assembled so it couldn't even bring a new set of tires for the dump truck.
        Did you miss the part where it was stated "and a tertiary goal is to be better than ZFS"
        The implication is that it will eventually be a ZFS replacement. My point is that they are so far behind and have accomplished so little to date, that will NEVER happen.

        If they prove me wrong, good for them. I'm always on the lookout for a better tool or way to do things but I stand by my remark that t

  • TFS misses one point (Score:5, Informative)

    by NotInHere ( 3654617 ) on Saturday May 17, 2014 @05:09PM (#47028113)

    From TFA: "Tux3 is yet another interesting open-source file-system designed for specialized cases."

  • NIHFS? (Score:5, Interesting)

    by BaronM ( 122102 ) on Saturday May 17, 2014 @05:10PM (#47028121)

    First off, I think that 'better than ZFS' is a good and legitimate goal, seeing as how ZFS is very, very good, but not perfect.

    That said, there's also BTFS and HAMMER aiming to be 'better than ZFS'.

    I know: everyone wants to scratch their own itch, and there is no reason that multiple projects in the same area should necessarily been see as competing, and if I'm unhappy about it, I should just go write my own instead of complaining. Did I cover everything? :)

    I just wonder sometimes if Linux wouldn't have moved beyond EXT4, X11, and the desktop environment wars if the 'not invented here' syndrome were just a little less prevalent.

    • At least it'll be moving past X11 in a year or two :). But then people with no understanding are arguing that Wayland is NIH-X11 -- it's so confusing having to understand nuance!

      • by dbIII ( 701233 )

        But then people with no understanding

        That's a bit rich after some of your earlier posts about X and Wayland. I suggest you join the wayland mailing list and get some understanding before making such comments.

    • by grub ( 11606 )

      When anything has a claim to fame of "trying to be better than $GOLD_STANDARD", I am skeptical. There must be very compelling reasons to not just stick with what is tried and true. ZFS is the cat's meow, "trying to be better than" when we're talking about something as critical as a filesystem... I'll wait and see, thanks.
      • by Anonymous Coward

        this is not the only weasel word infested post by you to this same article.
        who claims that zfs is $GOLD_STANDARD? and which version of zfs
        are you talking about? oracle keeps putting out incompatible versions, and
        then there are the various opensolaris and bsd verions. ... saying $GOLD_STANDARD
        implies something that is clearly not true --- that there is "a" zfs.

        • Re:NIHFS? (Score:5, Interesting)

          by Bengie ( 1121981 ) on Saturday May 17, 2014 @07:11PM (#47028685)
          OpenZFS. They're getting rid of "versions" and just having "Feature flags". This will allow you to create ZFS pools on one system, and just make sure what ever features that are only supported on another target system, are enable when you create the pool.
    • by Anonymous Coward

      I can see Tux3 used in some special cases, but there are so many filesystems that should be tossed in the Linux kernel first, IMHO. A few thoughts/ideas:

      1: A successor for SquashFS except with the option of some ECC to detect corruption and optionally to fix it. That way, a compressed image can be somewhat self-healing.

      2: Hooks for ZFS on Linux. Because of the license differences, it can't be included into the kernel proper, but might as well make it as easy as possible to have it used on bootup, perha

    • should necessarily been see

      I'll bite. What's your native language? To a native speaker of English, that would have been "should necessarily be seen".

      But attaching the tense to the "to be" isn't totally out of bounds in some languages. I think.

      So, what language did you grow up thinking in?

      • by BaronM ( 122102 )

        Apparently, I grew up speaking 'typo'.

        I suspect it's an editing error where I was writing in present tense (be seen as...), started a switch to past tense (been seen as...), and instead ended up with that ridiculous construction.

        Oops.

    • I just wonder sometimes if Linux wouldn't have moved beyond EXT4, X11, and the desktop environment wars if the 'not invented here' syndrome were just a little less prevalent.

      The EXT* have been the only native filesystems of Linux, and BTRFS is something recent. With ZFS, the issue is an incompatible license, since CDDL code can't legally be combined w/ GPL code. Wayland again is new and likely to be the standard, aside from Ubuntu Unity, which will use Mir, and Android, which uses SurfaceFlinger

      I do agree that there is a plethora of DEs. In the beginning, there was just KDE. Between that, and FOSS ports of CDE or Motif/OpenLook, they'd have been fine. Then came GNOME (d

  • by Nutria ( 679911 ) on Saturday May 17, 2014 @05:15PM (#47028141)

    what I think of when someone writes "versioning filesystem".

    • As versioning goes, FILES-11 was barely good enough to be called built in un-delete. Nowhere near as good as just checking all your files into git.

      • by Nutria ( 679911 )

        As versioning goes, FILES-11 was barely good enough to be called built in un-delete.

        Mainly because -- in my 25 years using FILES-11 -- I've never heard of versioning called "undelete".

        "Persistent undo" is the best term to describe going back to a prior file version.

  • parent delays (Score:4, Insightful)

    by KiloByte ( 825081 ) on Saturday May 17, 2014 @05:17PM (#47028155)

    So tux2 was ready in 2000, and it took 14 years to rewrite it to avoid parents? Oh how much patents help innovation!

    • by Anonymous Coward

      So tux2 was ready in 2000, and it took 14 years to rewrite it to avoid parents? Oh how much patents help innovation!

      Few more years and those patents will expire and we can use both!

      • Re:parent delays (Score:4, Informative)

        by Daniel Phillips ( 238627 ) on Sunday May 18, 2014 @04:09AM (#47030389)

        So tux2 was ready in 2000, and it took 14 years to rewrite it to avoid parents? Oh how much patents help innovation!

        Few more years and those patents will expire and we can use both!

        Tux3 is a better design. Tux2 was more along the lines of ZFS and Btrfs, that is, multiply-rooted trees sharing subtrees. Tux3 is a single tree with exactly one pointer to each extent. Considerably easier to check and repair. Of course we need to see if it turns out that way so please stay tuned.

    • by MichaelSmith ( 789609 ) on Saturday May 17, 2014 @05:36PM (#47028257) Homepage Journal

      took 14 years to rewrite it to avoid parents!

      A lot of these linux developers are pretty young.

    • Re: (Score:1, Interesting)

      by NotInHere ( 3654617 )

      Politicians could at least recognize the faster pace in the IT world compared to other technology industries, and lessen the patent terms for software patents.

      I also don't know why there should be a difference between a patent troll and a large company with lots of 'defensive' patents suing other companies because of "swipe to unlock" features.

    • That's lucky, it took me 18 years to get free of my parents. Although it might be more accurately described as, "they kicked me out of the house." But let's not go there.

  • Come to the 21st century, use ZFS.
    • Clearly (Score:1, Funny)

      The way ZFS saved Sun marks it as an über-technology.

      Since Trolling is an art, and stuff.
      • by dbIII ( 701233 )
        Being seen to be worth being eaten by a larger fish is not a sign of failure in technology companies.
    • by Anonymous Coward

      yes, if zfs worked correctly, it would be the ultimate evolution of 70s technology --- a non-distributed file system that may take an indeterminate time to export and recover. but it doesn't. i've seen customers lose lots of data with zfs. i have not had this experience with other file systems.

      • by Bengie ( 1121981 )
        I've never heard of anyone ever losing data with ZFS, even people with petabytes of R&D data.
        • by dbIII ( 701233 )
          It doesn't entirely save you from failing disk controllers but does warn you that it is going on. I've lost four files that way, all new multi-GB temporary files that were easily recreated or no longer required, but it does happen when you keep failing systems limping along until the replacement arrives.
  • by fisted ( 2295862 ) on Saturday May 17, 2014 @05:42PM (#47028293)
    ..with something new already.

    Is the general problem of the GNU- and Linux world.
  • Backstory (Score:4, Interesting)

    by eclectro ( 227083 ) on Saturday May 17, 2014 @05:59PM (#47028363)

    This is the story of the patents involved. [swpat.org] It's not so much that there was any litigation, but rather the ongoing threat that there would be (for arguably stuff that was already being done.)

  • by Anonymous Coward

    Systems that no one uses always test out faster than ones that actually work, deal with edge cases, do reliable recovery from hard crashes, etc. That's why ReiserFS was always faster, but kept hiding the corpses in the woods and pretending complete ignorance of having destroyed your data.

                http://en.wikipedia.org/wiki/Hans_Reiser

    Come on, how could you not trust yet another "fan boi" burdened filesystem that's never been been shown as stable?

  • Aw, come on.

    A local file system won't really rock one's boat anymore these days. Today it's all about global name space and distributed file systems, ideally made highly available and replicated synchronously in real time on kernel level.

    This one was a real waste of time and developer resources.

  • by FlyingGuy ( 989135 ) <flyingguy@gm a i l .com> on Saturday May 17, 2014 @06:46PM (#47028577)

    YASF or Yet Another File System.

    Well someone has yet another personal project they want us all to take seriously. Really? I mean Really?

    Of the numerous file systems out there, and I have tried a whole boat load of them, the one that is the most mature, most reliable, arguably the fastest is... Wait for it... From the company that everyone loves to hate...

    Is NSS from Novell. It has more posix features then all of the rest of them, it is insanely fast, it provides undelete and complete repeatability and Novell has open sourced it. Nuff said.

    • by flux ( 5274 )

      Not sure if trolling.. but I looked it up, and on the paper it seems interesting, but for use today it has limitations: 2 TB maximum device size, 8 TB maximum volume size. So that's a non-contender. Seems quite advanced for its day, though (introduced 1998).

      • Nope, not trolling..

        Since it is open source and has all those goodies it would seem to me that increasing the volume size capabilities would not be nearly as tall an order as starting over from scratch.

    • by Anonymous Coward

      > YASF or Yet Another File System.

      Woldn't that be "Yet Another Sile Fystem"? Or something?

      Look: I don't know who this Flying Guy is nor what he has done for me recently. But Daniel Philips... this is an awesomely smart guy, and friendly and all. And he has contributed to free software which I use every day.

      Now imagine how much weight your rant has in my eyes. This might be a view shared by many.

  • To be taken serously, the home page needs to mention something more recent than 2008 in the "on the web" section. And the "we're active, see the git log" link needs to point somewhere other than a 404....

  • what about the cleanup?
    Nilfs2 is quite cool, but the cleaner-daemon causes a lot of disk io, which is not only annoying, but makes me think about disk lifetime as well.

    • Tux3 does not need a cleaner. At the moment, Tux3 also does not have snapshots. When it does, it still won't need a cleaner, although snapshot delete will run in the background because many inodes may need to be updated. This only touches metadata, which is normally less than 1/100th of the volume so it should be OK: some activity after the snapshot delete, but otherwise, changes commit immediately to disk then the disk goes quiet.

Keep up the good work! But please don't ask me to help.

Working...