I have a 27.8G swap partition; though I have no swap space, I'd like to change that.
Here is the pertinent output from top
.
KiB Swap: 0 total, 0 free, 0 used
I believe I may have turned it off with the swapoff --all
. That being said the swapon --all
exits with swapon: /dev/sda6: swapon failed: Invalid argument
.
Here is the swap entry in my /etc/fstab
# swap was on /dev/sdb6 during installation
UUID=aa0cdc90-ef01-446b-a6a2-fac368d16aca none swap defaults 0 0
I affirmed the UUID of my partition with the one in /etc/fstab
.
Below is the output from blkid
.
sudo blkid /dev/sda6
/dev/sda6: UUID="aa0cdc90-ef01-446b-a6a2-fac368d16aca" TYPE="swap" PARTUUID="6ddd3267-3895-40e5-9acc-56bfbc58039b"
My swap partiton is on /dev/sda6
not /dev/sdb6
.
I presume /dev/sdb6
was the bootable USB I used to install the system.
This is a dual-booted, single-drive system.
Thanks in advance for your help.
sudo blkid
to our question? – Charles Green Jan 11 '19 at 18:44blkid
output. – Jan 11 '19 at 21:48/etc/fstab
appears to be wrong. Try changing it to/dev/sda6 none swap defaults 0 0
orUUID=aa0cdc90-ef01-446b-a6a2-fac368d16aca none swap defaults 0 0
– Sergiy Kolodyazhnyy Jan 11 '19 at 21:52sudo fdisk -l /dev/sda6 | grep sda6
outputsDisk /dev/sda6: 27.8 GiB, 29877683712 bytes, 58354851 sectors
– Jan 11 '19 at 22:41sudo fdisk -l /dev/sda | grep sda6
outputs/dev/sda6 429926400 488281250 58354851 27.8G Linux swap
– Jan 12 '19 at 00:02