1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
lvm2/lib/metadata
Heinz Mauelshagen 302b6c99a7 raid_manip: v2 fix multi-segment misallocation on 'lvconvert --repair'
The previous patch felt short WRT disabling allocation on PVs holding other
legs of the RAID LV persistently; this patch introduces an internal,
transient PV flag PV_ALLOCATION_PROHIBITED to address this very problem.

General problem description for completeness:

An 'lvconvert --repair $RAID_LV" to replace a failed leg of a multi-segment
RAID10/4/5/6 logical volume can lead to allocation of (parts of) the replacement
image component pair on the physical volume of another image component
(e.g. image 0 allocated on the same PV as image 1 silently impeding resilience).

Patch fixes this severe resilince issue by prohibiting allocation on PVs
already holding other legs of the RAID set. It allows to allocate free space
on any operational PV already holding parts of the image component pair.
2015-01-16 13:44:16 +01:00
..
2014-10-26 18:37:13 +01:00
2015-01-14 14:52:05 +01:00
2015-01-14 14:52:05 +01:00
2015-01-14 14:52:05 +01:00
2015-01-14 14:52:05 +01:00
2014-11-04 15:28:00 +01:00
2013-12-12 13:28:19 +01:00
2013-12-12 13:28:19 +01:00
2013-06-17 09:34:56 +02:00
2015-01-14 14:52:05 +01:00
2014-11-26 09:29:25 +01:00
2014-11-11 14:13:00 +00:00