hi shaikh,
        There is a better way of increase the swapspace
than partioning un partioned space ad adding it to
swap.
step 1)
        if U have enough space in the var file system or any
ext2 partition for that matter create a file of the
size of the swap U need. 
for example to create swap file u can just cat
/dev/zero > .swap for a couple of seconds to get a
large file or even cat /dev/hd* > .swap to create the
file whare .swap is the file to be used as swap and
/dev/hd* is UR swap partition.

step 2)
        now we have a large file to be used as swap.
to make this swappable it should not have any holes or

fragments.so we run the command
#mkswap .swap
now the file is ready for swapping

step 3)
 to start swapping on this file run the command
# swapon .swap
now run the command free to check the swap has been
added.
# free

to make this permanent U can add the necessary entry
in
fstab or using fsconf in linuxconf.
in fsconf in linuxconf select configure swap
partitions
and select add in the dialog box add the absolute path

of the swapfile int the partition field.

Done now the is permanent and swapon activates from
the init scripts.
note: make sure the file is hidden by making it a dot
file e.g ".swap". ad readable only by root.

all the best.

regards

sanjeev



__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to