Hi, i want to increase my swap space in my Debian 5.0 server. And, after
googling i found that, there is something called "creating swap *file"* to
increase swap space. So, i followed that in my test machine to increase 512
Megabyte with 2 Giga swap space. So, what i did:

commands:
*
dd if=/dev/zero of=/swap bs=512k count=1024
mkswap /swap
chmod 0600 /swap
swapon /swap
*
Also included this line in /etc/fstab:
*
/swap swap swap defaults 0 0*

And, at last :  *free -m

*After everything swapon -s gave me the result:

Filename                                Type            Size    Used
Priority
/dev/sda6                               partition       1967920 0       -1
/swap                                       file                524280
0       -2

*Now, my question is: does it actually increased my swap space?*

-- 
Best,
Zico
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to