How do I increase swap space in Linux?

How do I increase swap space in Linux?
Answer
Adding more swap space to a non-LVM disk environment
  1. Turn off the existing swap space.
  2. Create a new swap partition of the desired size.
  3. Reread the partition table.
  4. Configure the partition as swap space.
  5. Add the new partition/etc/fstab.
  6. Turn on swap.
 

Tìm kiếm

Back
Top