Failed to hibernate system via logind: Not enough swap space for hibernation
by sreyan32 from LinuxQuestions.org on (#5ABEK)
I am on Fedora 32 and I have upgraded to the latest 5.8 kernel.
I have my swap setup as a swap file.
Code:$ ls -sh /fedora.swap
8.1G /fedora.swapMy RAM is also 8GB hence a 8GB swap file.
I have resume parameters setup on my GRUB_CMDLINE, and hibernate use to work when I was on the older 5.6 kernel.
Now when I issue the command:
Code:$ systemctl hibernate
Failed to hibernate system via logind: Not enough swap space for hibernationI get the above failure message.
My swap is activated and free :
Code:$ free -h
total used free shared buff/cache available
Mem: 7.7Gi 1.4Gi 3.5Gi 265Mi 2.8Gi 5.8Gi
Swap: 8.0Gi 0B 8.0Gi
Is SELinux blocking me ?
Can someone tell me why even after having 8GB of free swap space I am not able to hibernate ?


I have my swap setup as a swap file.
Code:$ ls -sh /fedora.swap
8.1G /fedora.swapMy RAM is also 8GB hence a 8GB swap file.
I have resume parameters setup on my GRUB_CMDLINE, and hibernate use to work when I was on the older 5.6 kernel.
Now when I issue the command:
Code:$ systemctl hibernate
Failed to hibernate system via logind: Not enough swap space for hibernationI get the above failure message.
My swap is activated and free :
Code:$ free -h
total used free shared buff/cache available
Mem: 7.7Gi 1.4Gi 3.5Gi 265Mi 2.8Gi 5.8Gi
Swap: 8.0Gi 0B 8.0Gi
Is SELinux blocking me ?
Can someone tell me why even after having 8GB of free swap space I am not able to hibernate ?