Hi,

I'm trying to create a snapshot of a clustered LV of 3 nodes.

Acourdingly to 
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Cluster_Logical_Volume_Manager/snapshot_command.html

"LVM snapshots are not cluster-aware, so they require exclusive access to a 
volume. For information on activating logical volumes on individual nodes in 
a cluster, see Section 4.8, “Activating Logical Volumes on Individual Nodes 
in a Cluster”."

So i try do activate the LV in one node only:

[EMAIL PROTECTED] ~]# lvdisplay -C /dev/vg_clientes_so/root-app2
  LV        VG             Attr   LSize Origin Snap%  Move Log Copy%
  root-app2 vg_clientes_so -wi--- 5.00G
[EMAIL PROTECTED] ~]# lvchange -aey /dev/vg_clientes_so/root-app2
[EMAIL PROTECTED] ~]# lvdisplay -C /dev/vg_clientes_so/root-app2
  LV        VG             Attr   LSize Origin Snap%  Move Log Copy%
  root-app2 vg_clientes_so -wi-a- 5.00G

I the other 2 nodes i can see that the LV is not active:

[EMAIL PROTECTED] ~]# lvdisplay -C /dev/vg_clientes_so/root-app2
  LV        VG             Attr   LSize Origin Snap%  Move Log Copy%
  root-app2 vg_clientes_so -wi--- 5.00G

[EMAIL PROTECTED] ~]# lvdisplay -C /dev/vg_clientes_so/root-app2
  LV        VG             Attr   LSize Origin Snap%  Move Log Copy%
  root-app2 vg_clientes_so -wi--- 5.00G

But when i try to create a snapshot in blade01 i get:

[EMAIL PROTECTED] ~]# lvcreate --size 500M --snapshot --name 
snap /dev/vg_clientes_so/root-app2
  Clustered snapshots are not yet supported.

I'm using lvm2-cluster-2.02.16-3.el5 and RHEL5.0.

Any ideas?

Thanks
Nuno Fernandes

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to