Difference between revisions of "FAQ"

From OpenZFS
Jump to navigation Jump to search
(A forward-looking set of answers; link to the Behlendorf explanation of legacy; moving history to the History page. Fewer words, greater emphasis on zpool versions. Don't confuse pools created by OpenZFS with v29+ pools created by Solaris.)
(29 intermediate revisions by 3 users not shown)
Line 55: Line 55:
=== Are storage pools created by OpenZFS compatible with ZEVO and with Oracle® Solaris? ===
=== Are storage pools created by OpenZFS compatible with ZEVO and with Oracle® Solaris? ===


Only if you specify a pool version at the time of creation of the pool:
Yes, if you specify a pool version at the time of creation of the pool:


* 28 or less.  
* 28 or less.  


GreenBytes ZEVO Community Edition 1.1.1 is [http://zevo.getgreenbytes.com/wiki/pmwiki.php?n=Site.ZFSPoolAndFilesystemVersions based on ZFS pool version 28 and ZFS file system (zpl) version 5].
GreenBytes ZEVO Community Edition 1.1.1 is [http://zevo.getgreenbytes.com/wiki/pmwiki.php?n=Site.ZFSPoolAndFilesystemVersions based on ZFS pool version 28 and ZFS file system (zpl) version 5]. Its use of a standard ZFS on-disk format is therefore binary compatible with ZFS on other platforms that support version 28 or greater.
 
Whilst ZEVO CE 1.1.1 was not intended to support ''direct interchange'' with other platforms, there are [http://zevo.getgreenbytes.com/forum/viewtopic.php?t=13 reports of success].


=== Are pools created by Solaris compatible with OpenZFS? ===
=== Are pools created by Solaris compatible with OpenZFS? ===
Yes, if created with pool version 28 or earlier.


Oracle's [https://github.com/zfsonlinux/zfs/issues/1225#issuecomment-12576515 closed source uses of pool versions 29–35 are not compatible].
Oracle's [https://github.com/zfsonlinux/zfs/issues/1225#issuecomment-12576515 closed source uses of pool versions 29–35 are not compatible].
Line 67: Line 71:
=== Can disks that use ZFS be used with Microsoft® Windows®? ===
=== Can disks that use ZFS be used with Microsoft® Windows®? ===


In Stack Exchange, [http://superuser.com/q/289189/84988 Access a ZFS volume in Windows?] includes the following:
An OpenZFS port of code to Windows is not likely in the foreseeable future. The [http://hardware.slashdot.org/comments.pl?sid=4226771&cid=44880285 ''OpenZFS launch'' discussion on Slashdot] touches upon some of the issues.


* a link to '''zfs-win''', which may allow you to read from (not write to) disks that use ZFS pool version 28
In Stack Exchange, [http://superuser.com/q/289189/84988 Access a ZFS volume in Windows?] includes approaches to using the disks with alternative operating systems, and accessing that data from Windows.
* approaches to using the disks with alternative operating systems, and accessing that data from Windows.


An OpenZFS port of code to Windows is not likely in the foreseeable future. The [http://hardware.slashdot.org/comments.pl?sid=4226771&cid=44880285 ''OpenZFS launch'' discussion on Slashdot] touches upon some of the issues.
During the [[OpenZFS_Developer_Summit_2017]] [[User:Lundman|Jorgen Lundman]] gave a live demo showing a 'proof of concept' port to Windows® 10, showing such a port could be feasible in the future.


== Licensing ==
== Licensing ==


=== Are you planning to release OpenZFS under a license other than the CDDL? ===
=== Do you plan to release OpenZFS under a license other than the CDDL? ===
 
No. We do not have the power to change the license of OpenZFS. No single entity holds the copyright to all of the OpenZFS code and all contributors to OpenZFS maintain copyright to their changes. Changing the license would require the consent of each one whose changes are part of the current codebase. That is basically everyone who has contributed since 2001.
 
=== What about the Linux port? ===


No, we do not have the power to change the licence of OpenZFS. No single entity holds the copyright to all of the OpenZFS code, every individual contributor to OpenZFS maintains copyright to his or her changes. This means that changing the license would require participation from everyone who has ever contributed code since the project began in 2001.
The ZFS on Linux project maintains its own [http://zfsonlinux.org/faq.html#WhatAboutTheLicensingIssue FAQ entry] on this.

Revision as of 01:23, 6 November 2017

General

Who contributes to OpenZFS?

OpenZFS brings together developers from multiple open-source forks of the original ZFS project from OpenSolaris to help ensure the compatibility and quality of all of our implementations.

illumos Webpage GitHub
FreeBSD Webpage GitHub
ZFS on Linux Webpage GitHub
ZFS-OSX MacZFS GitHub

Development Model

Why are there four different repositories?

Each repository supports a different operating system. Even though the core of OpenZFS is platform-independent, there are a significant number of platform-specific changes need to be maintained for the parts of ZFS which interact with the rest of the operating system (VFS, memory management, disk i/o, etc.).

Are new features and improvements shared between the different repositories?

Yes. Each implementation regularly ports platform-independent changes from the other implementations. One of the goals of OpenZFS is to simplify this porting process.

Are there plans to merge the different repositories?

Not exactly. We want to simplify the sharing of code between implementations by having a platform-independent central repository that runs as a userland process on any operating system. Developers from any implementation could then easily install and test platform-independent changes in that central repository. Every implementation would port changes from this central repository instead of searching the commit history of the other implementations.

There are several reasons we do not want a single repository to support all operating systems:

  • Every developer would have the burden of testing changes for four different operating systems. Most developers are only familiar with kernel development on their operating system of choice, so this would be a huge hurdle to development.
  • Each implementation has its own process for integrating changes, some of which cannot be changed. For example OpenZFS on illumos must follow the illumos integration process because it is part of the larger illumos operating system repository. Most developers are only familiar with the integration process for their operating system of choice. Learning other processes and interacting with multiple communities would be a hurdle to development.

Compatibility

Are storage pools created by OpenZFS portable between operating systems?

Pools can be moved freely between different implementations of OpenZFS wherever the implementations support the same feature flags.

You can disable a feature flag for a pool when the pool is created. This may be appropriate if you expect to use the pool with a different implementation that does not support the feature.

To maintain compatibility, new feature flags are usually ported to all operating systems very quickly.

Just one pool version is associated with feature flags: version 5000. Versions less than 5000 can not use feature flags.

Are storage pools created by OpenZFS compatible with ZEVO and with Oracle® Solaris?

Yes, if you specify a pool version at the time of creation of the pool:

  • 28 or less.

GreenBytes ZEVO Community Edition 1.1.1 is based on ZFS pool version 28 and ZFS file system (zpl) version 5. Its use of a standard ZFS on-disk format is therefore binary compatible with ZFS on other platforms that support version 28 or greater.

Whilst ZEVO CE 1.1.1 was not intended to support direct interchange with other platforms, there are reports of success.

Are pools created by Solaris compatible with OpenZFS?

Yes, if created with pool version 28 or earlier.

Oracle's closed source uses of pool versions 29–35 are not compatible.

Can disks that use ZFS be used with Microsoft® Windows®?

An OpenZFS port of code to Windows is not likely in the foreseeable future. The OpenZFS launch discussion on Slashdot touches upon some of the issues.

In Stack Exchange, Access a ZFS volume in Windows? includes approaches to using the disks with alternative operating systems, and accessing that data from Windows.

During the OpenZFS_Developer_Summit_2017 Jorgen Lundman gave a live demo showing a 'proof of concept' port to Windows® 10, showing such a port could be feasible in the future.

Licensing

Do you plan to release OpenZFS under a license other than the CDDL?

No. We do not have the power to change the license of OpenZFS. No single entity holds the copyright to all of the OpenZFS code and all contributors to OpenZFS maintain copyright to their changes. Changing the license would require the consent of each one whose changes are part of the current codebase. That is basically everyone who has contributed since 2001.

What about the Linux port?

The ZFS on Linux project maintains its own FAQ entry on this.