Need Help on swap create

Hello All,
im getting error while i creating swap file. i have already setup extroot. could anyone help pls

root@OpenWrt:~#  dd if=/dev/zero of=${DIR}/swap bs=1M count=100
100+0 records in
100+0 records out
root@OpenWrt:~# chmod 0600 /swap
root@OpenWrt:~# mkswap /swap
Setting up swapspace version 1, size = 104853504 bytes
root@OpenWrt:~# swapon /swap
block: failed to swapon /swap (-1)

This is not OpenWrt. Please ask your question to the immortalwrt team.

i have changed the name..

ubus call system board

i have created swap file using minitool app. thanks..

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.