lvm part still needs to be specified in the service section if you want to follow a proper way.<br><br>locking_type =3  is correct.. you can use lvmconf --enable-cluster to enable clvmd, which actually does change locking type to 3 anyway.<br>
<br>when you create a new vg controlled by clvmd.. after pvcreate/vgcreate/lvcreate/mkfs.ext3... don't forget to run lvchange -an vg0/ha_lv<br><br>nothing special about tagging is requires as far as I am aware..  you might need to look at filter section to ensure the volumes are not blacklisted. <br>
 <br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 1:54 AM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Mon, 10 Dec 2012 23:36:51 +1100 yu song wrote:<br>
<br>
>  ok..firstly confirm whether you are using HA-LVM, not GFS/GFS2 .. correct?<br>
> if ha-lvm, your vg should only be imported/mounted on one node, instead of multiple nodes.<br>
<br>
</div>In my non-CLVMD configuration I use HA-LVM with these entries in cluster.conf<br>
<br>
<resources><br>
   <lvm name="MYLV" vg_name="MYVG" lv_name="MYLV"/><br>
   <fs device="/dev/MYVG/MYLV" force_fsck="0" force_unmount="1"<br>
fsid="50001" fstype="ext3" mountpoint="/my_mnt" name="MYFS" options=""<br>
self_fence="1"/><br>
<br>
...<br>
<br>
<service domain="MYSRV" autostart="1" name="MYSRV"><br>
   <ip ref="x.y.w.z"/><br>
   <lvm ref="MYLV"/><br>
   <fs ref="MYFS"/><br>
<br>
....<br>
<br>
and tagging in lvm.conf (volume_list directive)<br>
<br>
With CLVMD and the config I'm testig with snapshots and "vgchange -cn"<br>
I still don't use any GFSx file systems, only plain ext3, mounted only<br>
on the node carrying on the service, and my configuration simply<br>
doesn't contain the lvm part:<br>
<br>
<resources><br>
   <fs device="/dev/MYVG/MYLV" force_fsck="0" force_unmount="1"<br>
fsid="50001" fstype="ext3" mountpoint="/my_mnt" name="MYFS" options=""<br>
self_fence="1"/><br>
<br>
...<br>
<br>
<service domain="MYSRV" autostart="1" name="MYSRV"><br>
   <ip ref="x.y.w.z"/><br>
   <fs ref="MYFS"/><br>
<br>
....<br>
Using locking_type=3 in lvm.conf while not using any tagging<br>
(volume_list directive)<br>
<br>
Any comments about that?<br>
<div><div><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" target="_blank">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>