Re: Swap still not activated on later kernels

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

 





On Fri, Nov 13, 2020 at 6:28 PM Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote:


On Fri, Nov 13, 2020 at 3:58 PM Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
Looking at https://bbs.archlinux.org/viewtopic.php?id=256614 and the URL's contained within
it seems doing a

dd if=/dev/zero of=/fedora.swap bs=1M count=2048 status=progress

may cure the w(hole) issue.  :-)


Also weirdly my 8GB swap file is being interpreted as only 8MB.

$  swapon -s
Filename                                Type            Size    Used    Priority
/fedora.swap                            file            8388604 0       -2

$   ls -sh /fedora.swap
8.1G /fedora.swap

What on earth is happening?

Ok my mistake.

I seem to have 8 GB of swap space. I can confirm by the free command.

$ free -h
              total        used        free      shared  buff/cache   available
Mem:          7.7Gi       1.7Gi       4.4Gi       337Mi       1.6Gi       5.4Gi
Swap:         8.0Gi          0B       8.0Gi


BUT

I am still unable to hibernate:

$  systemctl hibernate
Failed to hibernate system via logind: Not enough swap space for hibernation

I don't understand why after having 8GB of free swap space, I am still unable to hibernate ?

Is this an SELinux issue ?

What is the problem here ?
--
Regards,
Sreyan Chakravarty
_______________________________________________
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