Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 1640 2022-11-23 01:46:41

Video Upload Options

We provide professional Video Production Services to translate complex research into visually appealing presentations. Would you like to try it?

Confirm

Are you sure to Delete?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. History and Implementations of ZFS. Encyclopedia. Available online: https://encyclopedia.pub/entry/35912 (accessed on 16 November 2024).
HandWiki. History and Implementations of ZFS. Encyclopedia. Available at: https://encyclopedia.pub/entry/35912. Accessed November 16, 2024.
HandWiki. "History and Implementations of ZFS" Encyclopedia, https://encyclopedia.pub/entry/35912 (accessed November 16, 2024).
HandWiki. (2022, November 23). History and Implementations of ZFS. In Encyclopedia. https://encyclopedia.pub/entry/35912
HandWiki. "History and Implementations of ZFS." Encyclopedia. Web. 23 November, 2022.
History and Implementations of ZFS
Edit

The history and implementations of ZFS covers the development of the ZFS file system. ZFS began as part of the Sun Microsystems Solaris operating system in 2001. Large parts of Solaris - including ZFS - were published under an open source license as OpenSolaris for around 5 years from 2005, before being placed under a closed source license when Oracle Corporation acquired Sun in 2009/2010. During 2005 - 2010, the open source version of ZFS was ported to Linux, Mac OS X (continued as MacZFS) and FreeBSD. In 2010, the illumos project forked a recent version of OpenSolaris, to continue its development as an open source project, including ZFS. In 2013 the co-ordination of open source ZFS moved to an umbrella organization, OpenZFS, which allowed any person or organization that wished to use the open source version of ZFS, to collaborate in developing and maintaining a single common version of ZFS. illumos remains very closely involved with OpenZFS. As of 2018, there are two main implementations of ZFS, both quite similar: Oracle's implementation, which is closed source and part of Solaris, and OpenZFS, which is widely used to provide ZFS on many unix-like operating systems.

opensolaris solaris implementation

1. Development History

1.1. Sun Microsystems (to 2010)

In 1987, AT&T Corporation and Sun announced that they were collaborating on a project to merge the most popular Unix variants on the market at that time: Berkeley Software Distribution, UNIX System V, and Xenix. This became Unix System V Release 4 (SVR4).[1] The project was released under the name Solaris, which became the successor to SunOS 4 (although SunOS 4.1.x micro releases were retroactively named Solaris 1).[2]

ZFS was designed and implemented by a team at Sun led by Jeff Bonwick, Bill Moore[3] and Matthew Ahrens. It was announced on September 14, 2004,[4] but development started in 2001.[5] Source code for ZFS was integrated into the main trunk of Solaris development on October 31, 2005,[6] and released for developers as part of build 27 of OpenSolaris on November 16, 2005. In June 2006, Sun announced that ZFS was included in the mainstream 6/06 update to Solaris 10.[7]

Historically, Solaris was developed as proprietary software. Sun Microsystems was a strong proponent of open source software. In June 2005, Sun released most of the codebase under the CDDL license, and founded the OpenSolaris open-source project.[8] Sun was an early proponent of open source software, and with OpenSolaris, Sun wanted to build a developer and user community around the software. In Solaris 10 6/06 ("U2"), Sun added the ZFS file system. During the next 5 years (2006 to 2010), Sun frequently updated ZFS with new features, and ZFS was ported to Linux, Mac OS X (continued as MacZFS) and FreeBSD, under this open source license.

The name at one point was said to stand for "Zettabyte File System",[9] but by 2006 was no longer considered to be an abbreviation.[10] A ZFS file system can store up to 256 quadrillion zettabytes (ZB).

In September 2007, NetApp sued Sun claiming that ZFS infringed some of NetApp's patents on Write Anywhere File Layout. Sun counter-sued in October the same year claiming the opposite. The lawsuits were ended in 2010 with an undisclosed settlement.[11]

1.2. Ported Versions (2005 - 2010)

