You are not logged in.

#1 Yesterday 09:41:09

ak1sha
Member
Registered: 2024-08-25
Posts: 6

[Solved]Issue with using zram as swap.

After using the archinstall  script to install arch linux with swap on zram  and systemd-boot and running :

systemctl hibernate

I got this error :

Call to Hibernate failed: Not enough suitable swap space for hibernation available on compatible block devices and file systems

I would appreciate some help trying to fix whatever is wrong my my swap on zram.

When i run :

swapon --show

I get this output :

NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition   4G   0B  100

*i have 16 G of ram so 4 G swap on zram should be  enough according to my research .

Last edited by ak1sha (Yesterday 13:32:14)

Offline

#2 Yesterday 11:45:15

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,970

Re: [Solved]Issue with using zram as swap.

Nothing is wrong, hibernation suspends to swapspace on disk and then powers down the system.
Zram uses memory and will loose all data when the system is powered down.

https://wiki.archlinux.org/title/Power_ … ibernation


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Yesterday 13:31:46

ak1sha
Member
Registered: 2024-08-25
Posts: 6

Re: [Solved]Issue with using zram as swap.

Lone_Wolf wrote:

Nothing is wrong, hibernation suspends to swapspace on disk and then powers down the system.
Zram uses memory and will loose all data when the system is powered down.

https://wiki.archlinux.org/title/Power_ … ibernation

Thanks for your help.
smile

Offline

Board footer

Powered by FluxBB