<p>Cant you just do a "vgchange -aey" to put the vg into exclusive mode? Thats what used to be the way to do it. Its been a while though.</p>
<div class="gmail_quote">On Dec 12, 2012 8:30 PM, "Yu" <<a href="mailto:songyu555@gmail.com">songyu555@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alternatively, you might try to import vg with lickproto=lock_nolock, then do pvmove.<br>
<br>
Yu<br>
<br>
On 13/12/2012, at 13:46, Nicolas Ross <<a href="mailto:rossnick-lists@cybercat.ca">rossnick-lists@cybercat.ca</a>> wrote:<br>
<br>
> Hugo Lombard a écrit :<br>
>> On Wed, Dec 12, 2012 at 02:30:57PM -0500, Nicolas Ross wrote:<br>
>>>> AFAICR on CentOS 5 I had to install cmirror and the applicable<br>
>>>> kmod-cmirror, make sure the cmirror service was started, and then pvmove<br>
>>>> did it's thing.<br>
>>> Do I need to start it on all nodes ? For now, it's not installed at all.<br>
>> Yes, I think you have to.<br>
> I can't still do it...<br>
><br>
> I had to deactivate the LV, and activate it exclusivly on one node, and issue the pvmove, and I still get :<br>
><br>
>  Error locking on node node206.lan: device-mapper: create ioctl on VGa-pvmove0 failed: Device or resource busy<br>
>  Failed to suspend logicalvolumename<br>
>  ABORTING: Volume group metadata update failed. (first_time: 1)<br>
><br>
> Regards,<br>
><br>
> --<br>
> Linux-cluster mailing list<br>
> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a></blockquote></div>