Bug 787237

Summary: [ia64-pv] swap does't take all remaining space if told to
Product: Red Hat Enterprise Linux 5 Reporter: Alexander Todorov <atodorov>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 15:32:26 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:
Bug Depends On:    
Bug Blocks: 787232    

Description Alexander Todorov 2012-02-03 16:16:21 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Create Xen PV guest on ia64.
2. Delete all previous partitions
3. Create /boot/efi - 100 MB
4. Create swap partition and make it use all remaining free space
  
Actual results:
swap is 2047MB and I have 17 GB of free space left on the disk. 

Expected results:
Swap will take all the rest free space. NB: I was planning for / to be on separate iscsi disk. 

Additional info:

Comment 1 Chris Lumens 2012-02-07 15:32:26 UTC
This is on purpose - we clamp the swap space to the maximum given by the swap suggestion to prevent swap from growing to consume all space.  This has been the behavior since early 2003, so it's really too late to chance it now.