I want to increase the swap size in a Debian LVM system... but when I try to resize it, there is not enough space? reddit / selfhosted ---------------------------------------------------------------------- Zestyclose_Car1088 · 2023-12-14 21:46 Here's what I tried: swapoff -v /dev/VolGroup/lv_swap lvresize /dev/VolGroup/lv_swap -L +2G "Insufficient free space: 768 extents needed, but only 3 available" So it looks like I have to shrink the root logical volume: LV Path /dev/VolGroup/root Is there a safe way to shrink the root volume (while running or shutdown) allowing the swap to be extended? Or is there an easier way? Thanks ​ `Debian Bookworm` ---------------------------------------------------------------------- yarmak · 2023-12-14 22:26 You can create swap IN the filesystem. https://wiki.archlinux.org/title/swap#Swap_file ---------------------------------------------------------------------- thekrautboy · 2023-12-14 23:00 /r/Debian exists? ---------------------------------------------------------------------- Longjumping-Gap7541 · 2023-12-15 22:25 Always extend