Port ZFS to OpenBSD

Previous thread: cdio: Can't determine media type by Steven Surdock on Thursday, January 15, 2009 - 11:18 am. (3 messages)

Next thread: Mount directories of unmounted disks/partitions by Jon on Thursday, January 15, 2009 - 11:30 am. (2 messages)
To: OpenBSD misc <misc@...>
Date: Thursday, January 15, 2009 - 11:21 am

Dev's.

What are the chances of getting a port of ZFS to OpenBSD? I can't
quite bring myself to run solaris since it lacks so much of what I
love about OpenBSD and Linux is back to square one because of the
reasons I moved to OpenBSD.

Khalid

To: Khalid Schofield <lists@...>
Cc: OpenBSD misc <misc@...>
Date: Friday, January 16, 2009 - 10:17 pm

I aked Theo about this at OpenCon 2008. To cut a long story short...

No

--

Best Regards
Edd

http://students.dec.bmth.ac.uk/ebarrett

To: OpenBSD misc <misc@...>
Date: Thursday, January 15, 2009 - 6:06 am

Have you ruled out FreeBSD?

Why are so many people so hot for ZFS? From what little I've read
about it, it sounds very complex, which means bugs and a nasty learning
curve. Not something I'm interested in trusting my data to.

To: Dieter <openbsd@...>
Cc: OpenBSD misc <misc@...>
Date: Friday, January 16, 2009 - 8:45 am

If you begin to read more than a little about ZFS, you'll understand why
it's valued so highly.

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/

To: OpenBSD-Misc <misc@...>
Date: Friday, January 16, 2009 - 2:51 am

Then again, you give the zfs a name, and throw it a list of raw devices
and you can have that filesystem 'newfs'ed, writeable, nfsexported and
running in a more than usual fault-tolerant raided mode in mere seconds
regardless of size.

