My cryptswap is now 4gb. I upgraded my RAM and I'd like to increase the swap accordingly to approx 8GB.
So far, I've reduced the size of my main sda1 partition with GParted by 4gb and I'm left with 4gb of unallocated space.
Next, I wanted to increase the swapsize of sda2 but GParted returns this error:
GParted 0.12.1 --enable-libparted-dmraid
Move /dev/sda2 to the left and grow it from 3.88 GiB to 7.79 GiB 00:00:01 ( ERROR )
calibrate /dev/sda2 00:00:00 ( SUCCESS )
path: /dev/sda2 start: 616,994,814 end: 625,141,759 size 8,146,946 (3.88 GiB) move partition to the left and grow it from 3.88 GiB to 7.79 GiB 00:00:00 ( ERROR )
old start: 616,994,814 old end: old size: 8,146,946 (3.88 GiB) requested start: 608,800,768 requested end: 625,139,711 requested size: 16,338,944 (7.79 GiB) libparted messages ( INFO )
Unable to satisfy all constraints on the partition. Can't have overlapping partitions.
I don't understand the statement
Can't have overlapping partitions.
The partitions do not overlap.
The output of
swapon -s returns
/dev/mapper/cryptswap1 partition 4073468 0 -1
I guess the issue I encountered with GParted is related to cryptswap?