Bug 684868

Summary: when changing from local to cluster, volumes can not appear to be deactivated
Product: Red Hat Enterprise Linux 6 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: agk, dwysocha, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 289541 Environment:
Last Closed: 2011-03-14 18:25:19 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: 289541    
Bug Blocks:    

Comment 1 Corey Marthaler 2011-03-14 16:59:09 UTC
This same issue occurs in rhel6.1.

2.6.32-94.el6.x86_64

lvm2-2.02.83-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
lvm2-libs-2.02.83-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
lvm2-cluster-2.02.83-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
udev-147-2.31.el6    BUILT: Wed Jan 26 05:39:15 CST 2011
device-mapper-1.02.62-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
device-mapper-libs-1.02.62-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
device-mapper-event-1.02.62-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
device-mapper-event-libs-1.02.62-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011
cmirror-2.02.83-2.el6    BUILT: Tue Feb  8 10:10:57 CST 2011


[root@taft-04 ~]# pvcreate /dev/sd[bcdefgh]1
  Physical volume "/dev/sdb1" successfully created
  Physical volume "/dev/sdc1" successfully created
  Physical volume "/dev/sdd1" successfully created
  Physical volume "/dev/sde1" successfully created
  Physical volume "/dev/sdf1" successfully created
  Physical volume "/dev/sdg1" successfully created
  Physical volume "/dev/sdh1" successfully created

[root@taft-04 ~]# vgcreate -c n feist /dev/sd[bcdefgh]1
  Non-clustered volume group "feist" successfully created

[root@taft-04 ~]# vgs
  VG        #PV #LV #SN Attr   VSize   VFree
  feist       7   0   0 wz--n- 949.65g 949.65g

[root@taft-04 ~]# lvcreate -n lvol -L 100M feist
  Logical volume "lvol" created

[root@taft-04 ~]# lvs
  LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  lvol    feist     -wi-a- 100.00m

[root@taft-04 ~]# dmsetup ls
feist-lvol      (253, 3)

[root@taft-04 ~]# vgchange -cy feist
  Volume group "feist" successfully changed

[root@taft-04 ~]# vgs
  VG        #PV #LV #SN Attr   VSize   VFree
  feist       7   1   0 wz--nc 949.65g 949.55g

[root@taft-04 ~]# lvs
  LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  lvol    feist     -wi-a- 100.00m

[root@taft-04 ~]# vgchange -an feist feist
  1 logical volume(s) in volume group "feist" now active
[root@taft-04 ~]# vgchange -an feist
  1 logical volume(s) in volume group "feist" now active

Comment 2 Corey Marthaler 2011-03-14 18:25:19 UTC

*** This bug has been marked as a duplicate of bug 672317 ***