1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: also add thick snap of thin volume

This commit is contained in:
Zdenek Kabelac 2020-09-24 20:49:52 +02:00
parent ccb58c109f
commit a89ac3bf6f

View File

@ -27,6 +27,7 @@ get_devs
vgcreate "$vg1" "${DEVICES[@]}"
lvcreate -T -L8M $vg1/pool1 -V10M -n $lv1 "$dev1" "$dev2"
lvcreate -T -L8M $vg1/pool2 -V10M -n $lv2 "$dev3" "$dev4"
lvcreate -s -L2M -n snap $vg1/$lv1 "$dev2"
# Test with external origin if available
lvcreate -l1 -an -pr --zero n -n eorigin $vg1 "$dev5"