void

- enter the void 🪐
git clone git://git.acid.vegas/archlinux.git
Log | Files | Refs | Archive

commit f09943b668f88652d3fd6de219de6453e8538acc
parent 7805bc51996ea415aeca964892cee0af1bc1c216
Author: acidvegas <acid.vegas@acid.vegas>
Date: Wed, 23 Oct 2024 01:44:59 -0400

Forgot to include parity for raidz

Diffstat:
Menterthezoid | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/enterthezoid b/enterthezoid
@@ -68,7 +68,7 @@ setup_zfs() {
 
 	# Create the ZFS pool (should we use noatime=on instead of relatime=on?)
 	ZFS_POOL_DRIVES=$(echo $(for dev in $POOL_DRIVES; do find /dev/disk/by-id/ -samefile $(readlink -f "$dev") ! -name "*-part*" -print -quit; done))
-	zpool create -f -o ashift=12 -O compression=lz4 -O acltype=posixacl -O xattr=sa -O relatime=on -o autotrim=on -o compatibility=openzfs-2.1-linux -m none zroot raidz $ZFS_POOL_DRIVES
+	zpool create -f -o ashift=12 -O compression=lz4 -O acltype=posixacl -O xattr=sa -O relatime=on -o autotrim=on -o compatibility=openzfs-2.1-linux -m none zroot raidz${RAIDZ_PARITY} $ZFS_POOL_DRIVES
 
 	# Create the ZFS datasets
 	zfs create -o mountpoint=none zroot/ROOT