1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
Peter Rajnoha 82d83a01ce autoactivation: refresh existing VG before autoactivation
When autoactivating a VG, there could be an existing VG with exactly
the same PV UUIDs. The PVs could be reappeared after previous
loss/disconnect (for example disconnecting and reconnecting iscsi).

Since there's no "autodeactivation" yet, the mappings for the LVs
from the VG were left in the system even if the device was disconnected.
These mappings also hold the major:minor of the underlying device.
So if the device reappears, it is assigned a different major:minor
pair (...and kernel name). We need to cope with this during
autoactivation so any existing mappings are corrected for any changes.
The VG refresh does that (the vgchange --refresh functionality) -
call this before VG autoactivation.

(If the VG does not exist yet, the VG refresh is NOP)
2013-08-14 14:04:58 +02:00
..
2013-04-12 11:30:47 +02:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2013-07-01 23:11:14 +02:00
2012-08-25 20:35:48 +01:00
2013-07-09 03:07:55 +01:00
2012-08-23 14:37:21 +02:00
2013-07-08 14:01:41 +02:00
2013-07-09 03:07:55 +01:00
2013-07-04 13:33:41 +02:00
2013-07-01 23:11:14 +02:00
2012-08-25 20:35:48 +01:00
2013-07-24 22:10:37 +01:00