[Linux-cluster] Netapp snapdrive connect doesn't like clustered volumes

Gianluca Cecchi gianluca.cecchi at gmail.com
Mon Dec 10 14:54:19 UTC 2012


On Mon, 10 Dec 2012 23:36:51 +1100 yu song wrote:

>  ok..firstly confirm whether you are using HA-LVM, not GFS/GFS2 .. correct?
> if ha-lvm, your vg should only be imported/mounted on one node, instead of multiple nodes.

In my non-CLVMD configuration I use HA-LVM with these entries in cluster.conf

<resources>
   <lvm name="MYLV" vg_name="MYVG" lv_name="MYLV"/>
   <fs device="/dev/MYVG/MYLV" force_fsck="0" force_unmount="1"
fsid="50001" fstype="ext3" mountpoint="/my_mnt" name="MYFS" options=""
self_fence="1"/>

...

<service domain="MYSRV" autostart="1" name="MYSRV">
   <ip ref="x.y.w.z"/>
   <lvm ref="MYLV"/>
   <fs ref="MYFS"/>

....

and tagging in lvm.conf (volume_list directive)

With CLVMD and the config I'm testig with snapshots and "vgchange -cn"
I still don't use any GFSx file systems, only plain ext3, mounted only
on the node carrying on the service, and my configuration simply
doesn't contain the lvm part:

<resources>
   <fs device="/dev/MYVG/MYLV" force_fsck="0" force_unmount="1"
fsid="50001" fstype="ext3" mountpoint="/my_mnt" name="MYFS" options=""
self_fence="1"/>

...

<service domain="MYSRV" autostart="1" name="MYSRV">
   <ip ref="x.y.w.z"/>
   <fs ref="MYFS"/>

....
Using locking_type=3 in lvm.conf while not using any tagging
(volume_list directive)

Any comments about that?




More information about the Linux-cluster mailing list