During the installation process, I used the guided partitioning option. I chose:
- NO separate boot partition
- NO separate home partition
- YES a separate swap partition
I was asked how big a swap partition I wanted.
The value of 3200 MiB was suggested (default)
I changed that to 7600 MiB (roughly 8 GB)
I checked my fstab, and saw:
# /dev/sda1
UUID=f65a46ed-e04d-4de6-8261-4a9d61c0339a / ext4 rw,relatime 0 1
# /dev/sda2
UUID=f32d8151-fb06-4273-b0af-23bafef0533a none swap defaults 0 0
This morning, I thought I should check to see if swap was actually enabled.
swapon --show gave a null result, indicating swap was not enabled. So I used
sudo swapon -a to turn it on. Here comes the surprise:
john@ lat8gb ~ % swapon --show
NAME TYPE SIZE USED PRIO
/dev/sda2 partition 256G 0B -2
So I seem to have a 256 GB swap partition.
A quick check with htop says the same.
However, gparted gives a different result.
Partition File System Mount Point Size Used Unused Flags
/dev/sda1 ext4 / 7.42 GiB 4.833 GiB 2.59 GiB boot,swap
/dev/sda2 linux-swap 458,34 GiB 0.0 GiB 458.34 GiB
According to gparted, I have gotten the sizes of my root and swap partitions backwards. My root is around 8 GB, instead of my swap being 8GB. But, according to swapon -show, and according to htop, my swap partition is 256 GB. Either way, I have botched things badly.
I guess I'll have to start from scratch with a fresh install, to see how I managed this.
Before I do that, I figure I should ask for ideas on how this went so wrong, so I don't repeat any obvious blunder.