You are not logged in.

#1 2010-06-06 09:03:25

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Offline

#2 2010-06-06 09:18:37

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Native ZFS for Linux

Wow! Didn't think a native ZFS would ever be available on Linux. Lot's of info on the wiki page:

http://wiki.github.com/behlendorf/zfs/faq

Offline

#3 2010-06-06 10:00:52

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Native ZFS for Linux

big_smile Give this a spin, cant wait for btrfs!

Last edited by Zariel (2010-06-06 10:31:25)

Offline

#4 2010-06-06 10:43:35

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Native ZFS for Linux

fuse ZFS is old news and frankly it doesn't interest me much. ZFS rocks but using fuse to get it working with Linux seems like overkill. Wait for btrfs to mature or use FreeBSD or {Open}Solaris.

OK so I didn't read the article, tongue

Last edited by sand_man (2010-06-06 11:07:38)


neutral

Offline

#5 2010-06-06 10:51:51

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Native ZFS for Linux

If I understood correctly, this isn't based on FUSE, it's a native kernel module.

Offline

#6 2010-06-06 11:22:50

paldepind
Member
From: Århus, Denmark
Registered: 2010-02-17
Posts: 141

Re: Native ZFS for Linux

I thought the ZFSs (Sun CDDL) license were incompatible with GPL? How can this be?

Offline

#7 2010-06-06 11:26:27

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Native ZFS for Linux

Read the FAQ, the CDDL implies that the zfs kernel module cannot be distributed as part of GPL software (the kernel) but apparently there is no problem with just providing the code that can be compiled on a linux system as a kernel module.

Offline

#8 2010-06-06 20:13:35

Bralkein
Member
Registered: 2004-10-26
Posts: 354

Re: Native ZFS for Linux

Well I hope this guy knows what he's doing, if it were me I'd want to stay away from that whole legal minefield just in case. Especially since CDDL was clearly authored with the intent of keeping the Solaris USPs from being copy-pasted into Linux. Still, this would have been quite an interesting project a few years ago but IMO the progress of btrfs and the inability to integrate this with the mainline kernel make it little more than a curiosity.

Offline

#9 2010-06-07 01:05:54

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Native ZFS for Linux

It should be legal. All he is doing is modifying code so that it works with the Linux kernel but still releasing the source under the CDDL.


neutral

Offline

#10 2010-06-07 01:27:19

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Native ZFS for Linux

Bralkein wrote:

Well I hope this guy knows what he's doing, if it were me I'd want to stay away from that whole legal minefield just in case.

This ZFS on Linux port was produced at the Lawrence Livermore National Laboratory (LLNL) under Contract No. DE-AC52-07NA27344 (Contract 44) between the U.S. Department of Energy (DOE) and Lawrence Livermore National Security, LLC (LLNS) for the operation of LLNL. It has been approved for release under LLNL-CODE-403049.

US Govt vs. Sun/Oracle? tongue

Last edited by fukawi2 (2010-06-07 01:27:50)

Offline

#11 2010-06-07 03:31:38

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: Native ZFS for Linux

Wow this sounds pretty awesome.  I have an opensolaris file server setup just so i could use ZFS, but I hate using opensolaris....

So who's a lawyer?  Can a distribution make a binary package of this?  If not can a distribution setup an AUR like repo containing it and making it easy to compile and install with automated tools?

Last edited by jowilkin (2010-06-07 03:38:17)

Offline

#12 2010-06-07 05:52:16

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Native ZFS for Linux

jowilkin wrote:

So who's a lawyer?  Can a distribution make a binary package of this?  If not can a distribution setup an AUR like repo containing it and making it easy to compile and install with automated tools?

I think that's where it gets a little sticky and I bet most distributions wouldn't even bother touching it.

BTW: I love OpenSolaris.


neutral

Offline

#13 2010-06-07 06:13:53

dr_te_z
Member
From: Zoetermeer, the Netherlands
Registered: 2006-12-06
Posts: 154

Re: Native ZFS for Linux

Confusing. I've installed OSOL in my virtualbox to play with ZFS. Now I read this http://wiki.github.com/behlendorf/zfs/example-zvol and they format as ext2??
As far as I know ZFS IS the filesystem, what is ext2 doing there?


Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes

Offline

#14 2010-06-07 06:55:02

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Native ZFS for Linux

