Always use ZFS on disk or partition devices, not on RAID or other software devices. On nonFreeBSD platforms you can use disks and partition devices for ZFS. You’ll need familiarity with FreeBSD’s storage management layer, GEOM. But you might already know what’s in those books, so here are some details on what you need to bring with you. The easy answer would be that you should read and assimilate two earlier FreeBSD Mastery titles: Storage Essentials and ZFS. Prerequisites The title of the book includes the word “Advanced.” We expect you to know a couple things before you can use this. We use FreeBSD as the reference platform, but the mechanics of using OpenZFS don’t change much among platforms. Just about everything in this book applies in general to OpenZFS.
If you want to know why a single gigabyte of data fills your 2 GB drive, if you want to automatically update your disaster recovery facility, or if you just want to use boot environments on your laptop, FreeBSD Mastery: Advanced ZFS is for you. This book takes you into some of the more complicated and esoteric parts of managing ZFS. While it has competitors, such as B-Tree File System (BTRFS), those competitors have a lot of catching up to do. ZFS contains over 100 “engineering years” of effort from some of the best minds in the industry. This book tries to demystify some of the magic that makes ZFS such a powerhouse, and give you solid, actionable intel as you battle your storage dragons. Also because it means that Lucas didn’t have to write that part of the book.Ĭhapter 0: Introduction The Z File System, or ZFS, is a complicated beast, but it is also the most powerful tool in a sysadmin’s Batman-esque utility belt.
Lucas would like to thank Jude for somehow convincing these folks to grant Jude cluster access, because there’s no way they’d give it to Lucas. The authors would like to thank the FreeBSD Project and the FreeBSD Foundation for providing access to NVMe devices in the NetPerf cluster, and to Sentex Data Communications for hosting said cluster. Lucas’ portions of this book were largely written on hardware from iX Systems (). Easy to use and very reliable.Table of Contents Title Page Acknowledgements Chapter 0: Introduction Chapter 1: Boot Environments Chapter 2: Delegation and Jails Chapter 3: Sharing Datasets Chapter 4: Replication Chapter 5: ZFS Volumes Chapter 6: Advanced Hardware Chapter 7: Caches Chapter 8: Performance Chapter 9: Tuning Chapter 10: ZFS Potpourri Afterword Sponsors About the Authors Publishing InformationĪcknowledgements Our gratitude goes to the people who offered feedback on the manuscript that became this book: Will Andrews, Marie Helene Kvello-Aune, Josh Paetzel, Benedict Reuschling, Alan Somers, Matthew Seaman, and Wim Wauters. ZFS autobackup is used to periodicly backup ZFS filesystems to other locations.
ZFS Bootloader for root-on-ZFS systems with support for snapshots and native full disk encryption A library that provides an embeddable, persistent key-value store for fast storage. 7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard Zstandard - Fast real-time compression algorithm (Btrfs support plans are shelved unless and until btrfs becomes reliable.) Primarily intended for Linux, but BSD use is supported and reasonably frequently tested. Using ZFS for underlying next-gen storage. Policy-driven snapshot management and replication tools. When comparing zrepl and zfs you can also consider the following projects: