Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux On Laptops
Reload this Page Swap Partition In linux
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux On Laptops Linux on laptop machines, a great place to discuss linux/laptop specific issues.

Reply
 
Thread Tools Display Modes
Old 12-26-2007   #1 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 11
Swap Partition In linux

hey could any one tell me what is the max size for a swap partition and how many swap partitions can be created
manoj1989 is offline   Reply With Quote
Old 12-26-2007   #2 (permalink)
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,288
Quote:
Originally Posted by manoj1989 View Post
hey could any one tell me what is the max size for a swap partition and how many swap partitions can be created
As far as I know, you can make them as big as you like and you can create as many as you like.
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline   Reply With Quote
Old 12-26-2007   #3 (permalink)
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,112
Quote:

Until Red Hat Enterprise Linux 2.1 there was a limitation on the partition size of 2GB for each swap space. This was due to the mkswap command not supporting creation of a swap partition larger than 2GB. If the system requires more than 2GB of swap space, work around this limitation by creating multiple swap partitions.

In Red Hat Enterprise Linux 3 and above, the mkswap command allows the creation of a swap partition of a larger size than 2GB.

To summarize:

Red Hat Enterprise Linux 2.1 supports upto 32 swap partitions, each can be a maximum size of 2GB. Maximum total swap size is 64GB.

Red Hat Enterprise Linux 3 and higher supports larger swap partitions, each can be of maximum size set by the file size limit and the block device limit for swap partitions on that platform. Red Hat Enterprise Linux 3 has a 1TB limitation as maximum size of block devices, so it's 1TB.

While larger swap partitions are permitted, one large swap partition could affect system performance. For better performance it is recommended to split swap space to multiple discs. Separating swap partitions to different disk could reduce the load on a single disk.
Check here for more details.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 12-26-2007   #4 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 11
swap partition

thank you for your quick reply
manoj1989 is offline   Reply With Quote
Reply


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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing Windows Vs. Linux - Which One & Why & What Lies Ahead ! cyneuron The Coffee Lounge 5 08-17-2007 02:39 PM
Fedora (FC4) corrupts partition table – is this a known bug? vjones777 Redhat / Fedora Linux Help 6 04-20-2006 10:58 PM
Multi-Booting Linux & Windows with partition hiding Phantom Installation 2 06-18-2005 11:15 PM
Seagate USB drive on Suse Eric Runquist Peripherals / Hardware 1 10-18-2004 08:34 PM
Solaris 9/Linux lordnothing Installation 5 01-31-2004 02:19 AM




All times are GMT. The time now is 09:59 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0