Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-13-2005, 08:15 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 14

Rep: Reputation: 0
Upgrade Memory RAM

Let say I upgrade my server memory RAM from 1gig to 2gig, How am I going to change the swap size?
Old 12-13-2005, 08:31 PM   #2
Registered: Sep 2005
Distribution: Slackware 13.37
Posts: 112

Rep: Reputation: 15
You would need some spare space on a Hard Drive; or some partition you can get rid of.

then you remove the Swap partition with cfdisk or fdisk, then define a new one with the new size.

You make it type Linux Swap, and save the changes.

One you have done this you simply run mkswap /dev/(your new swap partition).
And update your fstab in case the partition name changed.
Old 12-13-2005, 08:39 PM   #3
LQ Newbie
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you pddm.
Since I am a newbie, I will try to find some articles or tutorials.
Old 12-13-2005, 08:57 PM   #4
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
Why do you want to change your swap? Having some extra will not hurt you. There is no need to decrease your swap size.
Old 12-13-2005, 09:12 PM   #5
Registered: Aug 2002
Posts: 17,092

Rep: Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182
How much swap space do you have and how much is being used now?
Do you anticipate using more?
What types of applications do you run?
What do you use the server for and how much traffic does it see?

The answers to these questions my show that you do not need additional swap space. Futhermore, you can have multiple swap partitions so there is no need to delete your existing partition.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAM memory issue rrr-jr Linux - Software 5 01-06-2007 11:46 PM
Memory / Ram issues...please help.. elstupidos Slackware 2 01-16-2005 11:21 PM
RAM Memory Installation kermit Linux - Newbie 1 12-07-2004 08:57 AM
memory (ram) query bigjohn Linux - Newbie 4 02-21-2003 02:36 AM
RAM Memory use dtsfanatic Linux - General 1 01-11-2002 09:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration