<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 9:32 AM, Jason A Ramsey <span dir="ltr"><<a href="mailto:jason@eramsey.org" target="_blank">jason@eramsey.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p class="MsoNormal"><span style="font-size:11.0pt">Failed Actions:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">* gctvanas-lvm_start_0 on node1 'not running' (7): call=42, status=complete, exitreason='LVM: targetfs did not activate correctly',<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> last-rc-change='Fri Aug 26 10:57:22 2016', queued=0ms, exec=577ms<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">* gctvanas-lvm_start_0 on node2 'unknown error' (1): call=34, status=complete, exitreason='Volume group [targetfs] does not exist or contains error! Volume group "targetfs" not found',<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> last-rc-change='Fri Aug 26 10:57:21 2016', queued=0ms, exec=322ms<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> </span></p></blockquote></div><br>I think you need a colocation constraint to prevent it from trying to start the LVM resource on the DRBD secondary node. I used to run LVM-over-DRBD clusters but don't any more (switched to NFS backend storage), so I don't remember the exact syntax, but you certainly don't want the LVM resource to start on node2 at this point because it will certainly fail.</div><div class="gmail_extra"><br></div><div class="gmail_extra">It may not be running on node1 because it failed on node2, so if you can get the proper colocation constraint in place, things may work after you do a resource cleanup. (I stand ready to be corrected by someone more knowledgeable who can spot a configuration problem that I missed).</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you still get failure and the constraint is correct, then I would try running the lvcreate command manually on the DRBD primary node to make sure that works.</div><div class="gmail_extra"><br></div><div class="gmail_extra">--Greg</div><div class="gmail_extra"><br></div></div>