summaryrefslogtreecommitdiff
path: root/neko
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-09-17 00:10:22 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-09-17 00:10:22 +0200
commitf90169dc782f1441af9c044a7b849ff853246f74 (patch)
treeaf26d00ed00336b80a946b8d04216101d2cdd8f0 /neko
parente1bfa06e9058b6353f54101acf00821095feb7be (diff)
new flags for creation
Diffstat (limited to 'neko')
-rw-r--r--neko/install.txt16
1 files 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