LVM2 ./WHATS_NEW tools/pvmove.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2010-01-27 13:29:11
Modified files:
. : WHATS_NEW
tools : pvmove.c
Log message:
Fix pvmove abort when temporary mirror fails to be cluster-aware.
When activation of pvmove mirror fails on cluster, some nodes still possibly succeeded in activation.
- Explicitly deactivate that mirror to be sure
- properly pair suspend/resume calls to not cause memory lock problems in clvmd
Code cannot simply call _finish_pvmove on cluster in this situation, because changed LVs are suspended twice (causing memory inbalance) and also temporary mirror is activated when it is not expected (and we know that it failed already).
Patch prepares special function which remove temporary mirror references from metadata and then resumes changed LVs.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1411&r2=1.1412
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvmove.c.diff?cvsroot=lvm2&r1=1.73&r2=1.74
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.60 - 23rd January 2010 =================================== + Fix pvmove abort workaround to be cluster-aware when temporary mirror activation fails. Always query device by using uuid only and not name in clvmd. Add missing metadata reverts in pvmove error path. Unlock shared lock in clvmd if activation calls failed.
tools/pvmove.c +38 -16
87 lines not on this page · raw message