18 lines
558 B
Diff
18 lines
558 B
Diff
tools/lvconvert.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/lvconvert.c b/tools/lvconvert.c
|
|
index f6d9a29..bb40930 100644
|
|
--- a/tools/lvconvert.c
|
|
+++ b/tools/lvconvert.c
|
|
@@ -2388,7 +2388,8 @@ static int _lvconvert_thin_pool_repair(struct cmd_context *cmd,
|
|
goto deactivate_mlv;
|
|
}
|
|
|
|
- if (thin_dump[0]) {
|
|
+ /* Check matching transactionId when thin-pool is used by lvm2 (transactionId != 0) */
|
|
+ if (first_seg(pool_lv)->transaction_id && thin_dump[0]) {
|
|
argv[0] = thin_dump;
|
|
argv[1] = pms_path;
|
|
argv[2] = NULL;
|