As the FSF claimed a CDDL and GPL legal incompatibility in 2005, Sun's implementation of the ZFS file system wasn't used as a basis for the development of a Linux kernel module, it wasn't merged into the Linux kernel mainline, and Linux distributions did not include it as a precompiled kernel module.[12][13] As a workaround, FUSE, a framework that allows file systems to run in userspace, was used on Linux as a separation layer for which the licensing issues are not in effect, although with a set of its own issues that include performance penalty.[14][15] However, the April 2016 release of Ubuntu 16.04 LTS includes CDDL-licensed ZFS on Linux[16] as a kernel module that is maintained as a separate project, outside the Linux kernel mainline, claiming license compatibility.[17][18][19]

1.3. Oracle Corporation, Close Source, and Forking (From 2010)

In January 2010, Oracle Corporation acquired Sun Microsystems, and quickly discontinued the OpenSolaris distribution and the open source development model.[20][21] In August 2010, Oracle discontinued providing public updates to the source code of the Solaris kernel, effectively turning Solaris 11 back into a closed source proprietary operating system.[22]

In response to the changing landscape of Solaris and OpenSolaris, the illumos project was launched via webinar[23] on Thursday, 3 August 2010, as a community effort of some core Solaris engineers to continue developing the open source version of Solaris, and complete the open sourcing of those parts not already open sourced by Sun.[24] illumos was founded as a Foundation, the illumos Foundation, incorporated in the State of California as a 501(c)6 trade association. The original plan explicitly stated that illumos would not be a distribution or a fork. However, after Oracle announced discontinuing OpenSolaris, plans were made to fork the final version of the Solaris ON kernel allowing illumos to evolve into a kernel of its own.[25] As part of OpenSolaris, an open source version of ZFS was therefore integral within illumos.

ZFS was widely used within numerous platforms, as well as Solaris. Therefore, in 2013, the co-ordination of development work on the open source version of ZFS was passed to an umbrella project, OpenZFS. The OpenZFS framework allows any interested parties to collaboratively develop the core ZFS codebase in common, while individually maintaining any specific extra code which ZFS requires to function and integrate within their own systems.

2. ZFS Releases and Feature Histories

2.1. Within illumos and (from 2013) OpenZFS

  • 2010: illumos founded as an open source successor,[26] and continued to develop ZFS in the open. Ports of ZFS to other platforms continued porting upstream changes from illumos.
  • 2013: OpenZFS project founded, aiming at coordinated open-source development of ZFS. The OpenZFS project provides a common foundation for any interested groups and organizations to contribute and collaborate towards a common open source ZFS core, and in addition, to also maintain any specific code and validation processes needed for core ZFS code to work with their own individual systems.

2.2. Other Ports and Forks

The following is a list of open-source ZFS ports and forks:[27][28]

  • 2006: Development of a FUSE port for Linux started.
  • 2007: Apple started porting ZFS to Mac OS X.
  • 2008: A port to FreeBSD was released as part of FreeBSD 7.0.
  • 2008: Development of a native Linux port started.
  • 2009: Apple's ZFS project closed. The MacZFS project continued to develop the code.

3. Detailed Release Histories

3.1. Sun/Oracle

