Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Publication Information
Acknowledgements
Dedication
Chapter 0: Introduction
What is ZFS?
ZFS History
Prerequisites
Where to Use ZFS?
ZFS Hardware
RAM
RAID Controllers
SATA vs. SAS vs. SSD
Disk Redundancy
Physical Redundancy
Disk Installation and Labeling
About this Book
Book Overview
Chapter 1: Introducing ZFS
ZFS Datasets
ZFS Partitions and Properties
ZFS Limits
Storage Pools
Virtual Devices
Blocks and Inodes
Chapter 2: Virtual Devices
Disks and Other Storage Media
Raw Disk Storage
Partition Storage
GEOM Device Storage
File-Backed Storage
Providers vs. Disks
VDEVs: Virtual Devices
VDEV Redundancy
Stripe (1 Provider)
Mirrors (2+ Providers)
RAID-Z1 (3+ Providers)
RAID-Z2 (4+ Providers)
RAID-Z3 (5+ Providers)
RAID-Z Disk Configurations
The RAID-Z Rule of 2s
Repairing VDEVs
RAID-Z versus traditional RAID
Special VDEVs
Separate Intent Log (SLOG, ZIL)
Cache (L2ARC)
How VDEVs Affect Performance
One Disk
Two Disks
Three Disks
Four or Five Disks
Six to Twelve Disks
Many Disks
Chapter 3: Pools
ZFS Blocks
Stripes, RAID, and Pools
Viewing Pools
Multiple VDEVs
Removing VDEVs
Pools Alignment and Disk Sector Size
Partition Alignment
ZFS Sector Size
FreeBSD 10.1 and Newer Ashift
Older FreeBSD Ashift
Creating Pools and VDEVs
Sample Drives
Striped Pools
Mirrored Pools
RAID-Z Pools
Multi-VDEV Pools
Using Log Devices
Mismatched VDEVs
Reusing Providers
Pool Integrity
ZFS Integrity
Scrubbing ZFS
Scrub Frequency
Pool Properties
Viewing Pool Properties
Changing Pool Properties
Pool History
Zpool Maintenance Automation
Removing Pools
Zpool Feature Flags
Viewing Feature Flags
Chapter 4: ZFS Datasets
Datasets
Dataset Types
Why Do I Want Datasets?
Viewing Datasets
Creating, Moving, and Destroying Datasets
Creating Filesystems
Creating Volumes
Renaming Datasets
Moving Datasets
Destroying Datasets
ZFS Properties
Viewing Properties
Changing Properties
Read-Only Properties
Filesystem Properties
atime
exec
readonly
setuid
User-Defined Properties
Parent/Child Relationships
Inheritance and Renaming
Removing Properties
Mounting ZFS Filesystems
Datasets without Mount Points
Multiple Datasets with the Same Mount Point
Pools without Mount Points
Manually Mounting and Unmounting Filesystems
ZFS and /etc/fstab
Tweaking ZFS Volumes
Space Reservations
Zvol Mode
Dataset Integrity
Checksums
Copies
Metadata Redundancy
Chapter 5: Repairs & Renovations
Resilvering
Expanding Pools
Adding VDEVs to Striped Pools
Adding VDEVs to Mirror Pools
Adding VDEVs to RAID-Z Pools
Hardware Status
Online
Degraded
Faulted
Unavail
Offline
Removed
Errors through the ZFS Stack
Restoring Devices
Missing Drives
Replacing Drives
Faulted Drives
Replacing the Same Slot
Replacing Unavail Drives
Replacing Mirror Providers
Reattaching Unavail and Removed Drives
Log and Cache Device Maintenance
Adding a Log or Cache Device
Removing Log and Cache Devices
Replacing Failed Log and Cache Devices
Exporting and Importing Drives
Exporting Pools
Importing Pools
Renaming Imported Pools
Incomplete Pools
Special Imports
Larger Providers
Zpool Versions and Upgrades
ZFS Versions and Feature Flags
Zpool Upgrades and the Boot Loader
FreeBSD ZFS Pool Limitations
Chapter 6: Disk Space Management
Reading ZFS Disk Usage
Referenced Data
Freeing Space
Disk Space Detail
Pool Space Usage
ZFS, df(1), and Other Traditional Tools
Limiting Dataset Size
Reservations
Viewing Reservations
Setting and Removing Reservations
Quotas
Dataset Quotas
Setting Quotas
Viewing Quotas
Exceeded Quotas
User and Group Quotas
Viewing Space Used and Existing Quotas per Dataset
Assigning and Removing User and Group Quotas
Viewing Individual Quotas
ZFS Compression
Enabling Compression
Compression Algorithms
Compression Properties
Choosing an Algorithm
When to Change Compression Algorithms
Compression and Performance
Deactivating Compression
Deduplication
Deduplication Memory Needs
Deduplication Effectiveness
Enabling Deduplication
Disabling Deduplication
Chapter 7: Snapshots and Clones
Copy-on-Write
How Snapshots Work
Using Snapshots
Creating a Snapshot
Dataset Changes and Snapshot Space
Recursive Snapshots
Advanced Dataset and Snapshot Viewing
View Datasets by Type
Modifying zfs list Output
Listing Snapshots by Default
Scripts and ZFS
Per-Snapshot Space Use
Accessing Snapshots
Secret Snapdir
Mounting Snapshots
Deleting Snapshots
Destruction Dry Runs
Recursion and Ranges
Rolling Back
Diffing snapshots
Automatic Snapshot Regimen
Rotation Schedule
ZFS Tools
zfs-auto-snapshot
Enabling Automatic Snapshots
Viewing Automatic Snapshots
Getting Clever with zfs-auto-snap
Holds
Bookmarks
Clones
Creating a Clone
Viewing Clones
Deleting Clones and Snapshots
Promoting Clones
Safely Managing Clones, Snapshots, and Recursion
Chapter 8: Installing to ZFS
FreeBSD Reference Install
Custom ZFS Installation Partitioning
Disk Partitioning
Pool Creation
Datasets
Post-Install Setup
Manually Installing FreeBSD
Afterword
About the Authors
Never miss a new release!
More Tech Books from Michael W Lucas
Table of Contents
← Prev
Back
Next →
← Prev
Back
Next →