LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-13-2005, 09:15 PM   #1
kwtan
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, 09:31 PM   #2
pddm
Member
 
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, 09:39 PM   #3
kwtan
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, 09:57 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
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, 10:12 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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.
 
  


Reply


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-07-2007 12:46 AM
Memory / Ram issues...please help.. elstupidos Slackware 2 01-17-2005 12:21 AM
RAM Memory Installation kermit Linux - Newbie 1 12-07-2004 09:57 AM
memory (ram) query bigjohn Linux - Newbie 4 02-21-2003 03:36 AM
RAM Memory use dtsfanatic Linux - General 1 01-11-2002 10:30 AM


All times are GMT -5. The time now is 06:38 AM.

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