Bug 17245 - OpenZFS - the native Linux kernel port of the ZFS filesystem
Summary: OpenZFS - the native Linux kernel port of the ZFS filesystem
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://openzfs.org/wiki/Main_Page
Whiteboard:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2015-11-28 12:25 CET by Domini Montessori
Modified: 2023-12-15 19:21 CET (History)
13 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
spl (1.42 KB, text/x-rpm-spec)
2015-11-28 12:26 CET, Domini Montessori
Details
spl-dkms (2.11 KB, text/x-rpm-spec)
2015-11-28 12:26 CET, Domini Montessori
Details
zfs (8.86 KB, text/x-rpm-spec)
2015-11-28 12:27 CET, Domini Montessori
Details
zfs-dkms (2.08 KB, text/x-rpm-spec)
2015-11-28 12:27 CET, Domini Montessori
Details
spl src (536.94 KB, application/gzip)
2015-11-28 12:27 CET, Domini Montessori
Details
source zfs (52 bytes, text/plain)
2015-11-28 12:34 CET, Domini Montessori
Details

Description Domini Montessori 2015-11-28 12:25:29 CET
spl - Solaris Porting Layer 
zfs - Native ZFS for Linux!

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers.

Full documentation for installing ZoL on your favorite Linux distribution can be found at: http://zfsonlinux.org


Reproducible: 

Steps to Reproduce:
Comment 1 Domini Montessori 2015-11-28 12:26:16 CET
Created attachment 7244 [details]
spl
Comment 2 Domini Montessori 2015-11-28 12:26:43 CET
Created attachment 7245 [details]
spl-dkms
Comment 3 Domini Montessori 2015-11-28 12:27:05 CET
Created attachment 7246 [details]
zfs
Comment 4 Domini Montessori 2015-11-28 12:27:27 CET
Created attachment 7247 [details]
zfs-dkms
Comment 5 Domini Montessori 2015-11-28 12:27:57 CET
Created attachment 7248 [details]
spl src
Comment 6 Domini Montessori 2015-11-28 12:34:02 CET
Created attachment 7249 [details]
source zfs
Domini Montessori 2015-11-28 12:41:11 CET

CC: (none) => dominidomini

Domini Montessori 2015-11-28 12:41:25 CET

Target Milestone: --- => Mageia 5

Domini Montessori 2015-11-28 12:42:01 CET

Keywords: (none) => USABILITY

Samuel Verschelde 2015-12-07 12:34:15 CET

CC: (none) => tmb
Assignee: bugsquad => pkg-bugs

Florian Hubold 2015-12-07 17:07:12 CET

CC: (none) => doktor5000

Comment 7 Marja Van Waes 2016-04-12 10:08:56 CEST
I'm not good at understanding licenses and how they affect or exclude one another, at all. However, I see that 

* spl and spl-dkms have:
                               License:        GPLv2+

* while zfs and zfs-dkms have:
                               License:        CDDL

Is that a problem??

See:
https://www.fsf.org/licensing/zfs-and-linux
("Interpreting, enforcing and changing the GNU GPL, as applied to combining Linux and ZFS")

CC: (none) => marja11

Alejandro Vargas 2016-05-09 15:00:10 CEST

Target Milestone: Mageia 5 => Mageia 6
CC: (none) => alejandro.anv

Comment 8 Alejandro Vargas 2016-05-15 13:17:47 CEST
Debian just decided to include zfs as contrib with a dkms packet.

https://tracker.debian.org/pkg/zfs-linux

http://blog.halon.org.uk/2016/01/on-zfs-in-debian/

And ubuntu says their legal team indicates it is legal to incluye zfs.
Helge Hielscher 2016-08-15 01:35:21 CEST

CC: (none) => hhielscher

Comment 9 Charles Edwards 2016-08-15 02:21:58 CEST
If it is only provided as source..yes
Provided in binary form..NO

Please see and read
https://sfconservancy.org/blog/2016/feb/25/zfs-and-linux/

CC: (none) => cae

Comment 10 Alejandro Vargas 2016-08-16 09:03:02 CEST
Well... a dkms packet that contains the source and a builds the binary at installation may be a solution.
Samuel Verschelde 2016-10-10 18:20:48 CEST

Target Milestone: Mageia 6 => ---

Domini Montessori 2018-02-17 14:56:32 CET

Priority: Normal => High

Comment 11 Morgan Leijström 2018-11-19 16:59:02 CET
DKMS sounds good to me :)

I would try it on my fileserver if possible.
If anybody knows good GUI tools for administering ZFS that would be nice to have too.

Updating URL as page have moved.

CC: (none) => fri
URL: http://zfsonlinux.org/generic-rpm.html => https://github.com/zfsonlinux/zfs/wiki/Custom-Packages

Comment 12 Aurelien Oudelet 2020-09-19 18:08:46 CEST
Hi,
This is High priority bug for a good reason.

Making Mageia even better than ever is best direction.
In order to do right thing, this bug should be examined and fixed as soon as possible.

Packagers, please make the status to Assigned when you are working on this.
Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it.

On October 1st 2020, we will drop priority to normal.
Comment 13 Morgan Leijström 2020-12-13 23:37:45 CET
The ZFS on Linux project has been renamed OpenZFS

From https://www.phoronix.com/scan.php?page=news_item&px=OpenZFS-2.0-Released :

Good: OpenZFS 2.0 Released With Unified FreeBSD/Linux Support, Many New Features

Problem: many Linux distributions and upstream kernel developers aren't backing it due to license incompatibilities with the upstream kernel 

But maybe someone who knows this stuff could author a Mageia wiki page instead about how to get, compile, install, use, administer basics?

