Bug 652185

Summary: LVM filter regex causes lvm commands to fail
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: lvm2Assignee: Alasdair Kergon <agk>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: urgent    
Version: 6.0CC: abaron, agk, antillon.maurizio, coughlan, cpelland, dwysocha, hateya, heinzm, iheim, jbrassow, joe.thornber, mbroz, mgoldboi, plyons, pm-eus, prajnoha, prockai, smizrahi, ykaul
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.72-8.el6_0.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 07:11:07 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:
Bug Depends On: 642575    
Bug Blocks:    

Description RHEL Program Management 2010-11-11 09:53:40 UTC
This bug has been copied from bug #642575 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 4 Corey Marthaler 2010-12-02 20:28:28 UTC
Fix verified in the latest rpms.

2.6.32-71.el6.x86_64

lvm2-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
lvm2-libs-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
lvm2-cluster-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
udev-147-2.29.el6    BUILT: Tue Aug 31 16:44:10 CDT 2010
device-mapper-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
device-mapper-libs-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
device-mapper-event-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
device-mapper-event-libs-1.02.53-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010
cmirror-2.02.72-8.el6_0.3    BUILT: Fri Nov 12 10:01:34 CST 2010


Scan without a filter:
[root@grant-01 ~]# pvscan
  PV /dev/sdb1   VG VG           lvm2 [68.11 GiB / 68.11 GiB free]
  PV /dev/sdc1   VG VG           lvm2 [90.82 GiB / 90.82 GiB free]

Scan with a regex filter:

    filter = [ "r|hda|hdc|sdc|" ]

[root@grant-01 ~]# pvscan
  Couldn't find device with uuid iEkWKo-6tOI-8Qbg-O3Vo-73rM-SXf1-ZenZwM.
  PV /dev/sdb1        VG VG           lvm2 [68.11 GiB / 68.11 GiB free]
  PV unknown device   VG VG           lvm2 [90.82 GiB / 90.82 GiB free]

Comment 6 errata-xmlrpc 2010-12-08 07:11:07 UTC
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-2010-0951.html