Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1488592 - [RFE] implement an option to 'lvcreate --type mirror' to specify LV should use cmirrord when running w/ lvmlockd
Summary: [RFE] implement an option to 'lvcreate --type mirror' to specify LV should us...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Heinz Mauelshagen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-05 19:14 UTC by Corey Marthaler
Modified: 2020-04-17 15:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-17 15:59:00 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Corey Marthaler 2017-09-05 19:14:23 UTC
Description of problem:
Currently there doesn't appear to be a way to interface with cmirrord for use w/ a shared activated cmirror and lvmlockd instead of clvmd.


[root@host-115 ~]# lvs -a -o +devices shared/cmirror
  LV      VG     Attr       LSize   Pool Origin Data%  Meta%  Move Log            Cpy%Sync Convert Devices                                
  cmirror shared mwi-a-m--- 100.00m                                [cmirror_mlog] 100.00           cmirror_mimage_0(0),cmirror_mimage_1(0)




Version-Release number of selected component (if applicable):
3.10.0-693.1.1.el7.x86_64

lvm2-2.02.171-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
lvm2-libs-2.02.171-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
lvm2-cluster-2.02.171-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
device-mapper-1.02.140-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
device-mapper-libs-1.02.140-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
device-mapper-event-1.02.140-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
device-mapper-event-libs-1.02.140-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
device-mapper-persistent-data-0.7.0-0.1.rc6.el7    BUILT: Mon Mar 27 10:15:46 CDT 2017
cmirror-2.02.171-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017
sanlock-3.5.0-1.el7    BUILT: Wed Apr 26 09:37:30 CDT 2017
sanlock-lib-3.5.0-1.el7    BUILT: Wed Apr 26 09:37:30 CDT 2017
lvm2-lockd-2.02.171-8.el7    BUILT: Wed Jun 28 13:28:58 CDT 2017

Comment 3 David Teigland 2017-09-05 19:19:08 UTC
In a clustered VG, lvcreate always creates a clustered mirror using cmirrord.  In a shared VG, and we need a way to tell lvcreate to create a clustered/cmirror LV.

The difference between mirror and cmirror seems to be the mirror log, so the most obvious way to indicate a cmirror LV seems to be 'lvcreate --mirrorlog cmirror'.

Comment 4 Heinz Mauelshagen 2020-04-17 15:59:00 UTC
As we are aiming to discontinue 'mirror', I close this.
Please reopen and adjust priority/severity together with providing rational if still needed.


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