How do I turn swap off?

Lâm Phung

New member
How do I turn swap off?
Answer
  1. run swapoff -a : this will immediately disable swap.
  2. remove any swap entry from /etc/fstab.
  3. reboot the system. If the swap is gone, good. If, for some reason, it is still here, you had to remove the swap partition. Repeat steps 1 and 2 and, after that, use fdisk or parted to remove the (now unused) swap partition. …
  4. reboot.
22 апр. 2015 г.
 

Tìm kiếm

Back
Top