Oracle ZFS

From HandWiki
Short description: Proprietary file system and logical volume manager by Oracle
ZFS
Developer(s)Sun Microsystems originally, Oracle Corporation since 2010.
Full nameZFS
IntroducedNovember 2005; 18 years ago (2005-11) with OpenSolaris
Structures
Directory contentsExtensible hash table
Limits
Max. volume size256 trillion yobibytes (2128 bytes)[1]
Max. file size16 exbibytes (264 bytes)
Max. number of files
  • Per directory: 248
  • Per file system: unlimited[1]
Max. filename length255 ASCII characters (fewer for multibyte character standards such as Unicode)
Features
ForksYes (called "extended attributes", but they are full-fledged streams)
AttributesPOSIX
File system permissionsPOSIX, NFSv4 ACLs
Transparent compressionYes
Transparent encryptionYes
Data deduplicationYes
Copy-on-writeYes
Other
Supported operating systemsSolaris, OpenSolaris, illumos distributions, OpenIndiana, FreeBSD, Mac OS X Server 10.5 (limited to read-only), NetBSD, Linux via third-party kernel module ("ZFS on Linux")[2] or ZFS-FUSE, OSv

Oracle ZFS is a proprietary file system and logical volume manager. ZFS is scalable, and includes extensive protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z, native NFSv4 ACLs, and can be very precisely configured.

ZFS is a registered trademark belonging to Oracle.[3]

History

Implementations

Solaris 10

In update 2 and later, ZFS is part of Sun's own Solaris 10 operating system and is thus available on both SPARC and x86-based systems.

Solaris 11

After Oracle's Solaris 11 Express release, the OS/Net consolidation (the main OS code) was made proprietary and closed-source,[4] and further ZFS upgrades and implementations inside Solaris (such as encryption) are not compatible with other non-proprietary implementations which use previous versions of ZFS.

When creating a new ZFS pool, to retain the ability to use access the pool from other non-proprietary Solaris-based distributions, it is recommended to upgrade to Solaris 11 Express from OpenSolaris (snv_134b), and thereby stay at ZFS version 28.

Future development

On September 2, 2017, Simon Phipps reported that Oracle had laid off virtually all of its Solaris core development staff, interpreting it as a sign that Oracle no longer intends to support future development of the platform.[5]

Version history

Legend:
Old release
Latest Proprietary stable release
ZFS Filesystem Version Number OS Release Significant changes
6 Solaris 11.1 Multilevel file system support[6]
7 Solaris 11.4 SRU 45 File retention support[6]
8 Solaris 11.4 SRU 51 Unicode versioning support[6]
ZFS Pool Version Number OS Release Significant changes
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[7] RAID-Z improvements and cloud device support.[8]
44 Solaris 11.4[8] Device removal
45 Solaris 11.4 SRU 11[9] Lazy deadlists
46 Solaris 11.4 SRU 12[10] Compact file metadata for encryption
47 Solaris 11.4 SRU 21[11] Property Support for ZVOLs
48 Solaris 11.4 SRU 45 File retention support[12]
49 Solaris 11.4 SRU 51 Unicode versioning support[12]

References

  1. 1.0 1.1 "What Is ZFS?". Oracle. http://docs.oracle.com/cd/E23823_01/html/819-5461/zfsover-2.html#gayou. 
  2. "ZFS on Linux Licensing". https://github.com/openzfs/zfs/wiki/FAQ#licensing. 
  3. "Status Information for Serial Number 85901629 (ZFS)". United States Patent and Trademark Office. https://tsdrapi.uspto.gov/ts/cd/casestatus/sn85901629/content. 
  4. "Oracle Has Killed OpenSolaris". Techie Buzz. August 14, 2010. http://techie-buzz.com/foss/oracle-has-killed-opensolaris.html. 
  5. Varghese, Sam (2017-09-04). "Bye, bye Solaris, it was a nice ride while it lasted". https://www.itwire.com/open-sauce/79738-bye,-bye-solaris,-it-was-a-nice-ride-while-it-lasted.html. 
  6. 6.0 6.1 6.2 "ZFS File System Versions". Oracle Corporation. 2022. https://docs.oracle.com/en/operating-systems/solaris/oracle-solaris/11.4/manage-zfs/zfs-file-system-versions.html. 
  7. "Oracle ZFS Storage Simulator download". Oracle Corporation. 2017. http://www.oracle.com/technetwork/server-storage/sun-unified-storage/downloads/sun-simulator-1368816.html. 
  8. 8.0 8.1 "ZFS Pool Versions". Oracle Corporation. 2018. https://docs.oracle.com/cd/E37838_01/html/E61017/gjxle.html. 
  9. "ZFS Pool Versions". Oracle Corporation. 2019. https://docs.oracle.com/cd/E37838_01/html/E61017/gjxle.html. 
  10. "ZFS Pool Versions". Oracle Corporation. 2019. https://docs.oracle.com/cd/E37838_01/html/E61017/gjxle.html. 
  11. "ZFS Pool Versions". Oracle Corporation. 2020. https://docs.oracle.com/cd/E37838_01/html/E61017/gjxle.html. 
  12. 12.0 12.1 "ZFS Pool Versions". Oracle Corporation. 2022. https://docs.oracle.com/en/operating-systems/solaris/oracle-solaris/11.4/manage-zfs/zfs-pool-versions.html. 

External links