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 at 1:58 PM Samuel Sieb <samuel@xxxxxxxx> wrote:
On 12/7/20 12:13 AM, Sreyan Chakravarty wrote:
> Hibernation is not successful.
>
> This is what I get from 'dmesg':
>
> [  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

 
Is there any more info in the journal?  The dmesg shows very little of
what is going on.


I get the same thing that I have already shared, along with a few extra lines from 'journalctl' :

systemd-sleep[3966]: Failed to suspend system. System resumed again: No such device
systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Hibernate.
systemd[1]: Dependency failed for Hibernate.
systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
systemd-logind[1248]: Operation 'sleep' finished.
systemd[1]: Stopped target Sleep.

 
I remember another very long thread helping you get a hibernation swap
file working quite a while back.  Can you go over that again and see if
there's something you've missed here?

That was for configuring hibernate on ext4 with LVM. 

I did go through that. The only thing I missed was putting the correct offset in the kernel cmd line. Which I have done now.

This problem is more serious as the hibernate job fails. 

--
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