summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2023-05-17 11:10:45 -0500
committerDavid Teigland <teigland@redhat.com>2023-05-17 11:10:45 -0500
commit3a757047560d75a28d7e4c7d9a5253a72d786544 (patch)
tree24194f95fbfdf1efa43d7a92cecee4148bb4d4f9
parent3b4e7d1625ddc48dd9393f03a59cc6b74113275a (diff)
downloadlvm2-3a757047560d75a28d7e4c7d9a5253a72d786544.tar.gz
tests: integrity: snapshots now work on raid+integrity
-rw-r--r--test/shell/integrity.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/shell/integrity.sh b/test/shell/integrity.sh
index 1ba75d230..61229c83a 100644
--- a/test/shell/integrity.sh
+++ b/test/shell/integrity.sh
@@ -585,7 +585,6 @@ not lvconvert --splitmirrors 1 -n tmp -y $vg/$lv1
not lvconvert --splitmirrors 1 --trackchanges -y $vg/$lv1
not lvchange --syncaction repair $vg/$lv1
not lvreduce -L4M $vg/$lv1
-not lvcreate -s -n snap -L4M $vg/$lv1
not pvmove -n $vg/$lv1 "$dev1"
not pvmove "$dev1"
_verify_data_on_mnt
@@ -769,11 +768,4 @@ 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
-
-lvcreate --type raid1 -m1 -n $lv1 -l 8 $vg
-lvcreate -s -n $lv2 -l 8 $vg/$lv1
-not lvconvert --raidintegrity y $vg/$lv1
-lvremove -y $vg/$lv1
-
vgremove -ff $vg