Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemctl start /dev/zram0” -> “Job for dev-zram0.device timed out.” #221

Open
slrslr opened this issue Dec 23, 2024 · 1 comment
Open

Comments

@slrslr
Copy link

slrslr commented Dec 23, 2024

Linux 6.11.11-1-MANJARO

I can install “sudo pamac install zram-generator” but question is how to configure it. When I have tried to “sudo cp /usr/share/doc/zram-generator/zram-generator.conf.example /etc/systemd/zram-generator.conf && systemctl daemon-reload && sudo systemctl start /dev/zram0” it failed “Job for dev-zram0.device timed out.” with no more detail in journalctl output. zramctl and swapon output is empty, no reboot since zram-generator installation.

Maybe the paragraph at https://github.com/systemd/zram-generator?tab=readme-ov-file#tldr should be improved, since that steps not worked for me or the failure message shown above can be more detailed to describe the issue cause?

@pheiduck
Copy link
Contributor

pheiduck commented Dec 24, 2024

It make no sense to just copy the example without making any changes to this file.

I use this:

# /etc/systemd/zram-generator.conf
[zram0]
zram-size = ram / 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants