Swap Space
Hello Members,
Just a small question to all my friends. I know how to increase or decrease a swap partition, but i have scenario in my mind, how can I increase a swap partition if i don't have any free space in any of my partition. I am not interested to add any extra disk. Is this scenario is possible? Cheers! |
Yes, you can add a swap file:
http://www.cyberciti.biz/faq/linux-a...ap-file-howto/ ------------------------- Steve Stites |
Quote:
Also, since you've been here for five years now, and have been an administrator for that long, you should know that asking questions requires DETAILS...things like what kind of hardware, version/distro of Linux, what you've done/tried so far, what this server does, and what error(s) you're seeing that would lead you to think performing this action is a good thing. What are you trying to accomplish?? |
Okay, My mistake. It just a question that comes in my mind, I haven't yet faced any such challenges.
It could be any hardware or virtual server. Take distro as RHEL-6 or Centos-6 I just had a swap decrease from ubuntu server, because it wrongly configured while building. Same time i have question what I will do if i face such scenario, where I don't have any space left in partition and can't add any extra disk. That's all |
Quote:
Quote:
|
For the future...
Read up on LVM - you need never have to resize a partition again. |
All times are GMT -5. The time now is 10:03 AM. |