Professional Documents
Culture Documents
November 2011
Introduction ......................................................................................... 1
Overview ............................................................................................. 2
Leveraging Oracle Solaris ZFS ........................................................... 2
Oracle Solaris 11 ................................................................................ 3
Oracle Solaris ZFS — Changing the Way Data Is Managed .............. 3
Oracle Solaris ZFS Pooled Storage ................................................ 3
Oracle Solaris ZFS and Solid-State Storage .................................. 4
Oracle Solaris ZFS Data Integrity Model ........................................ 4
Copy-on-Write ................................................................................. 4
End-to-End Checksums .................................................................. 5
Self-Healing Data ............................................................................ 5
Scalability ........................................................................................ 5
Simplified Administration................................................................. 5
Redundant Copies of Data.............................................................. 6
Oracle Solaris ZFS Boot and Upgrade Environment ...................... 6
Oracle Solaris ZFS Data Services ...................................................... 6
Oracle Solaris ZFS Snapshots and Clones .................................... 7
Oracle Solaris ZFS Send and Receive ........................................... 7
Oracle Solaris ZFS Security Features ................................................ 7
Oracle Solaris ZFS Encryption........................................................ 7
Oracle Solaris ZFS Data Reduction .................................................... 8
Oracle Solaris ZFS Deduplication ................................................... 8
Oracle Solaris ZFS Compression ................................................... 8
Data Sharing ....................................................................................... 8
Oracle Solaris ZFS Storage Appliances ............................................. 9
Conclusion .......................................................................................... 9
Oracle Solaris ZFS Storage Management
Introduction
This paper discusses Oracle Solaris ZFS, a storage system that combines file system
capabilities with functionality traditionally offered by a volume manager. Oracle Solaris ZFS
also includes value-added services such as encryption and deduplication and is a free integral
part of Oracle Solaris 11.
This paper describes in detail what Oracle Solaris ZFS comprises and how it can add value to
today’s data center operations. Oracle Solaris and Oracle Solaris ZFS underpin Oracle's Sun
ZFS Storage Appliance hardware products, so those technologies are also described.
1
Oracle Solaris ZFS Storage Management
Overview
Industry experts agree that storage capacity requirements typically double every 18 months, creating
storage management challenges in the data center. The use of traditional system software technologies
to manage storage can prove to be complex and often costly. Administrators are typically forced to
configure multiple software layers consisting of volume managers, file systems, and access protocols.
This problem is compounded when it comes to effectively managing all structured and non-structured
data. As a result, organizations are seeking better ways to cost-effectively manage enterprise data
growth and data center complexity.
To help simplify the deployment and management of petabyte-scale storage, Oracle Solaris 11 provides
the Oracle Solaris ZFS file system. It is a comprehensive data management solution designed to
manage non-structured data and simplify integration with existing systems and applications through
data sharing protocols for multiple operating system platforms, eliminating the need for third-party
volume managers and file systems.
ZFS management is streamlined through one set of configuration tools. The technology is a scalable
and robust solution designed to reduce the total cost of ownership, simplify system and storage
management, and provide high performance without the need for custom tuning of business
applications. At the same time, it can help increase storage utilization through consolidation and by
ensuring file system availability.
Oracle Solaris ZFS includes the following:
• Functionality to replace both the traditional file system and volume manager in the operating system.
• A number of data services such as data reduction, encryption, and migration, which are provided as
part of the base platform.
• Tight integration with the data sharing technologies available in Oracle Solaris for files and block-
oriented storage.
2
Oracle Solaris ZFS Storage Management
• Increases storage utilization, uptime, and agility by using novel approaches to storage management
and protection
• Delivers predictable performance and availability
Oracle Solaris 11
Oracle Solaris 11 is an enterprise-grade Unix operating system developed and hardened over two
decades of data center use. It is a key component in the complete hardware-to-application stack that
Oracle offers, providing system services and virtualization components as well.
Oracle Solaris is renowned for its robustness, reliability, security, and scalability on both the x86 and
SPARC platforms. It also has unique technologies in the areas of fault management, system
observability, virtualization, and storage management (the topic of this paper).
Not surprisingly, much of the performance, scalability, observability, and reliability features in Oracle
Solaris were developed in the context of the needs of relational databases with their unique patterns of
I/O and the requirement for a platform on which to base a strongly consistent data model. The
clustering abilities of Oracle Solaris combined with its virtualization technologies such as Oracle Solaris
Zones, make it a key platform for multi-instance database environments and database clustering.
3
Oracle Solaris ZFS Storage Management
Modifying the traditional file system, changing its size or read/write characteristics, adding or removing
underlying storage hardware, or re-provisioning in this scenario requires the data to be backed up to
some other medium, the file system to be torn down and rebuilt after hardware modifications are
made. Data is then restored after recreating the volume and filesystem. Current and estimated trends of
data ownership make this unfeasible.
Simplicity decreases the likelihood of administrator errors. With Oracle Solaris ZFS, only two simple
commands create a zpool and the file systems within it. The physical storage is shared between all file
systems within the zpool. New storage devices can be added on the fly to live data. This makes for very
simple error-free management.
Copy-on-Write
Oracle Solaris ZFS employs a copy-on-write methodology. Data is never overwritten in place. Figure 1
shows the creation of new data blocks with modified data in them rather than the overwriting of
existing data blocks that the new data modifies. Oracle Solaris ZFS then creates new pointers to the
new data and a new master block (uberblock) that points to the modified data tree. Only then does it
move to using the new uberblock and tree. In addition to providing data integrity, having new and
previous versions of the data on disk allows for services such as snapshots to be implemented very
efficiently.
4
Oracle Solaris ZFS Storage Management
End-to-End Checksums
All data and metadata blocks in the Oracle Solaris ZFS file system are checksummed. The block
checksum is in the parent block, a significant difference from the usual practice where checksums are
stored with the data. Because of the ZFS arrangement, the system can detect whether the data or
checksum has been corrupted and effect repairs on the fly, as shown in Figure 1.
Every data block’s checksum is stored in its parent’s block. The checksum for that parent is stored in
its parent’s block all way up the tree. This provides a whole range of data integrity benefits. There is no
scope for silent data corruption and no possibility of system failure due to corrupted metadata.
Self-Healing Data
When a data block is found to be bad, the bad block can be repaired on the fly from its mirrored block.
This concept, of course, extends to other RAID types. It is also possible in Oracle Solaris ZFS to keep
multiple copies of data (called “ditto” blocks) across the storage medium in addition to RAID,
strengthening data integrity further.
Scalability
Oracle Solaris ZFS is implemented using 128-bit addressing regardless of the operating system’s
address size. Oracle Solaris 11 is a 64-bit operating system. It is built for petabyte scale and content.
There are no practical limits on its operation other than constraints imposed by the available hardware.
Simplified Administration
Oracle Solaris ZFS functions with a compact but expressive command set. This ability extends to all its
data services, such as snapshots and compression. It also integrates very cleanly with all the other
features and technologies of Oracle Solaris. In Oracle Solaris 11, installation, upgrade, patching, and
5
Oracle Solaris ZFS Storage Management
system maintenance generally are all underpinned by Oracle Solaris ZFS. Its ability to trivially create
snapshots and alternative build environments enables features such as rolling upgrade with the ability
to easily roll back to previous operating environments if necessary.
6
Oracle Solaris ZFS Storage Management
7
Oracle Solaris ZFS Storage Management
Data Sharing
ZFS is tightly integrated with the rest of Oracle Solaris 11. Key technologies it touches are the data
sharing protocols.
For block storage, ZFS can create a volume (an object that looks like a storage LUN) and the volume
can be shared over iSCSI, Fiber Channel, and other storage transports as a block device for
applications and virtualization environments that require block storage. Block-device provisioning is
also useful in data centers that want to leverage their existing SAN infrastructure.
8
Oracle Solaris ZFS Storage Management
For file-based storage in the data center, Network File System (NFS) is used over fast lower-layer data
center transports, such as gigabit Ethernet.
Where tight integration with Microsoft client infrastructure is needed, Oracle Solaris has a fully
compliant CIFS stack in the kernel.
All these technologies are in the base Oracle Solaris operating system. Higher-level Web protocols (for
example, HTTP, REST, SOAP, and Webdav) can be layered on top of Oracle Solaris ZFS within
Oracle Solaris.
Conclusion
Oracle Solaris 11 customers can now benefit from a single, integrated solution designed to manage
non-structured data that is shared across the data center and beyond. Oracle Solaris offer one
management interface, one set of installation and configuration tools, and a single vendor for support
and troubleshooting. It greatly simplifies storage administration and eliminates the need for third party
volume managers and file systems.
The ZFS technology tightly integrates with the new Solaris 11 packaging system, Oracle Solaris Zones
for virtualization, the operating system’s data sharing protocols, fault management architecture and
other Oracle technologies. It presents a comprehensive and well-tested solution to help organizations
deploy their applications, databases, and storage in the enterprise.
9
Oracle Solaris ZFS Storage Management
And last but certainly not least, there is no additional license or cost for Oracle Solaris ZFS or any of
the data services it offers.
10
Oracle Solaris ZFS Storage Management Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the
November 2011, Version 1.1 contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
Author: Dominic Kay warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are
formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any
Oracle Corporation
means, electronic or mechanical, for any purpose, without our prior written permission.
World Headquarters
500 Oracle Parkway
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Redwood Shores, CA 94065
U.S.A.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and
Worldwide Inquiries: are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
Phone: +1.650.506.7000 trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark licensed through X/Open
Fax: +1.650.506.7200 Company, Ltd. 0611
oracle.com