Setting up ZFS Volume Pool on Ubuntu 16.04
Installation
1
|
|
Creating the ZFS Storage Pool
We will create a RAIDZ(1) Volume which is like Raid5 with Single Parity, so we can lose one of the Physical Disks before Raid failure.
Let’s first have a look at our disks that we have on our server:
1 2 3 4 5 6 |
|
So we will be creating the volume consisting of /dev/xvdf
and /dev/xvdg
and we will name our pool: storage-pool
1
|
|
Listing Pools
1 2 3 |
|
We can also list the volume with zfs
:
1 2 3 |
|
Mounting the Volume:
You will find that the volume is already mounted:
1 2 3 4 |
|
Resources:
See how Brett Kelly from 45 Drives tried to break a Storage Cluster with GlusterFS and ZFS:
Great ZFS Performance Comparison: