F33 BTRFS - Not enough swap space for hibernation

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

 



Hi,

Migrated to BTRFS on Fedora 33.

How do I get hibernate to work with swap files ?

I did:
    touch /fedora.swap
    chattr +C /fedora.swap
    dd if=/dev/zero of=/fedora.swap bs=1M count=14336 status=progress
    chmod 600 /fedora.swap
    mkswap /fedora.swap

/etc/fstab entry:

          /fedora.swap none swap defaults 0 2

swap is mounted but is behaving weirdly since I have more swap than I actually allocated:

              total        used        free      shared  buff/cache   available
Mem:          7.7Gi       1.5Gi       4.2Gi       407Mi       2.0Gi       5.6Gi
Swap:          17Gi          0B        17Gi

Don't have any idea where 17 GiB is coming from.

Using the --giga option I get:

              total        used        free      shared  buff/cache   available
Mem:              8           1           4           0           2           5
Swap:            19           0          19

I have no idea what is happening.

What is going on?
--
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