When there is merging snapshot, report percentage on the origin LV. The snapshot LV will be hidden, this is needed so that the user can see merging progress with "lvs" command. Signed-off-by: Mikulas Patocka --- lib/report/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: LVM2.2.02.45/lib/report/report.c =================================================================== --- LVM2.2.02.45.orig/lib/report/report.c 2009-05-11 13:08:39.000000000 +0200 +++ LVM2.2.02.45/lib/report/report.c 2009-05-11 13:08:44.000000000 +0200 @@ -1001,7 +1001,7 @@ static int _snpercent_disp(struct dm_rep return 0; } - if (!lv_is_cow(lv) || + if ((!lv_is_cow(lv) && !lv->merging_snapshot) || (lv_info(lv->vg->cmd, lv, &info, 0, 0) && !info.exists)) { *sortval = UINT64_C(0); dm_report_field_set_value(field, "", sortval);