[systemd-devel] Fwd: System fails to create zram on startup, but I can do so manually

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Nov 20 15:33:23 UTC 2024


On Wed, Nov 20, 2024 at 04:03:22PM +0100, Torstein Sørnes wrote:
> I have now set it to
> ```
> [zram0]
> zram-size = 32*1024
> ```
> and tried
> ```
> sudo systemctl daemon-reload
> sudo systemctl restart systemd-zram-setup at zram0
> ```

> nov. 20 16:01:21 D2S3Q34 zram-generator[162009]:     Device or resource
> busy (os error 16)

You probably need to call swapoff and 'zramctl --reset' or reboot.

Zbyszek


More information about the systemd-devel mailing list