LinuxQuestions.org
Help answer threads with 0 replies.
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 10-27-2006, 04:42 AM   #1
rpagnin
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Join two swap partitions


Is it possible? I've a Suse 9.0 with two swap partitions, the second originated from the need to have more swap space, now I've 1Gb but Oracle Forms&Reports wants more.
I've tried to resize the swap partition with GpartEd but it wasn't allowed so I created a new one hoping to join it to the old one.
How can I do ?
Thanks

Rob
 
Old 10-27-2006, 05:02 AM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Are the swap partitions next to each other in the partition table? If they are, delete the two and create a new swap partition taking up the full space.
 
Old 10-27-2006, 05:10 AM   #3
rpagnin
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by J_K9
Are the swap partitions next to each other in the partition table? If they are, delete the two and create a new swap partition taking up the full space.
Thx, but unfortunately they aren't.
Any other advice ?
R.
 
Old 10-27-2006, 07:05 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,391

Rep: Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652
linux can use multiple swap partitions so no need to attempt to resize. Just add another swap entry to your /etc/fstab using the new partition. Be sure to format it first.

mkswap /dev/hdx (Use its real partition ID)

to activate now.
swapon /dev/hdx

The top or free command should show total swap space as the sum of both partitions.
 
  


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
eight swap partitions? linuxtesting2 Linux - General 7 07-20-2004 06:15 AM
/ and swap partitions (but want more) How to? acummings Slackware 3 07-17-2004 12:33 AM
Join Partitions Without losing data aeruzcar Linux - General 0 06-28-2004 11:54 PM
swap partitions chappy011 Linux - Newbie 2 03-18-2002 01:44 PM
swap partitions rakemup Linux - Software 5 12-10-2001 09:24 PM


All times are GMT -5. The time now is 08:32 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