From 7adfb085a339dca1460af71fa3dfb3b9a90e6729 Mon Sep 17 00:00:00 2001 From: Prokopenko Andrey Date: Wed, 15 Sep 2021 11:14:17 +0200 Subject: [PATCH] set compression for root to zstd-9 --- hetzner-debian11-zfs-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hetzner-debian11-zfs-setup.sh b/hetzner-debian11-zfs-setup.sh index 400d6c5..06589aa 100644 --- a/hetzner-debian11-zfs-setup.sh +++ b/hetzner-debian11-zfs-setup.sh @@ -4,9 +4,9 @@ (c) Andrey Prokopenko job@terem.fr fully automatic script to install Debian 11 with ZFS root on Hetzner VPS WARNING: all data on the disk will be destroyed -How to use: add SSH key to the rescue console, set it OS to linux64, then press mount rescue and power sysle +How to use: add SSH key to the rescue console, set it OS to linux64, then press "mount rescue and power cycle" button Next, connect via SSH to console, and run the script -Answer script questions about desired hostname and ZFS ARC cache size +Answer script questions about desired hostname, ZFS ARC cache size et cetera To cope with network failures its higly recommended to run the script inside screen console screen -dmS zfs screen -r zfs @@ -40,7 +40,7 @@ c_deb_security_repo=https://mirror.hetzner.com/debian/security c_default_zfs_arc_max_mb=250 c_default_bpool_tweaks="-o ashift=12 -O compression=lz4" -c_default_rpool_tweaks="-o ashift=12 -O acltype=posixacl -O compression=lz4 -O dnodesize=auto -O relatime=on -O xattr=sa -O normalization=formD" +c_default_rpool_tweaks="-o ashift=12 -O acltype=posixacl -O compression=zstd-9 -O dnodesize=auto -O relatime=on -O xattr=sa -O normalization=formD" c_default_hostname=terem c_zfs_mount_dir=/mnt c_log_dir=$(dirname "$(mktemp)")/zfs-hetzner-vm