Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Nice bug! If there are no clustered VGs it defaults to empty string and tries everything! (So skip if clustered_vgs is empty. Also fix the typo 'r*e*d' in the message.)
Comment 4Fabio Massimo Di Nitto
2010-05-15 04:25:34 UTC
Created attachment 414208[details]
proposed patch
with this patch applied:
[root@fedora12-node2 scripts]# sh clvmd_init_red_hat start
Starting clvmd: [ OK ]
Activating VG(s): 2 logical volume(s) in volume group "VolGroup" now active
[ OK ]
[root@fedora12-node2 scripts]# sh clvmd_init_red_hat status
clvmd (pid 3083) is running...
Active clustered Volume Groups: (none)
Active clustered Logical Volumes: (none)
[root@fedora12-node2 scripts]# sh clvmd_init_red_hat stop
Signaling clvmd to exit [ OK ]
clvmd terminated [ OK ]
It respects that LVM_VGS has higher priority than clustered_vgs and addresses the 'r*e*d*' typo in the message.
Comment 7Fabio Massimo Di Nitto
2010-05-17 03:19:21 UTC
--- WHATS_NEW 14 May 2010 15:19:42 -0000 1.1559
+++ WHATS_NEW 17 May 2010 03:17:23 -0000
@@ -1,5 +1,6 @@
Version 2.02.65 -
=================================
+ Fix clvmd init script to not deactive non-clustered volume groups.
Checking in WHATS_NEW;
/cvs/lvm2/LVM2/WHATS_NEW,v <-- WHATS_NEW
new revision: 1.1560; previous revision: 1.1559
done
Checking in scripts/clvmd_init_red_hat.in;
/cvs/lvm2/LVM2/scripts/clvmd_init_red_hat.in,v <-- clvmd_init_red_hat.in
new revision: 1.7; previous revision: 1.6
done
Comment 12releng-rhel@redhat.com
2010-11-11 14:51:11 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.
Description of problem: [root@morph-03 init.d]# vgs VG #PV #LV #SN Attr VSize VFree vg_morph03 1 2 0 wz--n- 36.78g 0 [root@morph-03 init.d]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv_root vg_morph03 -wi-ao 32.81g lv_swap vg_morph03 -wi-ao 3.97g [root@morph-03 init.d]# service clvmd status clvmd (pid 1533) is running... Active clustered Volume Groups: (none) Active clustered Logical Volumes: (none) [root@morph-03 init.d]# service clvmd stop Deactivating clusterd VG(s): Can't deactivate volume group "vg_morph03" with 2 open logical volume(s) [FAILED] Version-Release number of selected component (if applicable): lvm2-2.02.64-2.el6.i686 How reproducible: easily Steps to Reproduce: 1. service clvmd start 2. service clvmd stop Actual results: Expected results: Additional info: