master - tests: no longer allowed too big thin-pools for small chunks
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b6945b85106620cb79730070e9a38ed93e7fc35a Commit: b6945b85106620cb79730070e9a38ed93e7fc35a Parent: 5017284709102834c21bed408e54fccde8523d51 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Jun 9 12:58:25 2017 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Jun 9 13:03:42 2017 +0200
tests: no longer allowed too big thin-pools for small chunks
--- test/shell/lvconvert-thin.sh | 2 +- test/shell/lvcreate-thin-big.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
test/shell/lvconvert-thin.sh +1 -1
@@ -135,7 +135,7 @@ lvremove -f $vg if test "$TSIZE" = 64T; then lvcreate -L24T -n $lv1 $vg # Warning about bigger then needed (24T data and 16G -> 128K chunk) -lvconvert --yes -c 64 --thinpool $vg/$lv1 2>&1 | tee err +fail lvconvert --yes -c 64 --thinpool $vg/$lv1 2>&1 | tee err grep "WARNING: Chunk size is too small" err lvremove -f $vg fi
test/shell/lvcreate-thin-big.sh +1 -1
@@ -36,7 +36,7 @@ grep "WARNING: Minimum" out lvcreate -L4M --chunksize 64k --poolmetadatasize 17G -T $vg/pool2 2>out grep "WARNING: Maximum" out check lv_field $vg/pool1_tmeta size "2.00m" -check lv_field $vg/pool2_tmeta size "16.00g" +check lv_field $vg/pool2_tmeta size "15.81g" # Check can start and see thinpool with metadata size above kernel limit lvcreate -L4M --poolmetadatasize 16G -T $vg/poolM