From e556c7b7c641c78f7bdd94120d6e79860a6220aa Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 19 Sep 2020 23:02:17 +0200 Subject: [PATCH] tests: check for cvol Check for cvol. Add check for cmeta. --- test/shell/integrity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/shell/integrity.sh b/test/shell/integrity.sh index be435976e..1f031e0ed 100644 --- a/test/shell/integrity.sh +++ b/test/shell/integrity.sh @@ -782,7 +782,7 @@ lvcreate --type raid1 -m1 -n $lv1 -l 8 $vg lvcreate --type raid1 -m1 -n $lv2 -l 8 $vg lvconvert -y --type cache --cachevol $lv2 $vg/$lv1 not lvconvert --raidintegrity y $vg/${lv1}_corig -not lvconvert --raidintegrity y $vg/${lv2}_vol +not lvconvert --raidintegrity y $vg/${lv2}_cvol lvremove -y $vg/$lv1 lvcreate --type raid1 -m1 -n $lv1 -l 8 $vg @@ -790,6 +790,7 @@ lvcreate --type raid1 -m1 -n $lv2 -l 8 $vg lvconvert -y --type cache --cachepool $lv2 $vg/$lv1 not lvconvert --raidintegrity y $vg/${lv1}_corig not lvconvert --raidintegrity y $vg/${lv2}_cpool_cdata +not lvconvert --raidintegrity y $vg/${lv2}_cpool_cmeta lvremove -y $vg/$lv1 # cannot add integrity to raid that has a snapshot