Re: changing swap size

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



On 3/29/07, Stewart Walker <Swalker@xxxxxxxxxxxxxxxxx> wrote:

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


dd if=/dev/null of=/younewswap bs=1024 count=1024000   <-- for 100MB
mkswap /yournewswap
swapon /yournewswap


add an entry to your  /etc/fstab
and youre done .



--
Leonel
_______________________________________________
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