diff --git a/test/shell/lvconvert-repair-cache.sh b/test/shell/lvconvert-repair-cache.sh index 851a6117e..a09007c6f 100644 --- a/test/shell/lvconvert-repair-cache.sh +++ b/test/shell/lvconvert-repair-cache.sh @@ -67,14 +67,14 @@ lvchange -an $vg/$lv1 lvconvert --repair $vg/$lv1 lvs -a $vg -check lv_exists $vg ${lv1}_meta0 +check lv_exists $vg cpool_cpool_meta0 eval "$(lvs -S 'name=~_pmspare' -a --config 'report/mark_hidden_devices=0' -o name --noheading --nameprefixes $vg)" lvremove -f --yes "$vg/$LVM2_LV_NAME" # check --repair without creation of _pmspare device lvconvert --repair --poolmetadataspare n $vg/$lv1 -check lv_exists $vg ${lv1}_meta1 +check lv_exists $vg cpool_cpool_meta1 # check no _pmspare has been created in previous --repair test "0" = "$(lvs -S 'name=~_pmspare' -a -o name --noheading --nameprefixes $vg | wc -l)"