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@xxxxxxxxxx > [mailto:centos-bounces@xxxxxxxxxx] 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: 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@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos