≡ Menu

Linux Move swap space from one location to another location

Q. How do I move swap space from one location / partition to another location under Fedora Core Linux server?

A. Swap partition or file used by most modern operating systems. This space on a disk in which the system can write portions of memory to. Usually this is a dedicated partition, but it may also be a swapfile.

There is no command or method exists that allows you to move swap space from one location to another. You can turnoff current swap space with swapoff command in the original location.
# swapoff /dev/device

Next create a new swap space with mkswap. Just follow these instructions for adding a swap space.

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 0 comments… add one }

Leave a Comment