mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
lvchange: resync returns error on usupported volumes
This commit is contained in:
parent
b3899056d9
commit
4573877186
@ -343,7 +343,7 @@ static int lvchange_resync(struct cmd_context *cmd,
|
||||
if (!(lv->status & MIRRORED) && !seg_is_raid(seg)) {
|
||||
log_error("Unable to resync %s. It is not RAID or mirrored.",
|
||||
lv->name);
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (lv->status & PVMOVE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user