[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swapon command error



maybe you are using a custom kernel without swapfile flag?
try to use the standard debian kernel
all the best
ste

On Thu, Sep 9, 2021 at 4:33 PM lin dimitri <lindimitri@gmail.com> wrote:
Hi,

I am trying to increase my swap memory, below is the commands I used:-
$ sudo swapon --show
$ sudo swapoff -a
$ sudo fallocate -l 4G /swapfile
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
swapon failed: Function not implemented

i got above error.

I have CONFIG_SWAP=y in /proc/config.gz.

i don't know how this can be solved

plz help.


Regards,

lin


Reply to: