I did. After running lvextend command 'clvmd -R' failed on node2. Then I fenced the node2 (fenmrdev02) and run the clvmd -R again, this time without problems. I tried lvextend again - I get the same problem, and again clvmd -R times out.<br>
<br><div class="gmail_quote">On Tue, Nov 18, 2008 at 4:00 PM, Finnur Örn Guðmundsson <span dir="ltr"><<a href="mailto:finnzi@finnzi.com">finnzi@finnzi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Try to run: clvmd -R on one of the nodes.<br>
<br>
Bgrds,<br>
<font color="#888888">Finnur<br>
</font><div><div></div><div class="Wj3C7c"><br>
> Here is the update:<br>
><br>
> [root@fenmrdev03 ~]# lvextend -l+100%FREE /dev/nuvg4/nulv4<br>
> Extending logical volume nulv4 to 10.00 GB<br>
> Error locking on node fenmrdev04: device-mapper: create ioctl failed:<br>
> Device or resource busy<br>
> Error locking on node fenmrdev03: device-mapper: create ioctl failed:<br>
> Device or resource busy<br>
> Failed to suspend nulv4<br>
><br>
><br>
> On Tue, Nov 18, 2008 at 3:15 PM, Scott Wilson <<a href="mailto:swilson@uchicago.edu">swilson@uchicago.edu</a>><br>
> wrote:<br>
><br>
>><br>
>> I think you need:<br>
>><br>
>> lvextend -l+100%FREE /dev/nuvg4/nulv4<br>
>> ^<br>
>><br>
>> Without the +, you were trying to set the logical volume size to the<br>
>> size<br>
>> of your free space, not adding the free space to the size.<br>
>><br>
>><br>
>> Scott Wilson Lead System Administrator<br>
>> <a href="mailto:swilson@uchicago.edu">swilson@uchicago.edu</a> NSIT - DCS - SeaUnix<br>
>><br>
>><br>
>> On Tue, 18 Nov 2008, Alan A wrote:<br>
>><br>
>> I tried a few times to grow LVM by adding additional PV to VG, and then<br>
>>> executing 'lvextend' command. I am not sure what I am doing wrong but I<br>
>>> get<br>
>>> the message that there is error locking on one of the nodes, and then<br>
>>> the<br>
>>> GFS hangs.<br>
>>><br>
>>> Here are some of the details:<br>
>>><br>
>>> [root@fenmrdev03 ~]# vgs<br>
>>> VG #PV #LV #SN Attr VSize VFree<br>
>>> VolGroup00 2 2 0 wz--n- 50.75G 0<br>
>>> gfs_sda1 1 1 0 wz--nc 10.00G 5.00G<br>
>>> gfs_sdb1 1 1 0 wz--nc 10.00G 3.00G<br>
>>> nuvg4 2 1 0 wz--nc 10.00G 5.00G<br>
>>> [root@fenmrdev03 ~]# lvs<br>
>>> LV VG Attr LSize Origin Snap% Move Log Copy%<br>
>>> Convert<br>
>>> LogVol00 VolGroup00 -wi-ao 40.81G<br>
>>> LogVol01 VolGroup00 -wi-ao 9.94G<br>
>>> gfs_sda1 gfs_sda1 -wi-ao 5.00G<br>
>>> gfs_sdb1 gfs_sdb1 -wi-ao 7.00G<br>
>>> nulv4 nuvg4 -wi-ao 5.00G<br>
>>> [root@fenmrdev03 ~]# pvs<br>
>>> PV VG Fmt Attr PSize PFree<br>
>>> /dev/cciss/c0d0p2 VolGroup00 lvm2 a- 33.81G 0<br>
>>> /dev/cciss/c0d1p1 VolGroup00 lvm2 a- 16.94G 0<br>
>>> /dev/sda1 gfs_sda1 lvm2 a- 10.00G 5.00G<br>
>>> /dev/sdb1 gfs_sdb1 lvm2 a- 10.00G 3.00G<br>
>>> /dev/sdc nuvg4 lvm2 a- 5.00G 0<br>
>>> /dev/sdd nuvg4 lvm2 a- 5.00G 5.00G<br>
>>><br>
>>><br>
>>> Command I tried:<br>
>>> [root@fenmrdev03 ~]# lvextend -l100%FREE /dev/nuvg4/nulv4<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Alan 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>
><br>
> --<br>
> Alan A.<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><br clear="all"><br>-- <br>Alan A.<br>