Results 1 to 4 of 4
hey could any one tell me what is the max size for a swap partition and how many swap partitions can be created...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-26-2007 #1Just 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
- 12-26-2007 #2I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 12-26-2007 #3Check here for more details.
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.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-26-2007 #4Just Joined!
- Join Date
- Dec 2007
- Posts
- 11
swap partition
thank you for your quick reply


Reply With Quote

