On my previous post, ZFS on Ubuntu Linux, I had setup ZFS on Ubuntu 14.04 by adding a ZFS repository, installing multiple packages and such. Now on 16.04 and 16.10, it is available by simply typing:
sudo apt-get install zfs
My previous post covers how to setup a ZFS Pool, creating ZIL, and sharing the ZFS filesystem. For additional documentation on setting up ZFS, i’ll refer to this document by Aaron Toponce.
A quick TL;DR on ZFS if you are unfamiliar with it:
- ZFS is a combined filesystem and logical volume manager designed by Sun Microsystems.
- Protects against data corruption
- Support for high storage capacity
- Efficient data compression
- Volume management
- And many more features to list
Fun fact: Originally, ZFS was an acronym for Zettabyte File System. Its capable of storing 256ZB. 1ZB is equivalent of 1 million Petabytes (PB), 1 billion terabytes (TB) or 1 trillion gigabytes (GB). Thats a lot of cat videos!
Why use ZFS?
For me, personally I like the idea of eliminating hardware RAID. I’ve personally ran into one too many dead RAID controllers, snapshot capabilities, online array construction and reassembly and the ability to use ZIL (ZFS Intent Log), which allows me to use an SSD in increase the write throughput of the system. By no means i’m an expert on storage, but ZFS is great for a home-brew NAS if you have a spare computer laying around.