Legend:
Old release
Latest FOSS stable release
Latest Proprietary stable release
Latest Proprietary beta release
ZFS Filesystem Version Number Release date Significant changes
1 OpenSolaris Nevada[29] build 36 First release
2 OpenSolaris Nevada b69 Enhanced directory entries. In particular, directory entries now store the object type. For example, file, directory, named pipe, and so on, in addition to the object number.
3 OpenSolaris Nevada b77 Support for sharing ZFS file systems over SMB. Case insensitivity support. System attribute support. Integrated anti-virus support.
4 OpenSolaris Nevada b114 Properties: userquota, groupquota, userused and groupused
5 OpenSolaris Nevada b137 System attributes; symlinks now their own object type
6 Solaris 11.1 Multilevel file system support
ZFS Pool Version Number Release date Significant changes
1 OpenSolaris Nevada[29] b36 First release
2 OpenSolaris Nevada b38 Ditto Blocks
3 OpenSolaris Nevada b42 Hot spares, double-parity RAID-Z (raidz2), improved RAID-Z accounting
4 OpenSolaris Nevada b62 zpool history
5 OpenSolaris Nevada b62 gzip compression for ZFS datasets
6 OpenSolaris Nevada b62 "bootfs" pool property
7 OpenSolaris Nevada b68 ZIL: adds the capability to specify a separate Intent Log device or devices
8 OpenSolaris Nevada b69 ability to delegate zfs(1M) administrative tasks to ordinary users
9 OpenSolaris Nevada b77 CIFS server support, dataset quotas
10 OpenSolaris Nevada b77 Devices can be added to a storage pool as "cache devices"
11 OpenSolaris Nevada b94 Improved zpool scrub / resilver performance
12 OpenSolaris Nevada b96 Snapshot properties
13 OpenSolaris Nevada b98 Properties: usedbysnapshots, usedbychildren, usedbyrefreservation, and usedbydataset
14 OpenSolaris Nevada b103 passthrough-x aclinherit property support
15 OpenSolaris Nevada b114 Properties: userquota, groupquota, usuerused and groupused; also required FS v4
16 OpenSolaris Nevada b116 STMF property support
17 OpenSolaris Nevada b120 triple-parity RAID-Z
18 OpenSolaris Nevada b121 ZFS snapshot holds
19 OpenSolaris Nevada b125 ZFS log device removal
20 OpenSolaris Nevada b128 zle compression algorithm that is needed to support the ZFS deduplication properties in ZFS pool version 21, which were released concurrently
21 OpenSolaris Nevada b128 Deduplication
22 OpenSolaris Nevada b128 zfs receive properties
23 OpenSolaris Nevada b135 slim ZIL
24 OpenSolaris Nevada b137 System attributes. Symlinks now their own object type. Also requires FS v5.
25 OpenSolaris Nevada b140 Improved pool scrubbing and resilvering statistics
26 OpenSolaris Nevada b141 Improved snapshot deletion performance
27 OpenSolaris Nevada b145 Improved snapshot creation performance (particularly recursive snapshots)
28 OpenSolaris Nevada b147 Multiple virtual device replacements
29 Solaris Nevada b148 RAID-Z/mirror hybrid allocator
30 Solaris Nevada b149 ZFS encryption
31 Solaris Nevada b150 Improved 'zfs list' performance
32 Solaris Nevada b151 One MB block support
33 Solaris Nevada b163 Improved share support
34 Solaris 11.1 (0.5.11-0.175.1.0.0.24.2) Sharing with inheritance
35 Solaris 11.2 (0.5.11-0.175.2.0.0.42.0) Sequential resilver
36 Solaris 11.3 Efficient log block allocation
37 Solaris 11.3 LZ4 compression
38 Solaris 11.4 xcopy with encryption
39 Solaris 11.4 reduce resilver restart
40 Solaris 11.4 Deduplication 2
41 Solaris 11.4 Asynchronous dataset destroy
42 Solaris 11.4 Reguid: ability to change the pool guid
43 Solaris 11.4, Oracle ZFS Storage Simulator 8.7[30] RAID-Z improvements and cloud device support. Vdev remove of basic, mirror and RAID-Z[1-3] vdevs, ZFS embedded/ kernelbased servers support SMB3 and NFS 4.1
44 Solaris 11.4 Device removal

Note: The Solaris version under development by Sun since the release of Solaris 10 in 2005 was codenamed 'Nevada', and was derived from what was the OpenSolaris codebase. 'Solaris Nevada' is the codename for the next-generation Solaris OS to eventually succeed Solaris 10 and this new code was then pulled successively into new OpenSolaris 'Nevada' snapshot builds.[29] OpenSolaris is now discontinued and OpenIndiana forked from it.[31][32] A final build (b134) of OpenSolaris was published by Oracle (2010-Nov-12) as an upgrade path to Solaris 11 Express.

3.2. OpenZFS

In OpenZFS, the pool version is permanently set to 5000, signifying that the pool indicates new features by setting or unsetting ZFS feature flags rather than by incrementing the pool version.[33] The number 5000 was chosen because it is expected to never conflict with version numbers given by Oracle. Legacy version numbers still exist for pool versions 1–28.[34][35][36] Future on-disk format changes are enabled / disabled independently via these feature flags.

