You are not logged in.
Systemd-swap searches for a device but doesn't seem to find any:
$ systemctl status systemd-swap
● systemd-swap.service - Manage swap spaces on zram, files and partitions.
Loaded: loaded (/usr/lib/systemd/system/systemd-swap.service; enabled; vendor preset: disabled)
Active: active (exited) since Tue 2020-06-09 07:43:58 CEST; 9min ago
Process: 458 ExecStart=/usr/bin/systemd-swap start (code=exited, status=0/SUCCESS)
Main PID: 458 (code=exited, status=0/SUCCESS)
CPU: 542ms
june 09 07:43:58 LN-TW-01 systemd[1]: Started Manage swap spaces on zram, files and partitions..
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: Load: /etc/systemd/swap.conf
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: Zswap: backup current configuration: start
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: Zswap: backup current configuration: complete
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: Zswap: set new parameters: start
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: Zswap: Enable: 1, Comp: lz4, Max pool %: 25, Zpool: zbud
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: Zswap: set new parameters: complete
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: swapD: pickup devices from systemd-gpt-auto-generator
june 09 07:43:59 LN-TW-01 systemd-swap[458]: INFO: swapD: searching swap devices
$and the swap partition remains at 0B
$ free -h
total used free shared buff/cache available
Mem: 7,6Gi 1,2Gi 5,4Gi 132Mi 1,0Gi 6,0Gi
Swap: 0B 0B 0BLast edited by thomasbb (2020-06-09 10:26:57)
Offline
And? Did you create a swap partition and properly denote it as a swap partition according to the GUID partition id? ... from man systemd-gpt-auto-generator
│0657fd6d-a4ab-43c4-84e5-0933c84b4f4f │ Swap │ n/a │ All swap partitions │
│ │ │ │ located on the disk the │
│ │ │ │ root partition is │
│ │ │ │ located on are enabled. │Last edited by V1del (2020-06-09 07:09:13)
Offline
I think this is a new feature in the latest release. https://github.com/Nefelim4ag/systemd-swap/releases "Only create the first swapfile (swapfc) if we're low on ram instead of on startup"
Last edited by andrewclive (2020-06-09 09:03:46)
Offline
Did you create a swap partition and properly denote it as a swap partition according to the GUID partition id?
It's dynamic: https://wiki.archlinux.org/index.php/Swap#Automated
I think this is a new feature in the latest release.
Thanks again
Offline