RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 825735 - RFE: Provide tui screen to set partition sizes
Summary: RFE: Provide tui screen to set partition sizes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 848649
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-28 10:12 UTC by Guohua Ouyang
Modified: 2018-11-29 19:43 UTC (History)
15 users (show)

Fixed In Version: ovirt-node-2.5.0-6.el6
Doc Type: Enhancement
Doc Text:
There is now a TUI screen to set partition sizes when configuring the hypervisor.
Clone Of:
Environment:
Last Closed: 2013-02-28 16:34:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (51.48 KB, image/png)
2012-05-28 10:12 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0556 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2013-02-28 21:29:06 UTC

Description Guohua Ouyang 2012-05-28 10:12:48 UTC
Created attachment 587201 [details]
screenshot

Description of problem:
on a big memory machine, during install will report "not enough space for installation". It should be the swap_size is too big.

The current method to allocate the swap_size is:
SWAP_SIZE =  int(BASE_SWAP_SIZE) + int(OVERCOMMIT_SWAP_SIZE)
1. BASE_SWAP_SIZE:
if MEM_SIZE_GB < 4:
            BASE_SWAP_SIZE=2048
        elif MEM_SIZE_GB < 16:
            BASE_SWAP_SIZE=4096
        elif MEM_SIZE_GB < 64:
            BASE_SWAP_SIZE=8192
        else:
            BASE_SWAP_SIZE=16384
2. OVERCOMMIT_SWAP_SIZE:
OVERCOMMIT_SWAP_SIZE = int(MEM_SIZE_MB) * self.overcommit * 10 / 10
overcommit=0.5

On a machine with 256 GB mem, the SWAP_SIZE will large than 100GB.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.3-20120523.1.el6

How reproducible:
100%

Steps to Reproduce:
1. tui install rhevh on a big memory machine, such as have 256GB mem.

Actual results:
during install will report "not enough space for installation".

Expected results:
install can continue.

Comment 2 Mike Burns 2012-05-29 12:09:48 UTC
This is really NOTABUG, but I'll defer it to 6.4 as an RFE to add a partition size configuration screen.  

In the above case, if you provide a disk large enough, the installation will be successful.  If you want to customize the swap size, you can specify it in the storage_vol kernel command line parameter.

Comment 3 Mike Burns 2012-06-12 17:44:01 UTC
another option is to allow the user to set the overcommit value (which defaults to 0.5).

Comment 5 RHEL Program Management 2012-07-10 06:33:41 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 6 RHEL Program Management 2012-07-11 01:49:58 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 7 Mike Burns 2012-10-12 20:48:25 UTC
upstream patch:  http://gerrit.ovirt.org/#/c/8520/



                                                                                
    oVirt Node Hypervisor 2.5.999-999.201210101948.fc17                         
                                                                                
┌─────────────────────────────┤  ├─────────────────────────────┐                
│                                                              │                
│                                                              │                
│ Please enter the sizes for the following partitions in MB    │                
│                                                              │                
│ UEFI/Bios:         256_______                                │                
│ Root & RootBackup: 256_______  (2 partitions at 256MB each)  │                
│ Swap:              39________                                │                
│ Config:            500_______                                │                
│ Logging:           2048______                                │                
│ Data:              100_______                                │                
│                                                              │                
│                                                              │                
│                                                              │                
│                                                              │                
│                                                              │                
│                                                              │                
│                                                              │                
│                                                              │                
│                                                              │                
│   <Quit>   <Back>   <Continue>                               │

Comment 11 errata-xmlrpc 2013-02-28 16:34:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0556.html


Note You need to log in before you can comment on or make changes to this bug.