References

  1. Salus, Peter (1994). A Quarter Century of Unix. Addison-Wesley. pp. 199–200. ISBN 0-201-54777-5. 
  2. "What are SunOS and Solaris?". Knowledge Base. Indiana University Technology Services. May 20, 2013. http://kb.iu.edu/data/agjq.html. Retrieved November 10, 2014. 
  3. Brown, David. "A Conversation with Jeff Bonwick and Bill Moore". Association for Computing Machinery. http://queue.acm.org/detail.cfm?id=1317400. Retrieved 17 November 2015. 
  4. "ZFS: the last word in file systems". Sun Microsystems. September 14, 2004. Archived from the original on April 28, 2006. https://web.archive.org/web/20060428092023/http://www.sun.com/2004-0914/feature/. Retrieved April 30, 2006. 
  5. Matthew Ahrens (November 1, 2011). "ZFS 10 year anniversary". http://blog.delphix.com/matt/2011/11/01/zfs-10-year-anniversary/. Retrieved July 24, 2012. 
  6. Bonwick, Jeff (October 31, 2005). "ZFS: The Last Word in Filesystems". https://blogs.oracle.com/bonwick/en_US/entry/zfs_the_last_word_in. Retrieved June 22, 2013. 
  7. "Sun Celebrates Successful One-Year Anniversary of OpenSolaris". Sun Microsystems. June 20, 2006. http://www.sun.com/smi/Press/sunflash/2006-06/sunflash.20060620.1.xml. 
  8. Michael Singer (January 25, 2005). "Sun Cracks Open Solaris". InternetNews.com. http://www.internetnews.com/dev-news/article.php/3463621. Retrieved April 12, 2010. 
  9. "ZFS FAQ at OpenSolaris.org". Sun Microsystems. Archived from the original on May 15, 2011. https://web.archive.org/web/20110515061128/http://hub.opensolaris.org/bin/view/Community+Group+zfs/faq/. Retrieved May 18, 2011. "The largest SI prefix we liked was 'zetta' ('yotta' was out of the question)" 
  10. Jeff Bonwick (May 3, 2006). "You say zeta, I say zetta". Jeff Bonwick's Blog. Archived from the original on February 23, 2017. https://web.archive.org/web/20170223222515/https://blogs.oracle.com/bonwick/en_US/entry/you_say_zeta_i_say. Retrieved April 21, 2017. "So we finally decided to unpimp the name back to ZFS, which doesn't stand for anything." 
  11. "Oracle and NetApp dismiss ZFS lawsuits". theregister.co.uk. 2010-09-09. https://www.theregister.co.uk/2010/09/09/oracle_netapp_zfs_dismiss/. Retrieved 2013-12-24. 
  12. "The Linux Kernel, CDDL and Related Issues". February 26, 2016. https://www.softwarefreedom.org/resources/2016/linux-kernel-cddl.html. Retrieved March 30, 2016. 
  13. "GPL Violations Related to Combining ZFS and Linux". February 25, 2016. https://sfconservancy.org/blog/2016/feb/25/zfs-and-linux/. Retrieved March 30, 2016. 
  14. Petros Koutoupis (June 1, 2016). "ZFS: Finding Its Way to a Linux Near You?". Linux Journal. http://www.linuxjournal.com/content/zfs-finding-its-way-linux-near-you. Retrieved July 4, 2016. 
  15. Ryan Paul (June 9, 2010). "Uptake of native Linux ZFS port hampered by license conflict". https://arstechnica.com/information-technology/2010/06/uptake-of-native-linux-zfs-port-hampered-by-license-conflict/. Retrieved July 1, 2014. 
  16. "ZFS on Linux: Frequently asked questions: Licensing". May 26, 2016. https://github.com/zfsonlinux/zfs/wiki/FAQ#licensing. Retrieved July 3, 2016. 
  17. Simon Sharwood (April 21, 2016). "Ubuntu 16.04 LTS arrives today complete with forbidden ZFS". https://www.theregister.co.uk/2016/04/21/ubuntu_16_04_lts_launched/. Retrieved July 3, 2016. 
  18. Michael Larabel (October 6, 2015). "Ubuntu is Planning to Make The ZFS Filesystem a "Standard" Offering". Phoronix. https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-ZFS-Standard-Plans. Retrieved July 3, 2016. 
  19. James Bottomley (February 23, 2016). "Are GPLv2 and CDDL incompatible?". http://blog.hansenpartnership.com/are-gplv2-and-cddl-incompatible/. Retrieved July 3, 2016. 
  20. Steven Stallion / Oracle (August 13, 2010). "Update on SXCE". Iconoclastic Tendencies. http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html. 
  21. Alasdair Lumsden. "OpenSolaris cancelled, to be replaced with Solaris 11 Express". osol-discuss (Mailing list). Archived from the original on August 16, 2010. Retrieved November 24, 2014. https://web.archive.org/web/20100816225601/http://mail.opensolaris.org/pipermail/opensolaris-discuss/2010-August/059310.html
  22. Solaris still sorta open, but OpenSolaris distro is dead on Ars Technica by Ryan Paul (Aug 16, 2010) https://arstechnica.com/information-technology/2010/08/solaris-still-sorta-open-but-opensolaris-distro-is-dead/
  23. Garrett D'Amore (3 August 2010). "Illumos - Hope and Light Springs Anew - Presented by Garrett D'Amore". illumos.org. http://www.illumos.org/attachments/download/3/illumos.pdf. Retrieved 3 August 2010. 
  24. "Whither OpenSolaris? Illumos Takes Up the Mantle". Archived from the original on 26 September 2015. https://web.archive.org/web/20150926053916/http://www.linuxinsider.com/story/76669.html. 
  25. Garrett D'Amore (13 August 2010). "The Hand May Be Forced". http://gdamore.blogspot.com/2010/08/hand-may-be-forced.html. Retrieved 14 November 2013. 
  26. "illumos FAQs". illumos. http://wiki.illumos.org/display/illumos/illumos+FAQs. Retrieved 2013-09-24. 
  27. "LinuxCon 2013: OpenZFS" (PDF). 2013-09-17. http://events.linuxfoundation.org/sites/events/files/slides/OpenZFS%20-%20LinuxCon_0.pdf. Retrieved 2013-11-13. 
  28. "OpenZFS History". OpenZFS. http://open-zfs.org/wiki/History. Retrieved 2013-09-24. 
  29. "While under Sun Microsystems' control, there were bi-weekly snapshots of Solaris Nevada (the codename for the next-generation Solaris OS to eventually succeed Solaris 10) and this new code was then pulled into new OpenSolaris preview snapshots available at Genunix.org. The stable releases of OpenSolaris are based off of these Nevada builds." Larabel, Michael. "It Looks Like Oracle Will Stand Behind OpenSolaris". Phoronix Media. https://www.phoronix.com/scan.php?page=news_item&px=ODQyOQ. Retrieved 21 November 2012. 
  30. "Oracle ZFS Storage Simulator download". Oracle Corporation. 2017. http://www.oracle.com/technetwork/server-storage/sun-unified-storage/downloads/sun-simulator-1368816.html. Retrieved January 12, 2018. 
  31. Ljubuncic, Igor (23 May 2011). "OpenIndiana — there's still hope". DistroWatch. http://distrowatch.com/weekly.php?issue=20110523#feature. 
  32. "Welcome to Project OpenIndiana!". Project OpenIndiana. 10 September 2010. http://openindiana.org/. Retrieved 14 September 2010. 
  33. "Features – OpenZFS – Feature flags". OpenZFS. http://open-zfs.org/wiki/Features#Feature_Flags. Retrieved 22 September 2013. 
  34. Siden, Christopher (January 2012). "ZFS Feature Flags". Delphix. p. 4. http://blog.delphix.com/csiden/files/2012/01/ZFS_Feature_Flags.pdf. Retrieved 2013-09-22. 
  35. "/usr/src/uts/common/sys/fs/zfs.h (line 338)". illumos (GitHub). https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/sys/fs/zfs.h#L338. Retrieved 2013-11-16. 
  36. "/usr/src/uts/common/fs/zfs/zfeature.c (line 89)". illumos (GitHub). https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/fs/zfs/zfeature.c#L89. Retrieved 2013-11-16. 
More
Information
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 1.5K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 23 Nov 2022
1000/1000
ScholarVision Creations