Bug 638547
| Summary: | [RFE] Allow clvmd to be restarted when volumes are in use | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | J.H.M. Dassen (Ray) <rdassen> |
| Component: | lvm2-cluster | Assignee: | Milan Broz <mbroz> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.5.z | CC: | agk, bgollahe, ccaulfie, cmarthal, djansa, dwysocha, heinzm, jbrassow, joe.thornber, mbroz, prajnoha, prockai, pvrabec, rbinkhor, rdassen, rmunilla |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-cluster-2.02.88-1.el5 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:02:16 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: | 554476 | ||
|
Description
J.H.M. Dassen (Ray)
2010-09-29 10:10:17 UTC
(In reply to comment #0) > lvm2-cluster-2.02.56-7.el5_5.4 This is RHEL5 package, but you requested fix in RHEL 6.1 - is it what you want? New clvmd has ability to restart without deactivating volumes, I think it is in RHEL6 already. Script just support update from old version which do not understand that restart switch yet. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. For stop command: Probably the best approach here is simple run vgchange command in test mode and if it doesn't fail (no open volumes), repeat with real deactivating volumes. Unfortunately test mode was never implemented properly for cluster locking, so it must be fixed first (see bug 682793). BTW restart without deactivating volumes is already supported using -S switch. (and initscript uses it as well). We need to extend clvmd protocol to support test bit, this is not going to happen in 5.7 time frame so I am postponing this to 5.8. For RHEL5 is seems unrealistic that we can extend cluster locking protocol, so I will try to fix at least part of this: - adding -S flag for restart (so clvmd restart is possible while clustered volumes are active) - try to silent and perpahs workaournd other messages. Once bug 682793 is fixed, we can create better initiscript. RHEL 5.8 will include lvm2 2.02.88. I checked that clvmd -S works for the restart command (thus avoiding messages when it cannot stop active LVs), that's perhaps all we can do in RHEL5 timeframe. I verified that clvmd is now able to restart when there are clustered volumes in use. That said, I'm not sure how that "Improves CLVM init script reporting"? Should this bug be retitled "Allow clvmd to be restarted when volumes are in use"? Fixing title to describe real change in script. Fix verified in the latest rpms. 2.6.18-274.el5 lvm2-2.02.88-4.el5 BUILT: Wed Nov 16 09:40:55 CST 2011 lvm2-cluster-2.02.88-4.el5 BUILT: Wed Nov 16 09:46:51 CST 2011 device-mapper-1.02.67-2.el5 BUILT: Mon Oct 17 08:31:56 CDT 2011 device-mapper-event-1.02.67-2.el5 BUILT: Mon Oct 17 08:31:56 CDT 2011 cmirror-1.1.39-10.el5 BUILT: Wed Sep 8 16:32:05 CDT 2010 kmod-cmirror-0.1.22-3.el5 BUILT: Tue Dec 22 13:39:47 CST 2009 [root@taft-01 ~]# lvs LV Attr LSize Log Copy% syncd_primary_4legs_1 mwi-ao 500.00M syncd_primary_4legs_1_mlog 100.00 syncd_primary_4legs_2 mwi-ao 500.00M syncd_primary_4legs_2_mlog 100.00 syncd_primary_4legs_3 mwi-ao 500.00M syncd_primary_4legs_3_mlog 100.00 [root@taft-01 ~]# mount /dev/mapper/helter_skelter-syncd_primary_4legs_1 on /mnt/syncd_primary_4legs_1 type gfs2 (rw,hostdata=jid=0:id=44892161:first=1) /dev/mapper/helter_skelter-syncd_primary_4legs_2 on /mnt/syncd_primary_4legs_2 type gfs2 (rw,hostdata=jid=0:id=45023233:first=1) /dev/mapper/helter_skelter-syncd_primary_4legs_3 on /mnt/syncd_primary_4legs_3 type gfs2 (rw,hostdata=jid=0:id=45154305:first=1) [root@taft-01 ~]# service clvmd restart Restarting clvmd: [ OK ] 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-0223.html |