From a28b977c3e45f2ca5e8c18fd76f74293e7a20f4a Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 20 Aug 2024 20:44:02 +0200 Subject: no raid, 4k stuff has issues here with alignment --- beta/install.txt | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/beta/install.txt b/beta/install.txt index f121ad3..e0f99d1 100644 --- a/beta/install.txt +++ b/beta/install.txt @@ -28,10 +28,6 @@ efibootmgr DISK=/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286 HOST=beta -# ensure 4k sector size -nvme format --lbaf=1 --force $DISK -nvme id-ns -H $DISK - sleep 5 # kill old data @@ -58,14 +54,14 @@ mkfs.fat -F 32 -n EFIBOOT $DISK-part1 sleep 5 -# create the crypto containers with proper 4k sectors -cryptsetup luksFormat --sector-size 4096 --batch-mode --verify-passphrase $DISK-part2 +# create the crypto container +cryptsetup luksFormat --batch-mode --verify-passphrase $DISK-part2 -# open the containers +# open the container cryptsetup luksOpen $DISK-part2 crypt0 -# create one large btrfs on them, RAID0 with strong checksum -mkfs.btrfs -f -d raid0 -m raid0 --checksum blake2 --features block-group-tree --label nix /dev/mapper/crypt0 +# create one large btrfs on them with strong checksum +mkfs.btrfs -f --checksum blake2 --features block-group-tree --label nix /dev/mapper/crypt0 sleep 5 -- cgit v1.2.3