Skip to content

Fluffy0026/ZFS-Pool-Config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

ZFS Pool Configuration

Installing ZFS

sudo apt install zfsutils-linux

Creating a ZFS Pool

Choosing Drives to Pool

lsblk

ls -l /dev/disk/by-id/

Creating a Pool

There are two types of simple storage pools we can create. A striped pool , also called RAID-0 , in which the data is stored in “stripes” across all drives, or a mirrored pool , also called RAID-1 , in which a complete copy of all data is stored separately on each drive. Striped pools are not fault tolerant whereas mirrored pools can survive the failure of one drive. Striped pools have twice the storage capacity of mirrored pools and have better performance than mirrored pools. To create a striped pool, we run:

When making pool use the ATA identifier not /dev/sda

Example:
ata-INTEL_####A2#160G##C_################## -> ../../sdb

sudo zpool create myzpool mirror ata-INTEL_####A2#160G##C_################## ata-INTEL_####A2#160G##C_##################

sudo zfs set compression=lz4 mypool sudo zfs set atime=off myzpool

Add Cache Drive

sudo zpool add myzpool cache 'ssd device name'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published