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 624656 - GeometryException: must specify PedGeometry or (device, start, length) or (device, start, end) or (device, start, length, end)
Summary: GeometryException: must specify PedGeometry or (device, start, length) or (de...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: David Lehman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-17 11:58 UTC by Jan Stodola
Modified: 2010-11-19 20:52 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-19 20:52:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Stodola 2010-08-17 11:58:34 UTC
Description of problem:

anaconda 13.21.74 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/geometry.py", line 61, in __init__
    raise parted.GeometryException, "must specify PedGeometry or (device, start, length) or (device, start, end) or (device, start, length, end)"
  File "/usr/lib64/python2.6/site-packages/parted/decorators.py", line 31, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in __init__
  File "/usr/lib/anaconda/storage/partitioning.py", line 1579, in growPartitions
    end=end)
  File "/usr/lib/anaconda/storage/partitioning.py", line 869, in doPartitioning
    growPartitions(disks, partitions, free)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1584, in refresh
    doPartitioning(self.storage)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1683, in editPartition
    if self.refresh(justRedraw=not actions):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1558, in createCB
    self.editPartition(device, isNew = True)
GeometryException: must specify PedGeometry or (device, start, length) or (device, start, end) or (device, start, length, end)

Version-Release number of selected component (if applicable):
RHEL6.0-20100811.2
anaconda-13.21.74-1.el6

How reproducible:
always

Steps to Reproduce:
1. prepare a sparse file, size about 5TB:
dd if=/dev/zero of=images/5T bs=1M count=1 seek=5000000
2. run RHEL6 installation in KVM use the sparse file as a disk
3. Use custom partitioning and create:
 *  /     ext4  "Fill to maximum allowable size"
 *  /usr  ext4  "Fixed size": 2097151 MB
  
Actual results:
Anaconda creates 2097151 MB partition for /
Traceback when attempting to create second partition for /usr with fixed size.

Expected results:
no traceback after adding second partition

Additional info:

Comment 2 David Lehman 2010-11-19 20:52:10 UTC
This is happening because you are installing on a BIOS system, therefore anaconda creates an msdos partition table. If you want to be able to use the whole disk, create a gpt disklabel on it before you start anaconda.


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