1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

thin: explicitly avoid pvmove operation

So far we do not support pvmove for thin volumes
and thin pools.
This commit is contained in:
Zdenek Kabelac 2013-04-21 08:49:17 +02:00
parent 78a42bac15
commit 17a6915054
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.99 -
===================================
Add explicit message about unsupported pvmove for thin/thinpool volumes.
Fix lvmetad error path in lvmetad_vg_lookup() for null vgname.
Fix clvmd _cluster_request() return code in memory fail path.
Add writemostly/writebehind support for RAID1

View File

@ -248,6 +248,13 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd,
log_print_unless_silent("Skipping mirror image LV %s", lv->name);
continue;
}
if (lv_is_thin_volume(lv) || lv_is_thin_pool(lv)) {
lv_skipped = 1;
log_print_unless_silent("Skipping thin%s LV %s",
lv_is_thin_pool(lv) ? "-pool" : "",
lv->name);
continue;
}
if (lv->status & LOCKED) {
lv_skipped = 1;
log_print_unless_silent("Skipping locked LV %s", lv->name);