Tiernan's Comms Closet

August 10, 2015

ZFS Home storage pool

Over the weekend, my BTRFS pool for my /home directory on Linux failed… Not sure what happened, but it made me do something i wanted to do for a while: Build a ZFS pool for my home dir.

First things first, the pool consists of 4 2Tb hard drives and 1 128Gb SSD. Its setup in RAIDZ1 (equivilent of RAID 5) and then the SSD is set for caching.

To create the pool i ran

zpool create home raidz sda sde sdf sdg

then, to add the cache drive

zpool add home cache sdd

the pool (in my case) got mounted to /home, and then i restored my backup to it. to do some tests, i can the following…

614MB/s write and 5.3GB a second read is nothing to be sniffed at! :)