Bug 339001
Summary: | incorrect swap size on >2G systems | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Chad Harvey <chad> |
Component: | anaconda | Assignee: | Martin Sivák <msivak> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 4.5 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2008-0653 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-07-24 19:05:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chad Harvey
2007-10-19 00:29:17 UTC
Observations from latest 4.7 tree available: environment: Xen/PV guest, i386, start up memory = maximum memory mem: 8GB, install: manual, choose auto partition (e.g. lvm) - 10GB (as expected) mem: 8GB, install: ks.cfg w/ swap --recommended - 8GB swap partition is created mem: 5GB, install: manual, choose auto partition (e.g. lvm) - 7GB (as expected) mem: 5GB, install: ks.cfg w/ swap --recommended - 7GB (as expected) Only for the 8GB case the --recommended is not creating partition with the expected size. Still investigating this with Martin to figure out what is wrong. after more investigation I will move this to VERIFIED. The swap calculation is fixed but there is a limit of 8GB hard coded in anaconda hence the results in comment #4. This limit is not documented and bug #437089 is used to track that. wrt to comment #6: the limit mentioned is the value of self.maxSizeMB in class swapFileSystem in fsset.py which is actually 8TB not GB. Anyway something is preventing the creation of swap partition larger than 8GB when using '--recommended'. Using bug #437089 to document that. The problem reported with this bug was fixed (i.e. the formula calculating the swap size was fixed to calculate the correct size). An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0653.html |