Bug 188573

Summary: "vgdisplay -c" reports PE size 2x what is reported in "vgdisplay"
Product: Red Hat Enterprise Linux 3 Reporter: rob <robo>
Component: lvmAssignee: Dave Wysochanski <dwysocha>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: agk, dwysocha, heinzm, mbroz
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-25 17:41:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description rob 2006-04-11 12:31:18 UTC
Description of problem:
"vgdisplay -c" reports 2x size in field 13 (physical extent size)

Version-Release number of selected component (if applicable):
Base system is RHEL3 Update5 but lvm is updated to current...

[root@sneezy root]# rpm -q lvm
lvm-1.0.8-14

How reproducible:
Every time.

Steps to Reproduce:
1. On a system with LVM enabled, type... 
2. vgdisplay   # To see PE size
3. vgdisplay -c | cut -d: -f13 # to get scriptable version of step 2
  
Actual results:
field 13 is 2x the size of the PE field of `vgdisplay`

Expected results:
field 13 should equal in size the PE field of `vgdisplay`

Additional info:

[root@sneezy root]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
[root@sneezy root]# rpm -q lvm
lvm-1.0.8-14
[root@sneezy root]# vgdisplay
--- Volume group ---
VG Name               Volume00
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                5
Open LV               5
MAX LV Size           255.99 GB
Max PV                256
Cur PV                1
Act PV                1
VG Size               14.21 GB
PE Size               4 MB
Total PE              3637
Alloc PE / Size       2250 / 8.79 GB
Free  PE / Size       1387 / 5.42 GB
VG UUID               jxoR8V-uNTl-Qv2B-X8d9-QISo-oh17-jPIydH


[root@sneezy root]# vgdisplay -c | cut -d: -f13
8192

[root@sneezy root]#

Comment 1 Alasdair Kergon 2006-04-11 13:20:18 UTC
*** Bug 188566 has been marked as a duplicate of this bug. ***

Comment 2 Dave Wysochanski 2007-07-25 17:41:48 UTC
At this point in RHEL3 changing this does not seem worthwhile.