jowilkin wrote:

Can a distribution make a binary package of this?  If not can a distribution setup an AUR like repo containing it and making it easy to compile and install with automated tools?

IANAL, but AFAIK binary packages are out because it's a kernel module. As soon as it's binary, it's considered a Derivative Work and therefore illegal to distribute since the Kernel Licence (GPL) can not be satisfied.

A script to install it (eg a PKGBUILD in AUR) is completely independent and has no requirement to fulful the license terms of the Kernel or the CDDL in and of itself.

But again, IANAL wink

Offline

#15 2010-06-07 10:48:39

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Native ZFS for Linux

I had to google iAnal...


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#16 2010-06-07 11:17:05

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: Native ZFS for Linux

moljac024 wrote:

I had to google iAnal...

Me too. Haha.

Offline

#17 2010-06-07 11:40:14

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: Native ZFS for Linux

dr_te_z wrote:

Confusing. I've installed OSOL in my virtualbox to play with ZFS. Now I read this http://wiki.github.com/behlendorf/zfs/example-zvol and they format as ext2??
As far as I know ZFS IS the filesystem, what is ext2 doing there?

It looks to me they just have the volume management part working here, not the whole filesystem. In other words they provide an alternative to raid/lvm. at least thats how I understand the example given on their page


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#18 2010-06-07 11:46:27

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Native ZFS for Linux

moljac024 wrote:

I had to google iAnal...

I hope it didn't give you too many false-results wink tongue

Offline

#19 2010-06-07 12:03:46

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Native ZFS for Linux

moljac024 wrote:

I had to google iAnal...

ahahahahahahaa +1

Offline

#20 2010-06-07 17:37:17

jordi
Member
Registered: 2006-12-16
Posts: 103
Website

Re: Native ZFS for Linux

They did it to be able to run lustre on top of it.

That's the reason they haven't done the zfs posix layer yet (which means zfs volumes can't be mounted). But they are working on it.

Offline

#21 2010-09-09 04:54:02

somekool
Member
Registered: 2008-08-27
Posts: 25

Re: Native ZFS for Linux

Hi guys,

it seems this project is NOT using FUSE anymore.

it would be interesting to see a package in AUR for trying it out with ArchLinux

http://github.com/behlendorf/zfs/wiki

anyone tried it already?

Offline

#22 2010-09-09 05:01:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Native ZFS for Linux

somekool wrote:

Hi guys,

it seems this project is NOT using FUSE anymore.

it would be interesting to see a package in AUR for trying it out with ArchLinux

http://github.com/behlendorf/zfs/wiki

anyone tried it already?

The FUSE project and this one are two separate animals. This one is:

- unfinished
- built to run on 2.6.32
- requires a solaris emulation layer written by the same author

I wasn't able to get the emulation layer compiled even on kernel26-lts. It seemed tailored for RedHat (or perhaps it was Debian). Quickly lost interest.

Offline

#23 2010-09-22 11:07:33

jerryluc
Member
From: Norway
Registered: 2008-05-20
Posts: 95

Re: Native ZFS for Linux

I've tried making PKGBUILD's. And spl build and installs fine, but I get a building error on zfs:

Making all in module
make[2]: Entering directory `/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module'
make -C /usr/src/linux-2.6.35-ARCH SUBDIRS=`pwd`  modules
make[3]: Entering directory `/usr/src/linux-2.6.35-ARCH'
  CC [M]  /home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl/../../../module/avl/avl.o
/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl/../../../module/avl/avl.c:90:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
make[5]: *** [/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl/../../../module/avl/avl.o] Error 1
make[4]: *** [/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module/avl] Error 2
make[3]: *** [_module_/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jerry/abs/zfs/src/behlendorf-zfs-4ab8c5c/arch'
make: *** [all] Error 2

I don't know what this error is. Could it be a bug in gcc?

Offline

#24 2010-09-22 23:50:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Native ZFS for Linux

jerryluc wrote:

I don't know what this error is. Could it be a bug in gcc?

It will only build on 2.6.32.

Offline

#25 2010-09-23 06:21:20

jerryluc
Member
From: Norway
Registered: 2008-05-20
Posts: 95

Re: Native ZFS for Linux

Are you sure? i've been in contact with the developer and he did'nt say anything about that.

Offline

Board footer

Powered by FluxBB