URL: https://github.com/zfsonlinux/zfs/wiki/Custom-Packages => https://openzfs.org/wiki/Main_Page

Morgan Leijström 2022-02-01 12:32:28 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=29981

Comment 14 Morgan Leijström 2022-02-01 12:34:23 CET
CC kernel&drivers, and tools maintainers for comment/consideration.

Another request for filesystem, OpenZFS, is in Bug 29981

CC: (none) => kernel, mageiatools
Source RPM: spl-0.6.5-11_ge7b75d9.mga5.src.rpm spl-dkms-0.6.5-11_ge7b75d9.mga5.src.rpm zfs-0.6.5-38_g43518d9.mga5.src.rpm zfs-dkms-0.6.5-38_g43518d9.mga5.src.rpm => (none)
Summary: The native Linux kernel port of the ZFS filesystem => OpenZFS - the native Linux kernel port of the ZFS filesystem

Comment 15 Morgan Leijström 2022-02-01 12:36:08 CET
OpenZFS 2.1 released July 2021
https://www.phoronix.com/scan.php?page=news_item&px=OpenZFS-2.1
Radek Raczkowski 2022-02-20 10:53:43 CET

CC: (none) => rdkracz

Comment 16 Morgan Leijström 2022-12-30 01:14:29 CET
We provide zfs-fuse, but have seen articles saying it is deprecated.
Comment 17 Alejandro Vargas 2022-12-30 08:24:07 CET
(In reply to Morgan Leijström from comment #16)
> We provide zfs-fuse, but have seen articles saying it is deprecated.

And incomplete, and slow.
Comment 18 katnatek 2023-12-14 21:12:58 CET
(In reply to Marja Van Waes from comment #7)
> I'm not good at understanding licenses and how they affect or exclude one
> another, at all. However, I see that 
> 
> * spl and spl-dkms have:
>                                License:        GPLv2+
> 
> * while zfs and zfs-dkms have:
>                                License:        CDDL
> 
> Is that a problem??
> 
> See:
> https://www.fsf.org/licensing/zfs-and-linux
> ("Interpreting, enforcing and changing the GNU GPL, as applied to combining
> Linux and ZFS")

We should close this as wontfix, CDDL is the same license as cdrtools
https://bugs.mageia.org/show_bug.cgi?id=3048#c3
Comment 19 Morgan Leijström 2023-12-14 21:29:59 CET
Licenses is not my cup of tea, but I found in https://en.wikipedia.org/wiki/Common_Development_and_Distribution_License#ZFS_in_the_Linux_kernel :

"In 2016 Ubuntu announced that a legal review resulted in the conclusion that it is legally acceptable to use ZFS as binary kernel module in Linux. (As opposed to building it into the kernel image itself.)"
Comment 20 Marja Van Waes 2023-12-15 16:31:59 CET
(In reply to katnatek from comment #18)
> (In reply to Marja Van Waes from comment #7)

> > 
> > See:
> > https://www.fsf.org/licensing/zfs-and-linux
> > ("Interpreting, enforcing and changing the GNU GPL, as applied to combining
> > Linux and ZFS")
> 
> We should close this as wontfix, CDDL is the same license as cdrtools
> https://bugs.mageia.org/show_bug.cgi?id=3048#c3

Thanks, I had forgotten about that. I agree.

Also:
Including openzfs was discussed on dev ml in september 2020, no one responded with "Yes, let's do that". However, there was a clear:

> It is not in Fedora or SUSE distributions due to well-known issues
> with OpenZFS and the rather high distaste for OpenZFS by the Linux
> kernel developers.

> I do not recommend including OpenZFS in Mageia for that reason. 

(In reply to Morgan Leijström from comment #19)
> Licenses is not my cup of tea, but I found in
> https://en.wikipedia.org/wiki/
> Common_Development_and_Distribution_License#ZFS_in_the_Linux_kernel :
> 
> "In 2016 Ubuntu announced that a legal review resulted in the conclusion
> that it is legally acceptable to use ZFS as binary kernel module in Linux.
> (As opposed to building it into the kernel image itself.)"

Well, in 2012 Ubuntu thought it legally acceptable to ignore the European data privacy law and it was only after many protests that they took steps to comply https://en.wikipedia.org/wiki/Ubuntu#Conformity_with_European_data_privacy_law

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX

Comment 21 Giuseppe Ghibò 2023-12-15 17:08:51 CET
Indeed the solution (without going back to 2012 discussions), it's pretty easy right now: just create a dkms-openzfs package.

CC: (none) => ghibomgx

Comment 22 Morgan Leijström 2023-12-15 17:46:45 CET
IF we go on, and use the dkms solution, the file system will depend on the kernel module getting built for any new kernel installed?
Comment 23 Giuseppe Ghibò 2023-12-15 18:06:04 CET
(In reply to Morgan Leijström from comment #22)

> IF we go on, and use the dkms solution, the file system will depend on the
> kernel module getting built for any new kernel installed?

Yes (but in case it's used for a booting fs the built kernel modules could be added to the initramfs).
Comment 24 Jens Persson 2023-12-15 19:21:47 CET
(In reply to Giuseppe Ghibò from comment #23)
> (In reply to Morgan Leijström from comment #22)
> 
> > IF we go on, and use the dkms solution, the file system will depend on the
> > kernel module getting built for any new kernel installed?
> 
> Yes (but in case it's used for a booting fs the built kernel modules could
> be added to the initramfs).

Yeah sure, but if you're not using an initrd you must have builtin support for the root fs. I know that Cauldron's kernel-desktop got builtin support for ext4 and btrfs at least and hopefully it'll stay that way.

CC: (none) => xerxes2


Note You need to log in before you can comment on or make changes to this bug.