mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Suggest use lvchange --resync when up converting not yet synced mirror.
This commit is contained in:
parent
01fb9ca9a0
commit
1bf740434a
@ -1,5 +1,6 @@
|
||||
Version 2.02.48 -
|
||||
===============================
|
||||
Suggest use lvchange --resync when up converting not yet synced mirror.
|
||||
Destroy toolcontext on exit in clvmd (fixes memory pool leaks).
|
||||
Fix lvconvert to not poll mirror if no conversion in progress.
|
||||
Fix memory leaks in toolcontext error path.
|
||||
|
@ -683,8 +683,8 @@ static int _lvconvert_mirrors(struct cmd_context *cmd, struct logical_volume *lv
|
||||
lp->need_polling = 1;
|
||||
} else if (lp->mirrors > existing_mirrors || failed_mirrors) {
|
||||
if (lv->status & MIRROR_NOTSYNCED) {
|
||||
log_error("Not adding mirror to mirrored LV "
|
||||
"without initial resync");
|
||||
log_error("Can't add mirror to out-of-sync mirrored "
|
||||
"LV: use lvchange --resync first.");
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user