Bug 465168 - Another spot where mirror subdevices are counted as logical volumes
Summary: Another spot where mirror subdevices are counted as logical volumes
Status: CLOSED DUPLICATE of bug 431760
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: Cluster QE
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-01 21:34 UTC by Corey Marthaler
Modified: 2010-01-12 03:55 UTC (History)
8 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2008-12-04 09:17:43 UTC


Attachments (Terms of Use)

Description Corey Marthaler 2008-10-01 21:34:52 UTC
Description of problem:
There are only 2 LVs (both mirrors) in this volume group, yet lvm warns of eight.

[root@taft-02 ~]# lvs
  LV                         VG             Attr   LSize   Origin Snap%  Move Log                             Copy%  Convert
  LogVol00                   VolGroup00     -wi-ao  66.19G                                                                  
  LogVol01                   VolGroup00     -wi-ao   1.94G                                                                  
  nonsyncd_secondary_2legs_1 helter_skelter mwi--- 600.00M                    nonsyncd_secondary_2legs_1_mlog               
  nonsyncd_secondary_2legs_2 helter_skelter mwi--- 600.00M                    nonsyncd_secondary_2legs_2_mlog               


[root@taft-02 ~]# lvs -a -o +devices
  LV                                    VG             Attr   LSize   Origin Snap%  Move Log                             Copy%  Convert Devices                                                                      
  LogVol00                              VolGroup00     -wi-ao  66.19G                                                                   /dev/sda2(0)                                                                 
  LogVol01                              VolGroup00     -wi-ao   1.94G                                                                   /dev/sda2(2118)                                                              
  nonsyncd_secondary_2legs_1            helter_skelter mwi--- 600.00M                    nonsyncd_secondary_2legs_1_mlog                nonsyncd_secondary_2legs_1_mimage_0(0),nonsyncd_secondary_2legs_1_mimage_1(0)
  [nonsyncd_secondary_2legs_1_mimage_0] helter_skelter Iwi--- 600.00M                                                                   /dev/sdg1(0)                                                                 
  [nonsyncd_secondary_2legs_1_mimage_1] helter_skelter Iwi--- 600.00M                                                                   /dev/sde1(0)                                                                 
  [nonsyncd_secondary_2legs_1_mlog]     helter_skelter lwi---   4.00M                                                                   /dev/sdf1(0)                                                                 
  nonsyncd_secondary_2legs_2            helter_skelter mwi--- 600.00M                    nonsyncd_secondary_2legs_2_mlog                nonsyncd_secondary_2legs_2_mimage_0(0),nonsyncd_secondary_2legs_2_mimage_1(0)
  [nonsyncd_secondary_2legs_2_mimage_0] helter_skelter Iwi--- 600.00M                                                                   /dev/sdg1(150)                                                               
  [nonsyncd_secondary_2legs_2_mimage_1] helter_skelter Iwi--- 600.00M                                                                   /dev/sde1(150)                                                               
  [nonsyncd_secondary_2legs_2_mlog]     helter_skelter lwi---   4.00M                                                                   /dev/sdf1(1)  


[root@taft-02 ~]# vgremove helter_skelter
Do you really want to remove volume group "helter_skelter" containing 8 logical volumes? [y/n]:

Version-Release number of selected component (if applicable):
2.6.18-116.el5

lvm2-2.02.40-3.el5    BUILT: Thu Sep 25 14:59:07 CDT 2008
lvm2-cluster-2.02.40-3.el5    BUILT: Thu Sep 25 15:00:54 CDT 2008
device-mapper-1.02.28-2.el5    BUILT: Fri Sep 19 02:50:32 CDT 2008
cmirror-1.1.28-1.el5    BUILT: Tue Sep 30 15:48:54 CDT 2008
kmod-cmirror-0.1.18-1.el5    BUILT: Mon Sep 29 16:20:21 CDT 2008

Comment 1 Peter Rajnoha 2008-12-04 09:17:43 UTC

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


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