LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-16-2002, 05:00 PM   #1
chappy011
LQ Newbie
 
Registered: Mar 2002
Location: Troy, NY
Distribution: Red Hat 7.2
Posts: 9

Rep: Reputation: 0
swap partitions


I have two hard drives in my computer - one is 4 GB, the other is 2 GB. When I installed Red Hat, I had 48 MB of RAM in my computer. Red Hat gave me a swap partition of 180 MB on the 4 GB hard drive.

I added another 128 of RAM yesterday, and have read that i should have swap space of twice the amount of RAM. My 4 GB hard drive has no space left for partitions. But my 2 GB hard drive is almost all free.

So my question is this - should i delete the old swap partition from the 4 GB drive and create one new swap partition on the 2 GB drive that is twice the size of my total amount of RAM? In this case, what do I do with the space left from the old swap partition? Is there an easy way to add it to one of my other partitions, or will it just be wasted?

Or, should I create a separate swap partition on the 2 GB hard drive (and not delete the old swap partition) so that both partitions together add up to twice the size of the RAM?

Is it bad (or impossible) to have swap partitions spread out over two hard drives?

Thanks a bunch.
 
Old 03-16-2002, 05:11 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, your swap is fine as it is, indeed it'll be used less now than before. that stupid rule about being 2xram is just a daft archiac old rule from when you had a remortage your house for a stick of ram. many people still keep blindly reciting it tho. it does have a certain application as far as high end servers go, but gerneally it's irrelevant.
 
Old 03-18-2002, 01:44 PM   #3
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
And, acid_kewpie, I thought I was the only one.

Swap is garbage on a computer with 128MB+ RAM. BTW, swap could slow things down cuz disk is slower than RAM. Remove it from vi /etc/fstab and run lilo.
 
  


Reply



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
2 swap partitions librano Linux - Newbie 6 08-25-2004 01:55 PM
/ and swap partitions (but want more) How to? acummings Slackware 3 07-17-2004 12:33 AM
Swap partitions 2k. Linux - General 7 03-01-2004 05:59 PM
Do I need 2 swap partitions? CloudBuilder Linux - Newbie 2 11-14-2003 03:09 PM
swap partitions rakemup Linux - Software 5 12-10-2001 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 PM.

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
Open Source Consulting | Domain Registration