1

I've installed new Ubuntu 16.10 with LVM on LUKS using this instruction: (https://askubuntu.com/a/293029). But when I type swapon -s I get:

Filename                Type        Size    Used    Priority
/dev/dm-1                               partition   3145724 0   -1

UPD: Made the fresh install with standard options of encryption (erase disk, encrypt disk, use lvm). Swap still not working

  • Same issue in my case as well – Khamidulla Dec 13 '16 at 2:23
  • 1
    The output you posted before the update shows you have a fully working swap partition of about 3gb, which remained unused at that moment... – dgonzalez Jan 6 '17 at 2:00
1

"Used 0" might be perfectly fine if you have plenty of RAM. In fact I have the same right now but sometimes when I use more memory things get swapped.

|improve this answer|||||
  • Now I use swap file instead of swap partition and it works – danielleontiev Jan 7 '17 at 1:44

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.