Advanced Guide to ZFS on Linux?

Discussion in 'Linux Admins, Storage and Virtualization' started by SwanRonson, Dec 5, 2018 at 2:39 PM.

  1. SwanRonson

    SwanRonson New Member

    Joined:
    Sep 27, 2018
    Messages:
    18
    Likes Received:
    3
    I currently have a software RAID10 array using mdadm on Debian Stretch. It stores media files like family pictures, home videos, etc. I had originally written off ZFS due to excessive hardware (RAM) requirements, but I read that it doesn't actually require all that much RAM if you're not using the deduplication feature.

    As I won't be using the deduplication feature, I would like to plan for my next build to be ZFS based. My array is currently 4x 8TB drives and it's very far from full, but I'll be acquiring new hardware and additional drives over the course of next year.

    Does anyone know of a good guide to ZFS on Linux? Everything I found is rather spammy/clickbaity "here's how to format a disk" crap that doesn't show anything advanced like SSD cache or redundancy setup.
     
    #1
  2. _alex

    _alex Active Member

    Joined:
    Jan 28, 2016
    Messages:
    857
    Likes Received:
    92
    The manpages usually provide a not so shabby read ... straight from the devs..

    This should give you terms to search for what you are really interested in, what is not so spammy anymore.
     
    #2
    SwanRonson likes this.
  3. vl1969

    vl1969 Active Member

    Joined:
    Feb 5, 2014
    Messages:
    523
    Likes Received:
    55
    Not sure what you mean redundancy setup.
    You now have raid10 on 4 disks.
    If you want to keep the same setup
    Sta mirror is the key.
    If you have less than 8tb of data then get 2 8tb disks and create a zfs mirror on then. Copy data from current raid.
    Dismantle the current raid.
    Add the disks to zfs pool in mirrored vdevs. 2 disks per vdevs.
    This creates 3 way mirror similar to your raid10 in redundancy.

    Now I am not sure how to add add cache disks but it can be done later
    Using "zpool add -f tank cache sdc"
    Replace tank and sdc with name of your pool and your ssd.

    Now ,do you really need cache on home server?.
    Is it worth the hastle and expance of getting hight quality expensive ssd thay can withstand the load.
     
    #3
    SwanRonson likes this.
  4. zxv

    zxv New Member

    Joined:
    Sep 10, 2017
    Messages:
    11
    Likes Received:
    6
    #4
    SwanRonson likes this.
Similar Threads: Advanced Guide
Forum Title Date
Linux Admins, Storage and Virtualization ZFS on Linux perf tuning for all SSD storage guide? Jan 12, 2018
Linux Admins, Storage and Virtualization Linux Software RAID Guide Apr 9, 2012

Share This Page