On Sat, 2023-07-08 at 07:38 -0700, Doug Herr wrote:
> 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.

Yes, I think you're right. In fact I think I even asked about this in
the distant past.

There's an old joke:
"I think I'm getting a combination of memory loss with déjà vu, because
I may have forgotten about this before."

poc
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to