Add autotrim to zpool creation command
This commit is contained in:
parent
89e18e6f6a
commit
b5dafa9b70
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue