[CentOS] Adding another swap

Anne Wilson cannewilson at googlemail.com
Wed Nov 5 10:49:33 UTC 2008


On Wednesday 05 November 2008 04:41:31 Indunil Jayasooriya wrote:
> Hi ALL,
>
> 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,

Are you sure you are actually using the current swap?  If you are not short of 
RAM you probably aren't.  See what top says about my laptop:

538136k total,        0k used,

Anne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20081105/a5b0953f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20081105/a5b0953f/attachment.sig>


More information about the CentOS mailing list