[CentOS] Adding another swap

Indunil Jayasooriya indunil75 at gmail.com
Wed Nov 5 04:41:31 UTC 2008


I have a harddisk with 3 primary partitions and one extended
partitions. Under extented partions , there are 15 partions.

Whole hard disk has been partitioned in a standard way, (i.e NOT LVM)

It has 2GB ram. swap is also 2GB.

Now I want to extend this swap to 4 GB.

If I use dd coomand and create a file with 2GB, Will I be able to
extend the swap witn swapon commnad?

How can I achive this?

Hope to hear form you,

Thank you
Indunil Jayasooriya

More information about the CentOS mailing list