Hi,
I have check swap in DietPi v6.24.1 but there’s none:
root@pc5-raspi:~# free -m
total used free shared buff/cache available
Mem: 226 81 36 9 108 86
Swap: 0 0 0
However I used dietpi-config and dietpi-drive_manager respectively and configured swap.
After rebooting Raspi there’s no swap memory.
There’s an entry in /etc/fstab for swap, though:
root@pc5-raspi:~# tail /etc/fstab
#----------------------------------------------------------------
# SWAPFILE
#----------------------------------------------------------------
/var/swap none swap sw 0 0
#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
PARTUUID=27504eef-02 / auto defaults,noatime,rw 0 1
PARTUUID=27504eef-01 /boot auto defaults,noatime,rw 0 1
Please advise how to fix this.
THX
Update:
Follow instructions here to create swap file manually.