chris5126 26 Posting Pro in Training

Hi,

Trying to add a swap file to my server as below:

dd if=/dev/zero of=/swapfile1 bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 27.4514 seconds, 78.2 MB/s
[root@clearab2 /]# mkswap -c /swapfile1
Setting up swapspace version 1, size = 2147479 kB
[root@clearab2 /]# swapon /swapfile1
swapon: /swapfile1: Function not implemented
[root@clearab2 /]# swapon -a
swapon: /swapfile1: Function not implemented

Does anyone know why this is happening i have googled but cant find anything?