LWN.net Logo

HP open-sources the Tru64 filesystem

HP open-sources the Tru64 filesystem

Posted Jun 23, 2008 23:12 UTC (Mon) by lieb (subscriber, #42749)
Parent article: HP open-sources the Tru64 filesystem

This is seriously cool news.  We used this extensively at AltaVista and it was the best back
then and I've not seen much that was as solid and full featured since.  They made the
important design decision that storage management and file management are separate management
problems but should be operationally integrated.  Linux does LVM for storage and ext[234] etc
for filesystems but they are too separated and a pain because the right hand doesn't know that
the left hand is even there.  Every time I've had to resize or shuffle storage about with
LVM+ext3; adding and removing physical volumes from logical volumes, I've missed it.

The design separates storage management from file management.  Filesets can be created,
resized (+ or -), cloned, and deleted all online without any need to hassle with the physical
layer.  Physical storage gets moved around, replaced, etc. without having to touch the
filesets at all.

Let the port begin.


(Log in to post comments)

HP open-sources the Tru64 filesystem

Posted Jun 23, 2008 23:15 UTC (Mon) by trasz (guest, #45786) [Link]

ZFS, anyone?

HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 1:10 UTC (Tue) by drag (subscriber, #31333) [Link]

Sun structured the license for ZFS quite carefully and in a very specific manner to prevent it
from ever being incorporated into Linux. I doubt the Linux folks will ever touch the source
code whose author has made it plainly known that they don't want it in the Linux kernel.

If you want to use ZFS in Linux you will have to use http://www.wizy.org/wiki/ZFS_on_FUSE 

Fuse file systems work quite well and I use them on a daily basis. Namely sshfs and smbnetfs.
Never touched ZFS though.

HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 2:05 UTC (Tue) by pjdc (subscriber, #6906) [Link]

Allow me to translate trasz's remark for you: "Gosh, this advfs sure sounds a like like zfs!".

HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 18:46 UTC (Tue) by pointwood (guest, #2814) [Link]

Question: Which one was first created?

Anyway, it sounds like a cool filesystem - thanks HP for making it available!

HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 19:53 UTC (Tue) by pjdc (subscriber, #6906) [Link]

advfs, by about a decade.

HP open-sources the Tru64 filesystem

Posted Jun 25, 2008 21:31 UTC (Wed) by trasz (guest, #45786) [Link]

Actually, ZFS license is just a slightly more liberal Mozilla license.  It is GPL that
prohibits linking with anything that is not a subset of GPL.  That's why there are many
non-GPL-compatible licenses, but there are no non-CDDL-compliant, non-MPL-compliant or
non-BSD-compliant or whatever.  The full problem lies in GPL, not CDDL.

Of course, the "GPL" above is in fact "GPL as interpreted by RMS".

But I digress.

What I meant was, the usual way of doing stuff right now is a filesystem-on-top-of-lvm.  AdvFS
seems to have this two "layers" integrated together, just like ZFS.

And yes, AdvFS had it decade ago.

HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 4:37 UTC (Tue) by TRS-80 (subscriber, #1804) [Link]

ZFS still lacks the ability to remove devices from a pool, hence AdvFS still outranks it in my favourite filesystem list.

HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 4:39 UTC (Tue) by ksmathers (guest, #2353) [Link]

As I understand it AdvFS and ZFS have somewhat different design philosophies.  It's true that
both are intended for the enterprise market, but ZFS's philosophy seems to be that everything
works perfectly or you panic.  In our experience ZFS fails hard on a number of typical failure
cases, requiring not just an fsck, but a complete rebuild before the disk can be mounted
again.

Most other filesystems fail somewhat more gradually... some disk blocks are lost, maybe an
inode allocation is lost and a file gets overwritten, or something unidentifiable is dumped
into lost+found, but overall the filesystem remains usable.


HP open-sources the Tru64 filesystem

Posted Jun 24, 2008 5:51 UTC (Tue) by salimma (subscriber, #34460) [Link]

Indeed; while the intention of HP is for the code to inspire current and new Linux
filesystems, why not just port it whole? We get a modern ZFS-like filesystem -- if nothing
else, it'll be a more useful yardstick to compare LVM/extN and other volume management + file
system combinations.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds