Bug 139903 - RHEL4_BETA2 system-config-lvm shows incorrect size values
Summary: RHEL4_BETA2 system-config-lvm shows incorrect size values
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-lvm   
(Show other bugs)
Version: rawhide
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jim Parsons
QA Contact: Jim Parsons
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-18 18:32 UTC by Uwe Beck
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: 0.9.27
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-06 14:55:38 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Uwe Beck 2004-11-18 18:32:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4.3)

Description of problem:
There is only a 9 GB scsi hdd in the system.

# fdisk -l /dev/sda

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

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

- one volumegroup
# vgdisplay
  --- Volume group ---
  VG Name               rootvg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               8,38 GB
  PE Size               32,00 MB
  Total PE              268
  Alloc PE / Size       267 / 8,34 GB
  Free  PE / Size       1 / 32,00 MB
  VG UUID               yzll1S-XxRa-fB15-O5De-txep-Wcnl-JIIrJR

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

system-config-lvm means I have a 38 GB hdd.

One messages from system-config-lvm:
Traceback (most recent call last):
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 292, in
    self.vr.render_single_volume(pv, type)
  File "/usr/share/system-config-lvm/renderer.py", line 376, in
  File "/usr/share/system-config-lvm/renderer.py", line 1219, in
    extent_multiplier = operator.div(float(span), float(total))
ZeroDivisionError: float division

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

How reproducible:

Steps to Reproduce:
1. use system-config-lvm-0.9.3-1.0

Actual Results:  shows the 4 x real sizes for hdd/vg/lv

Expected Results:  show the correct hdd/vg/lv size

Additional info:

At this time it is not possible in bugzilla select the
system-config-lvm component for RHEL4_BETA2.

Comment 1 Stanko Kupcevic 2005-05-16 20:34:27 UTC
Fixed in 0.9.27

Comment 2 David Lawrence 2006-07-18 02:56:53 UTC
QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future.
Moving to ON_QA.

Comment 3 Matthew Miller 2007-04-06 14:55:38 UTC
This bug is filed against "Fedora Test 2". Looks like it was meant to be against
RHEL4 Beta 2.

Given comment #1 and that the current package is way past that version, I'm
going to mark this fixed.

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