[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Increasing SWAP from 127 MB to 128 MB

On Wed, Oct 11, 2000 at 09:13:08AM +0530, Sanjay Gupta wrote:
> He y Guys !
> Any Idea how to increase swap space in the RHL 6.2.

Yes there is a way to make swap file intead of swap partition
the procedure given below should be make your system going but using file is
not recommended as it is slower

dd if=/dev/zero of=/swap/file bs=512 count=XXX 
mksawp /swap/file
make changes in fstab
device/file      mountpoint      Partition type   options       dump pass
/swap/file       /new/swap       swap             sw               0 0

> I have SWAP Partition of 127 MB. But now I want to increase it to 128.
> except reloading Linux, is there any way that I can reserv some space
> from my existing partition say root partion for swap. My root partition
> has ample space to accomaodate it.
> Sanjay Gupta
> sanjay@xxxxxxxxxxxxx
> ------------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/linux-delhi

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com