1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-09-17 21:44:24 +03:00

tests: cache with error and zero

This commit is contained in:
Zdenek Kabelac
2023-07-04 19:15:40 +02:00
parent 975368ba18
commit 721bee1b70

View File

@@ -168,6 +168,19 @@ fail lvconvert --repair $vg/cpool 2>&1 | tee out
lvremove -f $vg
#########################
# Some testing variants #
#########################
for i in error zero
do
lvcreate --type "$i" -L50G -n $lv1 $vg
lvcreate --type "$i" -L10G -n cpool $vg
lvconvert -y --cachepool $vg/cpool
lvconvert -y -H --cachepool $vg/cpool $vg/$lv1
lvremove -f $vg
done
##########################
# Prohibited conversions #
##########################