3

I have installed swapspace a few weeks back. I have followed this answer for installing swapspace in my ubuntu 14.04

sudo apt-get install swapspace
#confirmed installation using "man swapspace"

I have used this application because it will dynamically make a swap space as per the system requirement and also I find the manual creation of swap space daunting.

But after a fresh reboot when I tried to find my swap space using these commands

$ swapon -s
Filename                Type        Size    Used    Priority

$ free -m
Swap:            0          0          0

shows no swap space in my system?

How should I use swapspace?

Eka
  • 2,967
  • 12
  • 38
  • 60
  • First of all, did you partition your drive with a swap partition when you installed Ubuntu? –  Oct 15 '16 at 15:56
  • To find out, run fdisk -l and give us the output. –  Oct 15 '16 at 15:57
  • I think I didnt used a swap partition while installing ubuntu. Its a long time ago so I am not sure. fdisk -l it outputs nothing. Do we need a separate partition for swap space. I read that we can create swap file with out a separate partition – Eka Oct 15 '16 at 15:58
  • 1
    Can you give the output of fdisk -l? –  Oct 15 '16 at 15:58
  • It will show whether or not you did –  Oct 15 '16 at 15:59
  • I have no swap partition, only static /swap.img file in root, tried sudo systemctl start swapspace.service but no new swap files are created when entire memory is consumed, even if i swapoff static one before starting swapspace service. Debian9. – watbywbarif Mar 23 '22 at 08:12
  • Their readme file has the installation procedure: https://github.com/Tookmund/Swapspace/blob/master/README.md – Nav Jun 05 '22 at 11:30

0 Answers0