1

Topic: Mounted encrypted swap partition resizing

All is in the title

It's possible to resize mounted LUKS ext4 encrypted partition but not mounted LUKS swap encrypted partition

2

Re: Mounted encrypted swap partition resizing

Linux doesn't allow swap space to be resized while active (mounted).  That is just how it is with the Linux kernel.

Using GParted the process has to be:

  1. swapoff

  2. resize swap partition

  3. swapon

Doing swapoff is removing or reducing available virtual memory so is not something GParted should be doing automatically without the users knowledge.