]> sourceware.org Git - lvm2.git/commit
Use lvconvert --repair in dmeventd DSO (mornfall)
authorMilan Broz <mbroz@redhat.com>
Tue, 19 May 2009 10:25:16 +0000 (10:25 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 19 May 2009 10:25:16 +0000 (10:25 +0000)
commit86b4b128a9d00cf643341ed3b1d035f9f5c28353
tree3ee05b9873bd9a85f111ff4167f4193f4c0408b2
parent35bd06a9a00ddb7a89adb236a6db1e9f4342e6ba
Use lvconvert --repair in dmeventd DSO (mornfall)

This means two things:

1) Non-mirrored LVs will be no longer affected by mirror monitoring. (Before,
if you had a LV that went partially missing on a VG where a mirror leg failed,
this LV would be removed automatically by dmeventd... Probably not an
unrecoverable dataloss bug, but still quite unpleasant.)

2) If enough parallel PV space is available at the time of the mirror failure,
the failed devices will be automatically replaced using this spare space. Which
(and whether) free space may be used is still not configurable, but is a
planned feature. Since it is relatively easy to undo the action by converting
the mirror manually, I don't consider this to be a showstopper. In fact, I
think the compromise is much better than what we have now.
WHATS_NEW
daemons/dmeventd/plugins/mirror/dmeventd_mirror.c
This page took 0.037729 seconds and 5 git commands to generate.