Re: Not enough swap space for hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 13, 2020 at 09:24:52PM +0530, Sreyan Chakravarty wrote:
>
> Hi,
> 
> I have just upgraded to the new 5.8 kernel on Fedora 32.
> 
> I have also configured my swap as a swap file of 8GB.
> 
> But when I try to hibernate using the following command:
> 
> $ systemctl hibernate
> Failed to hibernate system via logind: Not enough swap space for hibernation
> 
> I have no idea why this is happening when I have 8GB of free swap space :
> 
> $  free -h
>               total        used        free      shared  buff/cache
> available
> Mem:          7.7Gi       1.6Gi       4.1Gi       269Mi       2.0Gi
> 5.6Gi
> Swap:         8.0Gi          0B       8.0Gi
> 
> My RAM is also 8GB.
> 
> Any ideas ?

I believe that using a swap *file* for hibernation requires special
steps, as described here:

https://www.kernel.org/doc/html/latest/power/swsusp-and-swap-files.html

I believe you need to add the kernel parameters to make it work, or
you have to switch to the userland suspend interface.


-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux