On Sat, Jul 8, 2023, at 5:11 AM, Patrick O'Callaghan wrote:
> I'm experimenting with hibernating rather than suspending my system
> overnight. However I get this:
>
> $ sudo systemctl hibernate
> Call to Hibernate failed: Not enough swap space for hibernation
>
> But:
>
> $ free -h
>                total        used        free      shared  buff/cache   
> available
> Mem:            15Gi       4.6Gi       3.4Gi        80Mi       7.5Gi        
> 10Gi
> Swap:           71Gi          0B        71Gi
> $ swapon
> NAME           TYPE      SIZE USED PRIO
> /SWAP/swapfile file       64G   0B   -2
> /dev/zram0     partition   8G   0B  100
>
> So it appears that I should have enough swap. What's going on?

If I remember right (and it has not changed) then you need an actual swap 
partition and not just a "swapfile".

I think the partition will also need to be listed in the Grub boot line also.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to