1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-07 05:58:00 +03:00
lvm2/lib/metadata
Heinz Mauelshagen 0b8bf73a63 lvchange: allow a transiently failed RaidLV to be refreshed
In case any SubLV of a RaidLV transiently fails, it needs
two "lvchange --refresh RaidLV" runs to get it to fully
operational mode again.  Reason being, that lvm reloads all
targets for the RaidLV tree but doesn't resume the SubLVs
until after the whole tree has been reloaded in the first
refresh run.  Thus the live mapping table of the SubLVs
still point to an "error" mapping and the dm-raid target
can't retrieve any superblock from the MetaLV(s) in processing
the constructor during this preload thus not discovering the
again accessible SubLVs.  In the second run, the SubLV targets
map proper (meta)data, hence the constructor discovers those
fine now.

Solve by resuming the SubLVs of the RaidLV before
preloading the respective top-level RaidLV target.

Resolves: rhbz1399844
2016-11-30 22:57:54 +01:00
..
2016-01-21 12:11:37 +01:00
2016-11-23 17:55:03 +01:00
2016-08-29 20:51:16 +02:00
2016-01-21 12:11:37 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-02-15 12:44:46 +01:00
2016-08-05 14:00:40 +01:00
2016-10-03 17:49:55 +02:00
2016-06-30 17:59:44 +01:00
2016-06-28 02:30:31 +01:00