Hi,
I have a question.
I recently switched to F33 and ran the default installation with BTRFS. When I try to hibernate with systemctl hibernate
command … I get
Failed to hibernate system via logind: Not enough swap space for hibernation
This the output of swapon -v
and free
$ swapon -v
NAME TYPE SIZE USED PRIO
/dev/zram0 partition 4G 0B 100
$ free
total used free shared buff/cache available
Mem: 16226908 3261236 8341512 584048 4624160 12058424
Swap: 4194300 0 4194300
Actually, the size of the SWAP is not enough, since I have 16GB of RAM. But the SWAP in the default installation of F33 is not a SWAP FileSystem, but a SWAP on zram and no longer uses SWAP partitions by default.
This is my /etc/fstab
$ cat /etc/fstab
UUID=ff78ce94-1bb0-403a-8973-21ae1efb8b8f / btrfs subvol=@,x-systemd.device-timeout=0,ssd,noatime,space_cache,commit=120,discard=async 0 0
UUID=099F-3A38 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=ff78ce94-1bb0-403a-8973-21ae1efb8b8f /home btrfs subvol=@home,x-systemd.device-timeout=0,ssd,noatime,space_cache,commit=120,discard=async 0 0
UUID=ff78ce94-1bb0-403a-8973-21ae1efb8b8f /var btrfs subvol=var,x-systemd.device-timeout=0,ssd,noatime,space_cache,commit=120,discard=async 0 2
Reading here https://fedoraproject.org/wiki/Changes/SwapOnZRAM it is clear that …
The zram-generator + configuration file will trigger the setup and activation of swap-on-zram. This means hibernation isn’t possible, even on systems that could support it.
At this point, I wonder if (and how) it is possible to go back to using HIBERNATION with this type of configuration.
Thank you,
S.