Skip to contentSkip to conversation

main - tests: integrity: snapshots now work on raid+integrity

PATCH David Teigland 1 participant 1 message May 17, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3a757047560d75a28d7e4c7d9a5253a72d786544
Commit:        3a757047560d75a28d7e4c7d9a5253a72d786544
Parent:        3b4e7d1625ddc48dd9393f03a59cc6b74113275a
Author:        David Teigland <[email protected]>
AuthorDate:    Wed May 17 11:10:45 2023 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Wed May 17 11:10:45 2023 -0500

tests: integrity: snapshots now work on raid+integrity

---
 test/shell/integrity.sh | 8 --------
 1 file changed, 8 deletions(-)
test/shell/integrity.sh +0 -8
index 1ba75d230..61229c83a 100644
@@ -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