diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-04 23:24:56 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-10 22:05:49 +0100 |
commit | 10ebabdd2a8c686d814205fd923229572eebdd3a (patch) | |
tree | b6868503aff5582f9672b7d0d949ef5b26de03bd /test/shell/lvconvert-cache.sh | |
parent | 02f49caa3599d74ff9ef850d76fec69569ef9621 (diff) | |
download | lvm2-10ebabdd2a8c686d814205fd923229572eebdd3a.tar.gz |
tests: cache snapshot
Diffstat (limited to 'test/shell/lvconvert-cache.sh')
-rw-r--r-- | test/shell/lvconvert-cache.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/shell/lvconvert-cache.sh b/test/shell/lvconvert-cache.sh index 4f266bad4..ed414eddb 100644 --- a/test/shell/lvconvert-cache.sh +++ b/test/shell/lvconvert-cache.sh @@ -17,6 +17,14 @@ aux have_cache 1 3 0 || skip aux prepare_vg 5 80 +lvcreate --type cache-pool -an -v -L 2 -n cpool $vg +lvcreate -H -L 4 -n corigin --cachepool $vg/cpool + +fail lvcreate -s -L2 $vg/corigin +fail lvcreate -s -L2 $vg/cpool +fail lvcreate -s -L2 $vg/cpool_cdata +fail lvcreate -s -L2 $vg/cpool_cmeta + ########################### # Check regular converion # ########################### |