03-09-2017, 07:20 AM
(This post was last modified: 03-09-2017, 07:34 AM by kenneth558.)
(03-08-2017, 10:47 PM)pfeerick Wrote:(03-08-2017, 06:52 PM)kenneth558 Wrote:Code:root@DietPi:~# dphys-swapfile setup
want /mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile=28000MByte, restricting to config limit: 2048MBytes, (etc...)
I'm not familiar with that command (used to just creating a swap partition and then enabling it), but since you've run the dphys-swapfile setup command... have you run dphys-swapfile swapon to then actually enable the swapfile usage? It appears you need to run both commands?
Yes, I did but didn't think to include it because the swapon command produced no response. My bad in not posting that info. Thank you kindly for asking. Did you enable swap via fstab instead?
Come to think of it, that cat /proc/swaps command output must have gotten chopped off somehow. It is actually:
Code:
root@DietPi:~# cat /proc/swaps
Filename Type Size Used Priority
/mnt/8ccd4c9a-baa0-4717-83e3-ff582354a048/.swapfile file 2047996 0 -1