Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 84256 - [lvm] RuntimeError: Checking the size of a partition which hasn't been allocated yet
[lvm] RuntimeError: Checking the size of a partition which hasn't been alloca...
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
Blocks: 79578
  Show dependency treegraph
Reported: 2003-02-13 14:30 EST by Mike McLean
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-04 23:05:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike McLean 2003-02-13 14:30:08 EST
* -re0212
* cd gui install

In disk druid,
(1) clear all partitions
(2) create /boot 
(3) make two raid partitions
(4) make a raid1 device, format as LVM
(5) edit free space and format as LVM

Traceback (most recent call last):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1030, in editCb
    self.editPartitionRequest(request, isNew = 1)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1087, in editPartitionRequest
    if self.refresh():
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1013, in refresh
  File "/usr/lib/anaconda/iw/partition_gui.py", line 788, in populate
    self.tree[iter]['Size (MB)'] = "%g" %
(request.getActualSize(self.partitions, self.diskset),)
  File "/usr/lib/anaconda/partRequests.py", line 604, in getActualSize
    partsize = req.getActualSize(partitions, diskset)
  File "/usr/lib/anaconda/partRequests.py", line 439, in getActualSize
    raise RuntimeError, "Checking the size of a partition which hasn't been
allocated yet"
RuntimeError: Checking the size of a partition which hasn't been allocated yet
Comment 2 Michael Fulbright 2003-02-14 11:13:22 EST
Wasnt there also part of this that required the last partition being created to
fail to be allocated due to the wierd cylinder roundoff error?
Comment 3 Mike McLean 2003-02-14 11:21:51 EST
Probably, but I was getting that error by simply editing free space into a

It was only when I first set up lvm-on-raid and then edited free space into an
LVM partition that I got the traceback to follow the "cylinder boundary" error
Comment 4 Michael Fulbright 2003-05-05 12:13:38 EDT
This is something I cannot reliable reproduce. If you have a particular
machine/hard drive combination that will do this I can take a look.

BTW the LVM and RAID stuff are a red herring as far as I can tell. Its more
related to something in parted that gets confused about partition offsets and
tells us there is a range of cylinders free and yet if you ask for that range it
reports a problem.
Comment 5 Jeremy Katz 2004-10-04 23:05:16 EDT
Closing until we get a reliable reproducer.

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