Re: Netapp snapdrive connect doesn't like clustered volumes

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

 



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.

if you run this command on node1, assuming vg1, you still can use "vgchange -cy vg1" on node2 to import the vg and use it on node2.

as long as you don't mount volumes of same vg ( still assuming you are not using gfs/gfs2) on multiple nodes at the same time.. you won't corrupt data.

snapshot or backup is always an essential part when you do migration.


Yu

On Mon, Dec 10, 2012 at 11:13 PM, Gianluca Cecchi <gianluca.cecchi@xxxxxxxxx> wrote:
On Mon, 10 Dec 2012 21:02:19 +1100 Yu wrote:
> vgchange -cn vgname
> Can disable cluster flag
> Regards
> Yu

Ok, thanks, I thought about this option too and it seems it works.
More testing in place.
In this cluster I have many services and each one is bundled with its
own VGs, so that each node is active for that particular service.
To use CLVMD is comfortable when I need to add LUNs or resize pre-existing ones.
I had a doubt if running "vgchange -cn" when both nodes are online
could cause any problem so I was not sure...
What does it happen with node 2 when I run this command on node 1?
"SImply" that node cannot online the VG any more or worse it can
online it without safety and cause data corruption?
What the best behaviour to avoid data corruption for the few seconds I
need to make a snapshot of a not-clustered VG?

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux