1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
Zdenek Kabelac 2a6981a697 activation: automaticaly discover pvmove holders
When pvmove is finished and does 'suspend/resume' on PVMOVE LV,
on resume path committed metadata are already showing 'standalone'
pvmove LV prepared just for removal.

However code should be able to 'resume' preloaded LV there were
participating in pvmove operation.

Previously this was all done in the 'tools' part of lvm2 code.
So the lvconvert upon pvmove finish had to explicitely call 'resume' on every such LV.
Now 'smarted' activation code is able to deduce and combine all information from
the active dm table and committed metadata so single  call resolves
it all in one go.

Internally holders are detected by reading sysfs directory to capture
all needed UUID which are then looked in lvm2 metadata and all such
LVs are automatically collected into dmtree.
2017-11-24 16:09:59 +01:00
..
2017-06-22 20:17:18 +02:00
2017-11-15 01:02:15 +00:00
2017-11-15 01:02:15 +00:00
2016-04-29 19:47:15 +01:00
2017-07-20 11:18:29 +02:00
2016-01-21 12:11:37 +01:00
2017-11-15 21:00:29 +01:00
2017-11-15 01:02:15 +00:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-11-11 00:56:10 +01:00
2016-01-21 12:11:37 +01:00
2016-10-03 17:49:56 +02:00