Re: Not enough swap space to hibernate

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

 



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 -- 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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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