Thanks again, i did the change, i follow this steps : http://www.linuxtopia.org/online_books/centos5/centos5_administration_guide/ centos5_s1-swap-adding.html#s2-swap-creating-file
But I setup bs=1M count=1024 this I learn it from: https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143fc380f84d7ea92 03f16a596d0 I like it more to do it that way.
Later I reboot my PC and run the command free, it seems that now I am using my newly created swap file, what a nice start. My linux experience is starting to like it more, thanks to all for your help, thoughts and time!
George from Uruguay.
-----Mensaje original----- De: centos-bounces@centos.org [mailto:centos-bounces@centos.org] En nombre de Ross S. W. Walker Enviado el: MiƩrcoles, 13 de Febrero de 2008 11:10 p.m. Para: CentOS mailing list Asunto: RE: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?
Masters IT Gmail wrote:
Sorry i miss that link that you give me i am reading now thanks for the tip i am going to try. Thanks for all!
-----Mensaje original----- De: centos-bounces@centos.org [mailto:centos-bounces@centos.org] En nombre de Michael A. Peters Enviado el: MiƩrcoles, 13 de Febrero de 2008 06:07 p.m. Para: CentOS mailing list Asunto: Re: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?
Masters IT Gmail wrote:
Now that I understand that i need more ram after i add this
ram to my
centos, what I need to do in order to increase my swap
partition, thanks in
advance.
How much swap do you currently have? You may not need to increase swap at all.
If you do - I haven't tried this method in CentOS (or any OS) but it should work:
https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143 fc380f84d7ea92 03f16a596d0
It creates a swap file instead of a swap partition. Much easier than finding unpartitioned space ...
Yes and with today's kernels it provides the same level of performance.
# dd if=/dev/zero of=/.swapfile bs=1M count=512
# mkswap /.swapfile
fstab: /.swapfile swap swap defaults 0 0
Or if you use lvm, turn swapoff the lv, lvresize the lv, mkswap the lv again, then swapon the lv and you have a larger swap, but the swapfile will at least be contiguous.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos