1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-08 09:57:55 +03:00
lvm2/lib/metadata
Heinz Mauelshagen 8270ff5702 lvconvert: prevent non-synced raid1 primary leg repair
(Automatic) repair may not be allowed during the initial sync of an upconverted
linear LV, because the data on the failing, primary leg hasn't been completely
synchronized to the N-1 other legs of the raid1 LV (replacing failed legs during
repair involves discontinuing access to any replaced legs data, thus preventing
data recovery on the primary leg e.g. via dd_rescue).

Even though repair would not cause data loss when adding legs to a fully synced
raid1 LV, we don't have information yet defining this state yet (e.g. a raid1
LV flag telling the fully synchronized status before any legs were added),
hence can't automatically decide to allow to repair.

If nonetheless a repair on a non-synced raid1 LVs is intended, the "--force"
option has to be provided.

Resolves: rhbz1311765
2016-10-28 15:55:10 +02:00
..
2016-01-21 12:11:37 +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