Some admins value that. (except the nfs part, but it's optional)

To: Janne Johansson <jj@...>
Cc: OpenBSD misc <misc@...>
Date: Friday, January 16, 2009 - 3:33 am

I like nfs!

To: OpenBSD general usage list <misc@...>
Date: Friday, January 16, 2009 - 1:53 am

The amount testing they told us about is pretty incredible. The
design looks pretty interesting. After a couple of years of testing
in the wild, there hasn't been too many serious horror stories. The
one bit flipflop starts becoming more common at the terabyte level.

And it is pretty sexy to bit.

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted." -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0&feature=related

To: Openbsd Misc (E-mail) <misc@...>
Date: Thursday, January 15, 2009 - 11:55 am

Given the Dev's have answered this one before, and have better things to
do, I shall take it upon myself. I'm sure they will correct me if I'm
mistaken.

The ZFS code is under a license which the OpenBSD team have deemed
incompatible with the BSD License they use. [0]

Whilst there could be a FUSE-based implementation of ZFS on OpenBSD, and
indeed I think one may have already been started, to properly take
advantage of the strength of ZFS the code would have to be in the
kernel. Performance will suck if nothing else.

If its not BSD-licensed code, its not going in the kernel. End of
discussion. Said policy has been a universal truism of OpenBSD since it
began.

I would suggest, if you want XFS in OpenBSD[1], set about persuading Sun
to re-release the ZFS code as BSD-licensed. Indeed, I think given it
would have to be kernel code, I really do mean BSD-licensed rather than
BSD-license-compatible.

And when you do, be sure to remember to buy Satan some mittens.

--

SD

[0] http://marc.info/?l=openbsd-tech&m=110806948606417&w=2
[1] Which I personally would love to see.

To: <misc@...>
Date: Thursday, January 15, 2009 - 1:38 pm

The hammer FS seems promising from the BSDtalk Will & Matthew did.

Sevan / Venture37

To: Sevan / Venture37 <venture37@...>
Cc: <misc@...>
Date: Thursday, January 15, 2009 - 2:00 pm

Outside of a single person who's doing porting (to an unknown OS),
there's not been much in the way of updates on the status. It's a BETA
filesystem at best, and still being tested with the 2.0 release of
DragonFly.

2.1 seems promising, but HAMMER doesn't seem as well developed as one
might hope.

http://gitweb.dragonflybsd.org/dragonfly.git?a=search&h=HEAD&st=commit&s...

FWIW, there's no license restriction I spotted in DragonflyBSD that
would prevent it being ported, if one were motivated to.

To: <misc@...>
Date: Thursday, January 15, 2009 - 1:57 pm

Extracted from http://www.dragonflybsd.org/hammer/index.shtml:

"If you are interesting in porting HAMMER to another OS, please drop me
a line at dillon at backplane.com. I will be creating a new DragonFly
mailing list specifically for HAMMER porting as well as a git or
mercurial repository (I haven't decided which yet) separate from the
DragonFly repository. "

--
Thanks,
Jordi Espasa Clofent

To: Sevan / Venture37 <venture37@...>
Cc: <misc@...>
Date: Thursday, January 15, 2009 - 1:48 pm

HAMMER is a completely different beast. From my understanding, it
attempts to avoid failures through clustering. But it doesn't have the
resiliency to avoid data corruption, nor the recovery functionality, of
ZFS.

There was a thread recently on dragonfly-users that covered much of
this.

http://leaf.dragonflybsd.org/mailarchive/users/2009-01/msg00058.html

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/

To: OpenBSD general usage list <misc@...>
Date: Thursday, January 15, 2009 - 12:26 pm

On Thu, Jan 15, 2009 at 10:55 AM, Dave Wilson

I have to ask - if you're not copying the code, but only copying the
concept/technical requirements over (ie, a rewrite), that new code
would be bsd licensed, right?

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted." -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0&feature=related

To: bofh <goodb0fh@...>
Cc: OpenBSD general usage list <misc@...>
Date: Thursday, January 15, 2009 - 2:02 pm

Yea but sun have patents over ZFS `concepts` [see wikipedia, google].
And the CDDL grants you a license. so you can't use another.

To: Dave Wilson <richard.wilson@...>
Cc: Openbsd Misc (E-mail) <misc@...>
Date: Thursday, January 15, 2009 - 12:27 pm

As marco already stated, it could be a kernel module. But it won't.
Why? Because nobody will write it. End of discussion, the rest is
noise.

P.S. Personally, as much as I'd love to see ZFS in OpenBSD, I think
dtrace would be much more useful.

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/

To: Openbsd Misc (E-mail) <misc@...>
Date: Sunday, January 18, 2009 - 8:29 am

Jason Dixon wrote:
> As marco already stated, it could be a kernel module. But it won't.
> Why? Because nobody will write it.

Who is nobody anyway? I see he has an account on quite a lot of
computers, but I've never met the guy himself. He must be extremely
lazy if you're already saying that it won't be done *because* nobody
is writing it; this sounds like it should offend nobody very much,
possibly to the degree that he will write ZFS support into OpenBSD
simply to despite you.

Where does nobody live? I'd love to buy him a beer!

To: Mike Swanson <mikeonthecomputer@...>
Cc: Openbsd Misc (E-mail) <misc@...>
Date: Sunday, January 18, 2009 - 9:58 am

I refer you to
http://www.sing365.com/music/lyric.nsf/Nowhere-Man-lyrics-The-Beatles/A4...
and http://uk.youtube.com/watch?v=dHLjYBsl2zA

Anyway, we've already had a fairly conclusive ZFS answer. It can't be
integrated into base OpenBSD because the license is incompatible. The
license is
unlikely to change. Implementing it from the specifications has licence
issues, is hard and bug prone.

A kernel module can use the code - all it needs is someone to volunteer
(sorry, not me : not interested). There's then nothing stopping someone
creating
a minor OpenBSD fork with the integrated module ZFS support, if they
need it from installation time that badly.

PK

To: Mike Swanson <mikeonthecomputer@...>
Cc: Openbsd Misc (E-mail) <misc@...>
Date: Sunday, January 18, 2009 - 9:28 am

He's a french guy. I've seen him during p2k8 in Budapest ;-)

(did anyone take a picture of him?)

Ciao,
Kili

To: Matthias Kilian <kili@...>
Cc: Mike Swanson <mikeonthecomputer@...>, Openbsd Misc (E-mail) <misc@...>
Date: Sunday, January 18, 2009 - 1:24 pm

*sigh*

--
Antoine Jacoutot <ajacoutot@bsdfrog.org>

To: Antoine Jacoutot <ajacoutot@...>
Cc: Mike Swanson <mikeonthecomputer@...>, Openbsd Misc (E-mail) <misc@...>, Matthias Kilian <kili@...>
Date: Tuesday, January 20, 2009 - 12:45 am

If you really really want ZFS, run an OpenSolaris box. It's not going
to kill you.

It's clear there will be no ZFS in OpenBSD. It's not a priority of the
developers.

If running an OpenSolaris box is against your ethics, religion, or
common sense, then no ZFS for you!

BTW, Everything I've read about ZFS on FreeBSD says that it sucks, at
least until FreeBSD 8.0 is out. Panics under high load are common.

Right now, the most complete and reliable ZFS experience is going to
be on OpenSolaris. I'm running Nevada Build 105 and have no problems.

To: Joe S <js.lists@...>
Cc: Antoine Jacoutot <ajacoutot@...>, Mike Swanson <mikeonthecomputer@...>, Openbsd Misc (E-mail) <misc@...>, Matthias Kilian <kili@...>
Date: Tuesday, January 20, 2009 - 6:52 am

"ZFS-like" functionality could be added to softraid. This would be more
realistic.

--

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett

To: Joe S <js.lists@...>
Cc: Openbsd Misc (E-mail) <misc@...>
Date: Tuesday, January 20, 2009 - 1:26 am

I'm using ZFS (two pools - data and root) on FreeBSD 7.1 and it seems
to be quite stable. The load is not too high but there's no problem
when compiling entire xorg and xfce with a qemu session running in
background.

--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

To: Openbsd Misc (E-mail) <misc@...>
Date: Tuesday, January 20, 2009 - 2:22 am

[Empty message]
To: Mike Swanson <mikeonthecomputer@...>, Openbsd Misc (E-mail) <misc@...>
Date: Sunday, January 18, 2009 - 9:41 am

I doubt that nobody is french ;)

