nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

Linux Creating Two Swap HD Partitioning

This is a discussion on Linux Creating Two Swap HD Partitioning within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; hi there... partitioning HD for centos5.2 >> is the maximum primary partition = 4?? >> from some article.. a tip ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 19th November 2009, 05:10 AM
Junior Member
 
Join Date: Nov 2009
OS: CENTOS
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
schizo is on a distinguished road
Default Linux Creating Two Swap HD Partitioning

hi there...
partitioning HD for centos5.2
>> is the maximum primary partition = 4??
>> from some article.. a tip of creating 2 swap is advised..
i have /boot,/var,/root, and a swap.. id like to make 2 swap.. how can i do that in 1HD..
thank you.
Reply With Quote
  #2 (permalink)  
Old 19th November 2009, 06:29 AM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 635
Thanks: 32
Thanked 41 Times in 36 Posts
Rep Power: 8
kumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nicekumarat9pm is just really nice
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default You can create..

You can create two swap partition there is no issue This can be done in two ways.
1)if you have free partitions left
2)if you dont have free partations left..

From your post i understand you dont have free partation left(bcz you created all 4 partations as primary partations)
When you dont have free partations left you can try creating swap using free space available in any of the mention 4 partitions
please follow this link it will show how to create swap file and use it for swap related activity
The Linux Juggernaut: Swap Management - II
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
  #3 (permalink)  
Old 19th November 2009, 10:43 AM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,294
Thanks: 13
Thanked 411 Times in 304 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

If partition is not possible use file:
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
  #4 (permalink)  
Old 19th November 2009, 05:48 PM
Junior Member
 
Join Date: Nov 2009
OS: CENTOS
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
schizo is on a distinguished road
Default

thank you...
Reply With Quote
Reply

Tags
cento swap space, hard disk, linux, partitions, redhat swap space, rhel, swap space, virtual memory


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Wrong partitioning decision or just a pea brain move 77yrold Ubuntu / Debian 4 2nd October 2009 01:11 AM
Linux Creating FTP Implementation / FTP Server in C / C++ binoyxj Coding in General 5 30th January 2009 06:36 AM
creating a group mailing list on linux sunguru The Hangout 1 7th June 2008 02:49 PM
Why Swap=2 x RAM diptanjan Getting started tutorials 5 25th March 2008 01:14 AM
Difference between Linux Swap partition & Swap file hrishikesh Linux software 9 16th March 2007 02:08 AM


All times are GMT +5.5. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40