aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2024-02-06-zfs.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog/2024-02-06-zfs.md')
-rw-r--r--content/blog/2024-02-06-zfs.md49
1 files changed, 25 insertions, 24 deletions
diff --git a/content/blog/2024-02-06-zfs.md b/content/blog/2024-02-06-zfs.md
index fa482b1..9ab7ee5 100644
--- a/content/blog/2024-02-06-zfs.md
+++ b/content/blog/2024-02-06-zfs.md
@@ -10,10 +10,11 @@ snapshots on Ubuntu Server.
I found the following pages very helpful while going through this process:
-- [Setup a ZFS storage
- pool](https://ubuntu.com/tutorials/setup-zfs-storage-pool)
-- [Kernel/Reference/ZFS](https://wiki.ubuntu.com/Kernel/Reference/ZFS)
-- [ZFS for Dummies](https://blog.victormendonca.com/2020/11/03/zfs-for-dummies/)
+- [Setup a ZFS storage
+ pool](https://ubuntu.com/tutorials/setup-zfs-storage-pool)
+- [Kernel/Reference/ZFS](https://wiki.ubuntu.com/Kernel/Reference/ZFS)
+- [ZFS for
+ Dummies](https://blog.victormendonca.com/2020/11/03/zfs-for-dummies/)
# Installation
@@ -40,13 +41,13 @@ You have various options for configuring ZFS pools that all come different pros
and cons. I suggest visiting the links at the top of this post or searching
online for the best configuration for your use-case.
-- Striped VDEVs (Raid0)
-- Mirrored VDEVs (Raid1)
-- Striped Mirrored VDEVs (Raid10)
-- RAIDz (Raid5)
-- RAIDz2 (Raidd6)
-- RAIDz3
-- Nested RAIDz (Raid50, Raid60)
+- Striped VDEVs (Raid0)
+- Mirrored VDEVs (Raid1)
+- Striped Mirrored VDEVs (Raid10)
+- RAIDz (Raid5)
+- RAIDz2 (Raidd6)
+- RAIDz3
+- Nested RAIDz (Raid50, Raid60)
I will be using Raid10 in this guide. However, the majority of the steps are the
same regardless of your chosen pool configuration.
@@ -84,8 +85,8 @@ sudo umount /dev/sda1
sudo umount /dev/sdb1
```
-Now that I've identified the disks I want to use and have them unmounted,
-let's create the pool. For this example, I will call it `tank`.
+Now that I've identified the disks I want to use and have them unmounted, let's
+create the pool. For this example, I will call it `tank`.
```sh
sudo zpool create -f -m /mnt/pool tank mirror /dev/sda /dev/sdb
@@ -176,10 +177,10 @@ command.
See below for instructions on how to use `fdisk`. Here's what I did to create
basic Linux formatted disks:
-- `g` : Create GPT partition table
-- `n` : Create a new partition, hit Enter for all default options
-- `t` : Change partition type to `20` for `Linux filesystem`
-- `w` : Write the changes to disk and exit
+- `g` : Create GPT partition table
+- `n` : Create a new partition, hit Enter for all default options
+- `t` : Change partition type to `20` for `Linux filesystem`
+- `w` : Write the changes to disk and exit
I repeated this process for both disks.
@@ -314,10 +315,10 @@ no datasets available
# My Thoughts on ZFS So Far
-- I sacrificed 25TB to be able to mirror my data, but I feel more comfortable
- with the potential to save my data by quickly replacing a disk if I need to.
-- The set-up was surprisingly easy and fast.
-- Disk I/O is fast as well. I was worried that the data transfer speeds would be
- slower due to the RAID configuration.
-- Media streaming and transcoding has seen no noticeable drop in performance.
-- My only limitation really is the number of HDD bays in my server HDD cage.
+- I sacrificed 25TB to be able to mirror my data, but I feel more comfortable
+ with the potential to save my data by quickly replacing a disk if I need to.
+- The set-up was surprisingly easy and fast.
+- Disk I/O is fast as well. I was worried that the data transfer speeds would
+ be slower due to the RAID configuration.
+- Media streaming and transcoding has seen no noticeable drop in performance.
+- My only limitation really is the number of HDD bays in my server HDD cage.