On Mon, Dec 7, 2020, 1:48 AM Sreyan Chakravarty <sreya...@gmail.com> wrote:

> On Mon, Dec 7, 2020 at 1:58 PM Samuel Sieb <sam...@sieb.net> 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to