Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Tru64 Unix Advanced File System (AdvFS) Now GPL

Posted by ScuttleMonkey on Mon Jun 23, 2008 02:51 PM
from the yet-another-convert dept.
melios writes "In a move that could help boost the scalability of Linux for grids and other advanced 64-bit multiprocessor applications, HP has released its Tru64 Unix Advanced File System (AdvFS) source code to the open source community. Source code, design documentation, and test suites for AdvFS are available on SourceForge."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Sheesh... (Score:3, Insightful)

    by adolf (21054) <adolf@phreaker.net> on Monday June 23 2008, @02:52PM (#23908229)

    Allow me to be the first to say: It's about fucking time.

        • M$ and $UN are more dead then B$D!!! lol

          Yes, but does netcraft confirm it?

        • Re:Sheesh... (Score:4, Insightful)

          by Winter Lightning (88187) on Monday June 23 2008, @06:33PM (#23910941)

          In your face ZFS losers!!! The penguin is unstoppable. We have the best coders who can do stuff like this. M$ and $UN are more dead then B$D!!! lol
          So why didn't the penguin coders do it? AdvFS was developed by Digital as piece of closed source; aren't you rewriting history to suggest that it came from the Linux community?

          Declarations/health warnings:
            1) I work for Sun and I rather like ZFS :-)
            2) In a former life I also used AdvFS and thought
                      it was a good filesystem; probably the best general
                      purpose FS around until ZFS.
            3) Integrating AdvFS into Linux and exercising it for prime
                      time won't be an overnight job; perhaps several years
                      before it can be deemed trustworthy.

  • Is there some reason to pick this file system over any of the other 100 file systems you can get for Linux?

    • by cephah (1244770) on Monday June 23 2008, @02:59PM (#23908349)
      This one is -- advanced, so it must be good, right? Right?
    • by eclectro (227083) on Monday June 23 2008, @02:59PM (#23908353)

      because it's not a "killer" filesystem?

    • by bsDaemon (87307) on Monday June 23 2008, @02:59PM (#23908355) Homepage

      i dunno... no wifi, less space than ZFS. lame!

    • Re:What's the point? (Score:5, Informative)

      by Cyberax (705495) on Monday June 23 2008, @03:02PM (#23908401)

      AdvFS is comparable in features to ZFS - it has snapshotting, intelligent striping and mirroring, dynamic resizing, etc.

      In short, there's no comparable production filesystem in Linux right now. There's Btrfs from Oracle, but it's in deep alpha.

      • Re:What's the point? (Score:4, Interesting)

        by Anonymous Coward on Monday June 23 2008, @03:16PM (#23908601)

        Nah dude, SGI's xfs (in vanilla Linux since ages now) can do all of those tricks, too.

        • Re:What's the point? (Score:5, Informative)

          by diegocgteleline.es (653730) on Monday June 23 2008, @03:30PM (#23908795)

          No, it can't. XFS has not the concept of "storage pool" that ZFS and AdvFS have. It doesn't have ZFS/AdvFS-style snapshots. XFS is also a journaling filesystem, unlike ZFS (AdvFS however is a journaled filesystem - and even then, the journaling modes of advfs allow to configure a much better data integrity than ZFS)

        • Re:What's the point? (Score:5, Informative)

          by Cyberax (705495) on Monday June 23 2008, @03:44PM (#23909037)

          No. XFS is a multimedia-oriented filesystem, it was designed to support multithreaded streaming with guaranteed access times. It works well for these use-cases.

          But it doesn't work well for a lot of other use-cases, though. Hence, the current development of Btrfs.

      • Re:What's the point? (Score:5, Informative)

        by Paul Jakma (2677) <paul+slashdot@jakma.org> on Monday June 23 2008, @03:33PM (#23908835) Homepage Journal

        It doesn't have the Merkle tree and the associated error-detection properties of ZFS though.

        Also, AdvFS (or PolyFS, as I could swear it was called in the beginning - though Google can't seem to any record of it) had a pretty bad reliability record in its earlier days, at least bad enough that its unreliability still was mentioned in DEC Open Systems Support when I visited there in 2000.. (by which stage Tru64 clearly was on life-support). ;)

        • by master5o1 (1068594) on Monday June 23 2008, @05:18PM (#23910181) Homepage
          I have a Merkle tree growing in my backyard.
        • Re:What's the point? (Score:5, Informative)

          by Macka (9388) on Monday June 23 2008, @06:40PM (#23911007)

          It doesn't have the Merkle tree and the associated error-detection properties of ZFS though.

          Also, AdvFS (or PolyFS, as I could swear it was called in the beginning - though Google can't seem to any record of it) had a pretty bad reliability record in its earlier days, at least bad enough that its unreliability still was mentioned in DEC Open Systems Support when I visited there in 2000.. (by which stage Tru64 clearly was on life-support). ;)

          It was pretty flakey around Tru64 v4, but got a major re-write for Tru64 v5 which cleared up the problems and made it very stable after that. Today, it's the most stable filesystem I've ever used. And you're right about the Poly stuff. There was a marketing drive which fortunately didn't last very long where they tried to brand it as the Polyserve filesystem, then it got changed. Even Polyserve was an improvement on its birth name, the MegaSafe Filesystem. You can still see remnants of that in the Tru64 kernel config file: its the options MSFS line that triggers inclusion of AdvFS into the kernel. The word MegaSafe also crops up all over the source tree too. Go take a look ;-)
      • Re:What's the point? (Score:4, Interesting)

        by mhall119 (1035984) on Monday June 23 2008, @03:40PM (#23908951) Homepage Journal

        Hopefully this will make Sun re-consider licensing ZFS under the GPLv2.

      • Re:What's the point? (Score:5, Interesting)

        by Znork (31774) on Monday June 23 2008, @03:56PM (#23909205)

        it has snapshotting, intelligent striping and mirroring, dynamic resizing

        Eh, exactly which feature is unique? Snapshotting, striping, mirroring, resizing, encryption, etc, all of it can be done through the device mapper stack.

        I have situations where I don't want any filesystem at all on the mixed chunks (shared iSCSI block devices, for example), others where I want partial mirrors, parts crypted, parts remote-synced, etc. Mixing block device, volume management and filesystem together in my opinion, simply bad engineering. There are far too many assumptions about what people usually do so you end up with something suitable only for exactly what the designer had in mind, and worse, sometimes completely unsuitable for what people actually do.

        Having run both AdvFS and ZFS, I _vastly_ prefer the layered approach of ext3/LVM/md/etc.

        there's no comparable production filesystem

        Yes, well, try actually running ZFS in production for a while with any kind of odd load (and some not so odd loads at all). Sometimes things just aren't all they're hyped up to be.

        Filesystems are one part of most systems where 'exciting' isn't the most desirable feature.

        • Re:What's the point? (Score:4, Interesting)

          by Anarke_Incarnate (733529) on Monday June 23 2008, @04:16PM (#23909499)
          ZFS is an excellent filesystem but with some serious bugs that are poorly documented. I will admit I have not played with it in a while, but when I did, there were a considerable number of growing pains and kernel tunables that needed to be tweaked to get it to play nicely. The read block size is 128K by default, the ARC buffer size is ridiculously designed to assume that you want to cache data, filesystem syncs run to check integrity even if you have disk integrity checks on the SAN, etc.
    • Re:What's the point? (Score:5, Informative)

      by Vectronic (1221470) on Monday June 23 2008, @03:14PM (#23908583)

      Comparison Of File Systems [wikipedia.org]

      Although its missing from some of the charts...

      AdvFS [wikipedia.org]

      And that page is rather limited in information.

    • Re: (Score:3, Interesting)

      If you don't need to know the difference, then no. But there are plenty of people who have specific requirements, and I'm glad that Linux supports them. E.g., we pay to have our Linux machines use CVFS (StorNext) and associated daemons, because we require its features. A GPL'ed CVFS suite would be awesome, but I can understand why Quantum wouldn't want to do it.
    • Re:What's the point? (Score:5, Informative)

      by Nutria (679911) on Monday June 23 2008, @03:59PM (#23909257)

      Is there some reason to pick this file system over any of the other 100 file systems you can get for Linux?

      AdvFS is a clustered FS.

  • Cool (Score:5, Funny)

    by Anonymous Coward on Monday June 23 2008, @02:58PM (#23908327)

    The last file system I messed around with was absolute murder.

    • Re:Cool (Score:4, Funny)

      by Anonymous Coward on Monday June 23 2008, @04:52PM (#23909905)
      Hans? Is that you?
    • That's not funny! It's wrong! It's wrong to laugh at other people's misery! Stop laughing!

      I mean, look at this:
      "The last file system I messed around with was absolute murder."

      That is clearly meant to poke fun at how EXT3 is gradually replacing EXT2. A lot of people worked very hard on EXT2, it's served the Linux community well for a long time, so I don't think it's right to make fun of it like this!!!

  • AdvFS (Score:5, Informative)

    by MrMunkey (1039894) on Monday June 23 2008, @03:00PM (#23908367) Homepage
    I didn't know any of the details of what AdvFS was, so here is what Wikipedia has: http://en.wikipedia.org/wiki/AdvFS [wikipedia.org]
    • Re: (Score:3, Insightful)

      Thanks. Still I have one question: does it do background filechecks (against a built-in checksum) like ZFS does?
        • Re: (Score:3, Interesting)

          The thing I like of ZFS is that it moves basically all file-related stuff to the actual filesystem, which makes sense to me, since that's why I have a filesystem. You basically don't need to know all these annoying details, or make checksum-databases yourself and check regularly. Still, the question stands.
  • ...I hear WinFS will be in Win7...it should be legendary.
  • by mihalis (28146) on Monday June 23 2008, @03:02PM (#23908403) Homepage

    I just had a quick glance through the wikipedia page on this filesystem http://en.wikipedia.org/wiki/AdvFS [wikipedia.org]
    and it seems to share a surprising number of features with ZFS
    http://en.wikipedia.org/wiki/ZFS [wikipedia.org]
    For example, pools, snapshots etc.

    Cool, license squabbling aside I look forward to the massively fragmented UNIX codebase slowly coalescing in this area.

  • by Minwee (522556) <dcr@neverwhen.org> on Monday June 23 2008, @03:05PM (#23908443) Homepage

    ...all I can say is that this would have been amazing news about ten years ago. Even five years ago it would have been pretty great.

    Now? Well, it sounds like HPaq is just kicking it to the curb so it will probably be another year or two before anyone can beat it into a working filesystem for anything but HPucks. There is already no shortage of file systems that can do what AdvFS could do, so by the time it is ready for prime time prime time will have moved on.

    Oh well. 1998 me is still pleased to hear this.

    • by rahvin112 (446269) on Monday June 23 2008, @03:17PM (#23908607)

      Linux Weekly News [lwn.net] has a comment from an HP developer indicating they aren't putting this out there so it can become a linux file system, but so that the lessons learned and parts of the code that are useful can be incorporated into one of the linux file systems of the future. I took it to mean, take our code and use whatever you can to make ext4 or ext5.
       
       

      While it would be fine with HP if someone wants to "port" AdvFS to Linux or any other
      operating system with a GPLv2 compatible license, this contribution is not intended to
      "compete" with other existing file system projects underway in and around the kernel.org
      development community.

      Rather, our hope is that the algorithms, design documentation, and test suite now available at
      the AdvFS site... and the active participation of HP engineers in various open-source file
      system projects who have lots of AdvFS experience... will help to accelerate the inclusion of
      AdvFS-like enterprise features and capabilities in next-generation file systems for Linux.

    • by fm6 (162816) on Monday June 23 2008, @03:17PM (#23908613) Homepage Journal

      Oh well. 1998 me is still pleased to hear this.
      Is 1998 you still on the line? Warn him that Star Trek: Insurrection really sucks!
      • by Anonymous Coward on Monday June 23 2008, @03:37PM (#23908891)

        That's all you'd tell your 1998 self?!?? I'd tell mine to invest heavily in the DotComs so he'd lose all his money...it'd be hilarious like that time someone told me they were my future self and that I should invest heavily in DotCom start-ups and I lost all my money!

    • by Curlsman (1041022) on Monday June 23 2008, @03:37PM (#23908893)

      This was the filesystem that HP tried to port to HPUX and failed. They licensed Veritas instead.
      I figured that the multithreading that I'd always heard worked so well in AdvFS/Tru64 was hard to port to the non-multithreaded HPUX kernel.

      http://news.zdnet.co.uk/hardware/0,1000000091,39175690,00.htm [zdnet.co.uk]
      "It had initially planned to complete the migration of the TruCluster/AdvFS feature from Tru64 Unix to HP-UX 11i v3 in the middle of 2006."

      http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1214253121145+28353475&threadId=754760 [hp.com]
      "No TruCluster or AdvFS for HP-UX after all"

      • by Minwee (522556) <dcr@neverwhen.org> on Monday June 23 2008, @09:07PM (#23912041) Homepage

        Which would be why the subject references "Digital UNIX", which was the name used by DEC after they gave up on OSF/1. Tru64 was Compaq's name for it, because they really hated words that were spelled correctly.

        Of course if you know enough to nit-pick that then you would also know about what happened to it after the HP-Compaq merger and how the last surviving Digital engineers tried to weld useful features like AdvFS and TruCluster onto HP-UX only to have their projects canceled in favour of inferior and more expensive Carly-approved products.

        So I won't explain that, given the lineage of the code, it's probably the stuff that was ported to HP-UX.

  • Good News Indeed (Score:4, Interesting)

    by Anonymous Coward on Monday June 23 2008, @03:12PM (#23908555)

    I used ADVFS when I worked at DEC/Compaq. It is a really nice filesystem to use.
    If the utilities are GPL's as well that is even better news.

    Copying whole filesystems is a breeze as is copying filesystem trees and traversing over volume mount points ( ie not including mount points and all their files.)

    It also gives you the ability to add/remove extra space to mounted volumes just like LVM does but IMHO without having to pre allocate it.
    I would expect that some of the features may well be in EXT4 but I think that some of the Utilities could be made to use EXT4. /S
     

  • by pschmied (5648) on Monday June 23 2008, @03:13PM (#23908579) Homepage

    Certainly the Linux community doesn't really need to burn energy supporting a half dozen filesystems.

    Talk to six linux admins and you'll get at least that many "every filesystem but the one I'm using sucks!" responses.

    I'd gladly stand up for a lack of choice on the filesystem front. Pick one, make sure it's absolutely tested, make sure it supports a nice range of features.

    Integrating a filesystem into another OS is a decidedly non-trivial task unless you just want to read files.

    Thanks, HP, but I don't really want your no-longer-commercially-viable undead zombieware.

    • by CastrTroy (595695) on Monday June 23 2008, @03:25PM (#23908707) Homepage
      But then you end up with the windows situation, where they only support NTFS (or FAT32, but who uses that). I don't think that any 1 file system is optimal for all tasks that one would want to use a computer for. People use computers for many different things. It makes complete sense to have file systems that accommodate the needs of different people.
  • Interesting (Score:4, Insightful)

    by 99BottlesOfBeerInMyF (813746) on Monday June 23 2008, @03:58PM (#23909233)

    Everyone has been looking at ZFS to provide a whole lot of this same feature set, but the CDDL license has been a significant stumbling block. Releasing AdvFS as GPL could actually put it in the running for real world adoption and use on a large scale. I think Sun already considered this a battle won and may now have to rethink their strategy. If they released Sun as GPL in the next month, I'd be willing to bet AdvFS would probably be largely ignored and become a historical footnote. If Sun waits and lets it gain traction (as they tend to do) it could be they will find themselves with another cool technology they sat on too long and which has been replaced y the OSS community.

  • Tru64 goodness (Score:5, Interesting)

    by JayMcB74 (1312899) on Monday June 23 2008, @04:31PM (#23909701)
    I really hope everyone will join me in thanking HP for this and encourage them to release more of the Tru64 OS, HP has been on my $&!â list since they bought and buried this years ago. They are sitting on so much good IP that I really wish that they would only make printers and just the 4000+ series at that.
  • by Bonzoli (932939) on Monday June 23 2008, @08:06PM (#23911725)
    I currently use Tru64 in production at least for another month. One of the issues with this encapsulation type FS process is it sucks. If I had to try and figure out how to merge two File systems by some vote of talking heads, this would be the result. It has some strong and good things it does well, but the way Tru64 merged it's file systems together, makes the final product a huge pain to administer and fix. Learn what you can from the code, and make something better. Do not try and port this crap to something else as is, you wont be happy.

    Why do you think HP bought again the newer Veritas File system and didn't use the already payed for version they picked up with Tru64?

    It has some good things in it. Pick them out carefully and learn from them. Then think about what is needed to administer your File systems in real life, and implement it.