RE: changing swap size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Depends on what you mean by changing the swap size. You can increase
swap size by adding a swap file, which is a regular file on a "regular"
filesystem. This can be done in a matter of minutes with only a few
commands. I haven't done it in a couple years, so I can't give you the
details off the top of my head. 

If you want to increase the size of a swap partition, or create another
swap parition, there's more work involved. Depending on how your disk(s)
are partitioned, it's possible to do it w/o rebuilding the entire
system. If you have to destroy a partition to give up some of it's space
to a new swap partition, you can tar the contents of that partition up,
repartition the disk, and then untar the files on to the new partition.
You shouldn't need to re-install the entire system. 


-- 
Prentice 

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Stewart Walker
Sent: Wednesday, March 28, 2007 5:30 PM
To: centos@xxxxxxxxxx
Subject:  changing swap size


Is it possible to change the swap size with out re-installing the
system?

Looking at the dd command but don't really know what to expect.

Many thanks for your help




--
This message has been scanned for viruses and dangerous content by
MailScanner at caspercollege.edu and is believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




The contents of this communication, including any attachments, may be confidential, privileged or otherwise protected from disclosure.  They are intended solely for the use of the individual or entity to whom they are addressed.  If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication.  Please notify the sender immediately and delete the communication in its entirety.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux