Bug 590017
Summary: | pvscan miscounts total TB | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Pepper <pepper> |
Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
Status: | CLOSED ERRATA | QA Contact: | Corey Marthaler <cmarthal> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.4 | CC: | agk, dwysocha, heinzm, jbrassow, joe.thornber, mbroz, prockai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.73-1.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-13 22:41:37 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
Chris Pepper
2010-05-07 14:24:12 UTC
That component description is from 'lv', the previous component in the list. If you can reproduce the problem with it not refreshing correctly while selecting it from the list, report it as a bug against 'bugzilla' providing details of your browser etc. Thanks for spotting this. When updating the total, the number of sectors in PVs inside VGs was being restricted to a 32-bit number. Fix checked in upstream and will be included in our next releases. QA: This is easy to reproduce without needing lots of storage if you use pvcreate --setphysicalvolumesize to fake a multi-TB PV then put it into a VG and run pvscan. Fix in lvm2-2.02.73-1.el5. Fix verified in latest rpms. [root@taft-01 ~]# pvscan PV /dev/sda2 VG VolGroup00 lvm2 [68.12 GB / 0 free] PV /dev/sdb1 lvm2 [20.00 TB] PV /dev/sdc1 lvm2 [20.00 TB] PV /dev/sdd1 lvm2 [20.00 TB] PV /dev/sde1 lvm2 [20.00 TB] PV /dev/sdf1 lvm2 [20.00 TB] Total: 6 [100.07 TB] / in use: 1 [68.12 GB] / in no VG: 5 [100.00 TB] [root@taft-01 ~]# vgcreate taft /dev/sd[bcdef]1 Volume group "taft" successfully created [root@taft-01 ~]# pvscan PV /dev/sdb1 VG taft lvm2 [20.00 TB / 20.00 TB free] PV /dev/sdc1 VG taft lvm2 [20.00 TB / 20.00 TB free] PV /dev/sdd1 VG taft lvm2 [20.00 TB / 20.00 TB free] PV /dev/sde1 VG taft lvm2 [20.00 TB / 20.00 TB free] PV /dev/sdf1 VG taft lvm2 [20.00 TB / 20.00 TB free] PV /dev/sda2 VG VolGroup00 lvm2 [68.12 GB / 0 free] Total: 6 [100.07 TB] / in use: 6 [100.07 TB] / in no VG: 0 [0 ] [root@taft-01 ~]# pvdisplay /dev/sdb1 --- Physical volume --- PV Name /dev/sdb1 VG Name taft PV Size 20.00 TB / not usable 4.00 MB Allocatable yes PE Size (KByte) 4096 Total PE 5242879 Free PE 5242879 Allocated PE 0 PV UUID 1AkUf8-uG5b-WQhX-g9Jo-cdiz-Ysbz-EvUIyq lvm2-2.02.74-2.el5 BUILT: Tue Nov 9 08:03:06 CST 2010 lvm2-cluster-2.02.74-3.el5 BUILT: Tue Nov 9 08:01:59 CST 2010 device-mapper-1.02.55-2.el5 BUILT: Tue Nov 9 06:41:00 CST 2010 cmirror-1.1.39-10.el5 BUILT: Wed Sep 8 16:32:05 CDT 2010 kmod-cmirror-0.1.22-3.el5 BUILT: Tue Dec 22 13:39:47 CST 2009 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0052.html |