Here's my setup
$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 238.5G 0 disk ├─nvme0n1p1 259:1 0 100M 0 part /boot/efi ├─nvme0n1p2 259:2 0 250M 0 part /boot └─nvme0n1p3 259:3 0 238.1G 0 part └─Be-Water-My-Friend 254:0 0 238.1G 0 crypt ├─Arch-swap 254:1 0 2G 0 lvm [SWAP] └─Arch-root 254:2 0 236.1G 0 lvm /
I have one main LUKS2-encrypted partition (
nvme0n1p3), with one LVM volume group (
Be-Water-My-Friend) containing two logical volumes
Arch-root is a btrfs.
When I set that up, I only chose 2GB of swap which turns out to be insufficient for my needs. I would like to increase that to 24GB of swap.
For that, I think I need to
- boot on a USB live key
- decrypt the LUKS2 partition
- mount the
- shrink the
Arch-rootfile system with
btrfs filesystem resize -22g
- remove the
- recreate the
Arch-swaplogical volume taking all available space in the
Is there anything I'm missing? I really don't want to screw that up!