This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/rgmanager/src/resources lvm.sh
- From: jbrassow at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 18 Apr 2007 19:14:22 -0000
- Subject: cluster/rgmanager/src/resources lvm.sh
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: jbrassow@sourceware.org 2007-04-18 20:14:22
Modified files:
rgmanager/src/resources: lvm.sh
Log message:
Bug 236580: [HA LVM]: Bringing site back on-line after failure causes pr...
Setup:
- 2 interconnected sites
- each site has a disk and a machine
- LVM mirroring is used to mirror the disks from the sites
When one site fails, the LVM happily moves over to the second site -
removing the failed disk from the VG that was part of the failed
site. However, when the failed site is restored and the service
attempts to move back to the original machine, it fails because
of the conflicts in LVM metadata on the disks.
This fix allows the LV to be reactivated on the original node
by filtering out the devices which have stale metadata (i.e
the device that was removed during the failure).
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/lvm.sh.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.6.1&r2=1.1.6.2