Re: F33 BTRFS - Not enough swap space for hibernation

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

 





On Mon, Dec 7, 2020, 1:48 AM Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote:
On Mon, Dec 7, 2020 at 1:58 PM Samuel Sieb <samuel@xxxxxxxx> wrote:


>
> [  269.976652] PM: Cannot find swap device, try swapon -a

This is the important line.


What could be causing this ? I am not even getting error messages.
 
Do you have the swap file in the fstab?

Yes.

This is my /etc/fstab:

UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 /                       btrfs   subvol=root,x-systemd.device-timeout=0 0 0
UUID=0e9cf655-eaef-44d6-8b5d-3f84e7449c0e /boot                   ext4    defaults        1 2
UUID=CACC-9508          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
/fedora.swap none swap defaults 0 2


What happens if you manually swapon? What does cat /proc/cmdline show?

This isn't a great location for a swapfile on btrfs because you can't ever snapshot /. And it takes extra steps to make hibernation possible.

The more predictable arrangement is a swap partition.

--
Chris Murphy
_______________________________________________
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