--
Gilles Chehade
http://www.poolp.org/~gilles/
Please, contribute to my happiness ;)
http://www.openbsd.org/want.html

To: Khalid Schofield <lists@...>
Cc: OpenBSD misc <misc@...>
Date: Thursday, January 15, 2009 - 11:33 am

About the same as porting anything substantial to OpenBSD. The
developer must be passionate about the project and have the resources
(time, money) to accomplish it[1]. There is no way to quantify the odds
of this happening. I see no code attached to your email, so I presume
you're not volunteering.

[1] Not even taking into account any licensing implications.

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/

To: Khalid Schofield <lists@...>
Cc: OpenBSD misc <misc@...>
Date: Thursday, January 15, 2009 - 11:35 am

Why don't you write a port?

You can do the kernel pieces using .ko (like kqemu for example).

To: Marco Peereboom <slash@...>
Cc: OpenBSD misc <misc@...>
Date: Thursday, January 15, 2009 - 11:37 am

Ha you flatter me! You really want my code in the OpenBSD kernel!

To: OpenBSD misc <misc@...>, Khalid Schofield <lists@...>
Date: Thursday, January 15, 2009 - 11:34 am

To: Josh Grosse <josh@...>
Cc: OpenBSD misc <misc@...>
Date: Thursday, January 15, 2009 - 11:38 am

Yeh just been reading that actually before I emailed misc@....

To: OpenBSD-Misc <misc@...>
Date: Thursday, January 15, 2009 - 11:32 am

If you just sit and wait for it, I'd say: "zero to very-little".

Previous thread: cdio: Can't determine media type by Steven Surdock on Thursday, January 15, 2009 - 11:18 am. (3 messages)

Next thread: Mount directories of unmounted disks/partitions by Jon on Thursday, January 15, 2009 - 11:30 am. (2 messages)