Keith,<div><br></div><div>Yes clvm is running.</div><div><br></div><div>Here is what I have done.</div><div><br></div><div>1) LUN assigned to the cluster nodes</div><div>2) multipathd detected the LUNs in all nodes</div><div>
3) used GNU parted to create EFI/GPT</div><div>4) DID: kpartx -a /dev/mapper/mpath13 , then I see mpath13p1</div><div>5) pvcreate /dev/mapper/mpath13p1</div><div>6) vgcreate -c y prd_vg10 /dev/mapper/mpath13p1</div><div>7) Ran kpartx -a  and partprobe in all nodes</div>
<div>8)  <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: medium; "><table class="Bs nH iY" cellpadding="0" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); width: 872px; position: relative; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial; ">
<tbody><tr><td class="Bu" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; vertical-align: top; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
<div class="nH if" style="padding-top: 0px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; "><div class="nH"><div class="nH hx" style="color: rgb(0, 0, 0); padding-top: 4px; padding-right: 8px; padding-bottom: 4px; padding-left: 8px; ">
<div class="nH"><div class="h7  " style="padding-bottom: 0px; clear: both; "><div class="Bk" style="position: relative; margin-bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(239, 239, 239); border-right-color: rgb(239, 239, 239); border-left-color: rgb(239, 239, 239); border-bottom-color: rgb(226, 226, 226); border-top-width: 0px; border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; width: 623px; ">
<div class="G3 G2" style="padding-top: 3px; background-color: rgb(255, 255, 255); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: rgb(188, 188, 188); border-bottom-color: rgb(188, 188, 188); border-left-color: rgb(188, 188, 188); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(188, 188, 188); border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; ">
<div><div id=":2v3"><div class="HprMsc"><div class="gs"><div id=":320" class="ii gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px; padding-bottom: 20px; position: relative; z-index: 2; ">
<div id=":31z"><div><div>lvcreate -n prd_vg10_lv -L2197GB prd_vg10 </div><div> </div><div>  Error locking on node prd2: device-mapper: create ioctl failed: Device or resource busy</div><div>  Error locking on node prd3: device-mapper: create ioctl failed: Device or resource busy</div>
<div>  Error locking on node prd1: device-mapper: create ioctl failed: Device or resource busy</div><div>  Failed to activate new LV.</div></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></td></tr></tbody></table></span><div class="gmail_quote">Thanks</div><div class="gmail_quote">Paras.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">
On Fri, Aug 12, 2011 at 11:49 AM, Keith Schincke <span dir="ltr"><<a href="mailto:keith.schincke@gmail.com">keith.schincke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have used multiple >2T physical volumes in my large cluster.<br>
Do you have clvmd running and does your LVM have the cluster flag turned on?<br>
<div><div></div><div class="h5"><br>
On Fri, Aug 12, 2011 at 11:24 AM, Paras pradhan <<a href="mailto:pradhanparas@gmail.com">pradhanparas@gmail.com</a>> wrote:<br>
> Does it mean that I don't need mpath0p1 ? If its the case i don't need to<br>
> run kpartx on mpath0?<br>
> And not having mpath0p1 will take away this device mapper ioctl failed issue<br>
> when creating lvcreate?<br>
> I am really confused why this lock has failed , also not sure if this is<br>
> related to this >2TB LUN.<br>
> Paras.<br>
><br>
> On Fri, Aug 12, 2011 at 11:09 AM, Keith Schincke <<a href="mailto:keith.schincke@gmail.com">keith.schincke@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Your physical volume can be a whole disk (mpath0) or a partition<br>
>> (mpath0p1). I use the partition schema as blank disks could be accidentally<br>
>> used by a follow on admin who does not fully understand the system<br>
>> configuration.<br>
>> Keith<br>
>><br>
>> Sent from my iPhone<br>
>> On Aug 12, 2011, at 10:14, Paras pradhan <<a href="mailto:pradhanparas@gmail.com">pradhanparas@gmail.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On Fri, Aug 12, 2011 at 7:39 AM, Alan Brown <<a href="mailto:ajb2@mssl.ucl.ac.uk">ajb2@mssl.ucl.ac.uk</a>> wrote:<br>
>>><br>
>>> Paras pradhan wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> I have a 2199GB LUN assigned to my 3 node cluster. Since its >2TB, I<br>
>>>> used<br>
>>>> parted to create the EFI GPT parittion. After that pvcreate and vgcreate<br>
>>>> were successfull but I get the following error when doing lvcreate.<br>
>>>><br>
>>><br>
>>> If the entire LUN is a PV then you don't need to partition it.<br>
>><br>
>> You mean don't use parted or any and directly proceed to pvcreate?<br>
>><br>
>><br>
>>><br>
>>><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><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>
> --<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>
--<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>
</div></div></blockquote></div><br></div>