Bug 746792
Summary: | RFE: disable the --mirrrorlog mirrored option when clvmd is running | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Jonathan Earl Brassow <jbrassow> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | agk, dwysocha, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, zkabelac |
Target Milestone: | rc | Keywords: | FutureFeature, Regression |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.95-1.el6 | Doc Type: | Enhancement |
Doc Text: |
LVM mirroring can has a variety of options for the bitmap intent log: 'core', 'disk', 'mirrored'. The 'mirrored' option is not available in the cluster context.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 15:00:15 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: | |||
Bug Blocks: | 756082 |
Description
Corey Marthaler
2011-10-17 19:31:17 UTC
Oct 17 14:01:32 grant-01 lvm[2579]: SPLIT-2log_mlog is now in-sync. Oct 17 14:01:35 grant-01 lvm[2579]: No longer monitoring mirror device SPLIT-2log_mlog for events. Oct 17 14:01:36 grant-01 cmirrord[1883]: Log entry already exists: LVM-RnGe8aOLnodSwMZrqTMKSkZ6eZoox0WFHT8uLuqHPeZsMCyKdeBnZ8Xm9mkn4t Oct 17 14:01:36 grant-01 cmirrord[1883]: clog_resume: Failed to create cluster CPG Oct 17 14:01:36 grant-01 lvm[2579]: Monitoring mirror device SPLIT-2log_mlog for events. Oct 17 14:01:36 grant-01 lvm[2579]: Monitoring mirror device SPLIT-2log for events. Looks like this is a regression of the fix in comment #15 of bug 612221. [root@hayes-02 ~]# lvcreate -m 1 --mirrorlog mirrored -L 100M -n mirror centipede Log type, "mirrored", is unavailable to cluster mirrors Git commit ID 0864378250956c310cb81608978d091fcdcc97d8 was meant to disallow 'mirrored' logs for cluster mirrors. However, when add_mirror_log is used to create the log (as is now the case when using 'lvcreate' or converting only the log) the check is bypassed. Results after patch: [root@bp-01 ~]# lvcreate -m1 --mirrorlog mirrored -L 50M -n lv vg Rounding up size to full physical extent 52.00 MiB Log type, "mirrored", is unavailable to cluster mirrors [root@bp-01 ~]# dmsetup ls; lvs -a vg_bp01-lv_home (253, 2) vg_bp01-lv_swap (253, 1) vg_bp01-lv_root (253, 0) LV VG Attr LSize Pool Origin Snap% Move Log Copy% Convert lv_home vg_bp01 -wi-ao-- 88.64g lv_root vg_bp01 -wi-ao-- 50.00g lv_swap vg_bp01 -wi-ao-- 9.88g Fix is checked in upstream in version 2.02.89. Git commit ID: 0fd3c2aa2b8add8babc3c90578bb0773d3a988e3 Fix verified in the latest rpms. 2.6.32-220.4.2.el6.x86_64 lvm2-2.02.95-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 lvm2-libs-2.02.95-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 lvm2-cluster-2.02.95-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 udev-147-2.40.el6 BUILT: Fri Sep 23 07:51:13 CDT 2011 device-mapper-1.02.74-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 device-mapper-libs-1.02.74-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 device-mapper-event-1.02.74-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 device-mapper-event-libs-1.02.74-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 cmirror-2.02.95-1.el6 BUILT: Tue Mar 6 10:00:33 CST 2012 [root@hayes-01 ~]# vgs VG #PV #LV #SN Attr VSize VFree mirror_sanity 10 0 0 wz--nc 8.87t 8.87t [root@hayes-01 ~]# lvcreate -m 1 -n mirrored_log --mirrorlog mirrored -L 300M mirror_sanity Log type, "mirrored", is unavailable to cluster mirrors Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: LVM mirroring can has a variety of options for the bitmap intent log: 'core', 'disk', 'mirrored'. The 'mirrored' option is not available in the cluster context. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0962.html |