1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
Heinz Mauelshagen 5d455b28fc lvconvert: fix (automatic) raid repair regression
The dm-raid target now rejects device rebuild requests during ongoing
resynchronization thus causing 'lvconvert --repair ...' to fail with
a kernel error message. This regresses with respect to failing automatic
repair via the dmeventd RAID plugin in case raid_fault_policy="allocate"
is configured in lvm.conf as well.

Previously allowing such repair request required cancelling the
resynchronization of any still accessible DataLVs, hence reasoning
potential data loss.

Patch allows the resynchronization of still accessible DataLVs to
finish up by rejecting any 'lvconvert --repair ...'.

It enhances the dmeventd RAID plugin to be able to automatically repair
by postponing the repair after synchronization ended.

More tests are added to lvconvert-rebuild-raid.sh to cover single
and multiple DataLV failure cases for the different RAID levels.

- resolves: rhbz1371717
2016-09-21 00:39:29 +02:00
..
api tests: reduce amount of pvcreates 2016-07-11 15:29:28 +02:00
dbus lvmdbustest: Remove pyudev deprecated warnings 2016-09-19 15:32:47 -05:00
lib tests: correcting kernel version test 2016-09-20 22:50:43 +02:00
shell lvconvert: fix (automatic) raid repair regression 2016-09-21 00:39:29 +02:00
unit doc: change fsf address 2016-01-21 12:11:37 +01:00
.gitignore gitignore: Remove redundant test dir entry 2012-06-08 23:34:15 +01:00
Makefile.in tests: add mke2fs.conf 2016-07-04 17:40:25 +02:00