Skip to main content

installation

apt install lsscsi hddtemp lm-sensors vim htop screen mpt-status smartmontools parted lsof hdparm zfsutils-linux -y

Clean disks

wipefs -a /dev/sdb

RAIDZ1

zpool create data raidz1 sdb sdi sdq raidz1 sdc sdj sdr raidz1 sdd sdk sds raidz1 sde sdl sdt raidz1 sdf sdm sdu raidz1 sdg sdn sdv raidz1 sdh sdo sdw

RAIDZ2

zpool create data raidz2 sdb sdc sdy sdz sdq sdr raidz2 sdd sde sdw sdx sdo sdp raidz2 sdf sdg sdu sdv sdm sdn raidz2 sdh sdi sdk sdl sds sdt
zfs set compression=zstd data
zpool export data
zpool import -d /dev/disk/by-id data
zfs set mountpoint=/var/lib/docker data
zfs set mountpoint=none data
zfs get mountpoint data