Bug 157743 - (IT_72829) Traceback, system-config-lvm shows incorrect size values
Traceback, system-config-lvm shows incorrect size values
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: system-config-lvm (Show other bugs)
4.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jim Parsons
:
: 157740 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-14 08:21 EDT by Uwe Beck
Modified: 2009-04-16 19:11 EDT (History)
3 users (show)

See Also:
Fixed In Version: 1.0.16-1.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-18 21:32:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
system-config-lvm.png from bug 157740 (49.85 KB, image/png)
2005-05-16 10:42 EDT, Suzanne Hillman
no flags Details

  None (edit)
Description Uwe Beck 2005-05-14 08:21:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050422 Red Hat/1.7.7-1.4.2

Description of problem:
# fdisk -l /dev/sda

Platte /dev/sda: 9100 MByte, 9100369920 Byte
255 K�pfe, 63 Sektoren/Spuren, 1106 Zylinder
Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes

    Ger�t Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          10       80293+  83  Linux
/dev/sda2              11        1106     8803620   8e  Linux LVM

# lvscan
  ACTIVE            '/dev/rootvg/rootlv' [7,34 GB] inherit
  ACTIVE            '/dev/rootvg/swaplv' [1,00 GB] inherit

system-config-lvm means "Available Space: 38 GB"

Traceback is the result only from list operations in system-config-lvm.

Traceback (most recent call last):
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 303, in on_tree_selection_changed
    self.vr.render(pv_list, 0)
  File "/usr/share/system-config-lvm/renderer.py", line 150, in render
    self.divide_volume(self.viewable_vols)
  File "/usr/share/system-config-lvm/renderer.py", line 1202, in divide_volume
    extent_multiplier = operator.div(span, total)
ZeroDivisionError: float division

Version-Release number of selected component (if applicable):
system-config-lvm-0.9.18-1.0

How reproducible:
Always

Steps to Reproduce:
1. start system-config-lvm
2. list your VGs anl LVs
3. see the difference between real phyical hdd size (fdisk) and output from system-config-lvm
  

Actual Results:  Available Space: incorrect size value

Expected Results:  Available Space: correct size value

Additional info:

known since Bugzilla #139903 (choise of system-config-lvm was not available on 2004-11-18)
Comment 1 Suzanne Hillman 2005-05-16 10:42:05 EDT
Created attachment 114424 [details]
system-config-lvm.png from bug 157740
Comment 2 Suzanne Hillman 2005-05-16 10:42:37 EDT
*** Bug 157740 has been marked as a duplicate of this bug. ***
Comment 3 Stanko Kupcevic 2005-05-16 16:32:33 EDT
Fixed in 0.9.27
Comment 7 David Lawrence 2006-07-17 22:51:31 EDT
QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future.
Moving to ON_QA.

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