From b5dafa9b701396a3a00045df28b881f666fcdd34 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 17 Aug 2021 00:57:33 +0100 Subject: [PATCH] Add autotrim to zpool creation command --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index f0ea7b2..55c7453 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -9,7 +9,7 @@ partition_disk() { } zfs_setup() { - zpool create -f -o ashift=13 -O acltype=posixacl -O relatime=on \ + zpool create -f -o ashift=13 -o autotrim=on -O acltype=posixacl -O relatime=on \ -O xattr=sa -O dnodesize=legacy -O normalization=formD -O mountpoint=none \ -O canmount=off -O devices=off -R /mnt -O compression=zstd -O encryption=aes-256-gcm \ -O keyformat=passphrase -O keylocation=prompt syscea "$DISK"p2