[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]