diff options
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | tools/vgmerge.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ Version 2.02.36 - ================================= + Fix internal snapshot_count when vgmerge with snapshots in source VG. Simply clvmd-openais by using non-async saLckResourceLock. Check lv_count in vg_validate. Fix internal LV counter when a snapshot is removed. diff --git a/tools/vgmerge.c b/tools/vgmerge.c index 6ba14b3f..bcde0c8c 100644 --- a/tools/vgmerge.c +++ b/tools/vgmerge.c @@ -99,6 +99,7 @@ static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to, } vg_to->lv_count += vg_from->lv_count; + vg_to->snapshot_count += vg_from->snapshot_count; vg_to->extent_count += vg_from->extent_count; vg_to->free_count += vg_from->free_count; |