<html><head></head><body><div class="ydp554b94e5yahoo-style-wrap" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><div></div>
<div dir="ltr" data-setdir="false">I was always told that when we clusterize a VG (no matter HA-LVM or clvmd) , we should disable lvmetad.</div><div dir="ltr" data-setdir="false">Actually ,it shouldn't be of such a problem even if we disable the lvmetad on a standalone system.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Are you using Clustered or HA-LVM ?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">best Regards,</div><div dir="ltr" data-setdir="false">Strahil Nikolov<br></div><div><br></div>
</div><div id="ydpfdd2631fyahoo_quoted_2959055015" class="ydpfdd2631fyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
В вторник, 29 октомври 2019 г., 6:18:41 ч. Гринуич-4, Roger Zhou <zzhou@suse.com> написа:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr"><br clear="none">On 10/29/19 12:30 PM, Andrei Borzenkov wrote:<br clear="none">>> Oct 28 14:42:56 node2 LVM(p_lvm_vg0)[8775]: INFO: Activating volume group vg0<br clear="none">>> Oct 28 14:42:56 node2 LVM(p_lvm_vg0)[8775]: INFO: Reading all physical volumes. This may take a while... Found volume group "vmspace" using metadata type lvm2 Found volume group "freespace" using metadata type<br clear="none">>> lvm2 Found volume group "vg0" using metadata type lvm2<br clear="none">>> Oct 28 14:42:56 node2 LVM(p_lvm_vg0)[8775]: INFO: 0 logical volume(s) in volume group "vg0" now active<br clear="none">> Resource agent really does just "vgchange vg0". Does it work when you<br clear="none">> run it manually?<br clear="none">> <br clear="none"><br clear="none">Agree with Andrei.<br clear="none"><br clear="none">> <br clear="none">>> Oct 28 14:42:56 node2 LVM(p_lvm_vg0)[8775]: ERROR: LVM Volume vg0 is not available (stopped)<br clear="none">>> Oct 28 14:42:56 node2 LVM(p_lvm_vg0)[8775]: ERROR: LVM: vg0 did not activate correctly<br clear="none">>> Oct 28 14:42:56 node2 pacemaker-execd[27054]: notice: p_lvm_vg0_start_0:8775:stderr [ Configuration node global/use_lvmetad not found ]<br clear="none"><br clear="none">This error indicates the root cause is related to lvmetad. Please check <br clear="none">lvmetad, eg.<br clear="none"><br clear="none">systemctl status lvm2-lvmetad<br clear="none">grep use_lvmetad /etc/lvm/lvm.conf<br clear="none"><br clear="none">Check your lvm2 version and google its workaround/fix accordingly.<br clear="none"><br clear="none">Cheers,<br clear="none">Roger<div class="ydpfdd2631fyqt9771358159" id="ydpfdd2631fyqtfd79611"><br clear="none"><br clear="none">>> Oct 28 14:42:56 node2 pacemaker-execd[27054]: notice: p_lvm_vg0_start_0:8775:stderr [ ocf-exit-reason:LVM: vg0 did not activate correctly ]<br clear="none">>> Oct 28 14:42:56 node2 pacemaker-controld[27057]: notice: Result of start operation for p_lvm_vg0 on node2: 7 (not running)<br clear="none">>> Oct 28 14:42:56 node2 pacemaker-controld[27057]: notice: node2-p_lvm_vg0_start_0:77 [ Configuration node global/use_lvmetad not found\nocf-exit-reason:LVM: vg0 did not activate correctly\n ]<br clear="none">>> Oct 28 14:42:56 node2 pacemaker-controld[27057]: warning: Action 42 (p_lvm_vg0_start_0) on node2 failed (target: 0 vs. rc: 7): Error<br clear="none">>> Oct 28 14:42:56 node2 pacemaker-controld[27057]: notice: Transition 602 aborted by operation p_lvm_vg0_start_0 'modify' on node2: Event failed<br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">Manage your subscription:<br clear="none"><a shape="rect" href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br clear="none"><br clear="none">ClusterLabs home: <a shape="rect" href="https://www.clusterlabs.org/" rel="nofollow" target="_blank">https://www.clusterlabs.org/</a><br clear="none"></div></div></div>
</div>
</div></body></html>