From f90169dc782f1441af9c044a7b849ff853246f74 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 17 Sep 2023 00:10:22 +0200 Subject: [PATCH] new flags for creation --- neko/install.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/neko/install.txt b/neko/install.txt index b6a02f9..7de23c9 100644 --- a/neko/install.txt +++ b/neko/install.txt @@ -119,14 +119,14 @@ cryptsetup luksFormat --batch-mode --verify-passphrase $DD sleep 5 -# open them -cryptsetup luksOpen $DD crypt-projects +# open them, set right options persistently +cryptsetup luksOpen --allow-discards --perf-no_read_workqueue --perf-no_write_workqueue --persistent $DD crypt-projects sleep 5 lsblk --fs -# create btrfs with strong checksumming and fast mounting -mkfs.btrfs -f --csum blake2 --features block-group-tree /dev/mapper/crypt-projects +# create btrfs with fast & strong checksumming and fast mounting +mkfs.btrfs -f --csum xxhash --features block-group-tree /dev/mapper/crypt-projects sleep 5 btrfs filesystem show @@ -145,14 +145,14 @@ cryptsetup luksFormat --batch-mode --verify-passphrase $DD sleep 5 -# open them -cryptsetup luksOpen $DD crypt-vms +# open them, set right options persistently +cryptsetup luksOpen --allow-discards --perf-no_read_workqueue --perf-no_write_workqueue --persistent $DD crypt-vms sleep 5 lsblk --fs -# create btrfs with strong checksumming and fast mounting -mkfs.btrfs -f --csum blake2 --features block-group-tree /dev/mapper/crypt-vms +# create btrfs with fast & strong checksumming and fast mounting +mkfs.btrfs -f --csum xxhash --features block-group-tree /dev/mapper/crypt-vms sleep 5 btrfs filesystem show