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?

  • First of all, did you partition your drive with a swap partition when you installed Ubuntu?
    – user595510
    Oct 15, 2016 at 15:56
  • To find out, run fdisk -l and give us the output.
    – user595510
    Oct 15, 2016 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, 2016 at 15:58
  • 1
    Can you give the output of fdisk -l?
    – user595510
    Oct 15, 2016 at 15:58
  • It will show whether or not you did
    – user595510
    Oct 15, 2016 at 15:59


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.