Bug 188573 - "vgdisplay -c" reports PE size 2x what is reported in "vgdisplay"
Summary: "vgdisplay -c" reports PE size 2x what is reported in "vgdisplay"
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: lvm
Version: 3.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Wysochanski
QA Contact: Brian Brock
URL:
Whiteboard:
: 188566 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-11 12:31 UTC by rob
Modified: 2007-11-30 22:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-25 17:41:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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