Linux Move swap space from one location to another location

by on February 27, 2007 · 0 comments· LAST UPDATED February 27, 2007

in , ,

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.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: