My computer is running Debian 13. During installation of Debian 13, I chose to have full disk encryption and use the BTRFS filesystem (instead of the default ext4 filesystem). The Debian installer automatically configured about 32 GB of swap. I have been using this Debian 13 installation for a few weeks, but I now want to reduce the swap from 32 GB to 8 GB without reinstalling Debian. How can I do that?
Relevant information:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 976M 0 part /boot/efi
├─nvme0n1p2 259:2 0 977M 0 part /boot
└─nvme0n1p3 259:3 0 1.8T 0 part
└─nvme0n1p3_crypt 254:0 0 1.8T 0 crypt
├─mypc--vg-root 254:1 0 1.8T 0 lvm /
└─mypc--vg-swap_1 254:2 0 31.1G 0 lvm [SWAP]
$ cat /etc/fstab
# /boot was on /dev/nvme0n1p2 during installation
UUID=c68e63e2-2183-4cf3-9503-58fd5e6379b0 /boot ext4 defaults 0 2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=5D60-ADDA /boot/efi vfat umask=0077 0 1
/dev/mapper/mypc--vg-root / btrfs defaults,compress=zstd:1,subvol=@rootfs 0 0
/dev/mapper/mypc--vg-swap_1 none swap sw 0 0