mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: check for writecache presence
Test is using writecache.
This commit is contained in:
parent
a51c68aacb
commit
80bad4a3b4
@ -68,7 +68,7 @@ if aux have_cache 1 3 0 ; then
|
||||
fi
|
||||
|
||||
# writecache -> thin
|
||||
if aux have_cache 1 3 0 ; then
|
||||
if aux have_writecache 1 0 0 ; then
|
||||
lvcreate -L10 -n $lv1 $vg
|
||||
lvcreate -an -L10 -n $lv2 $vg
|
||||
lvconvert --yes --type writecache --cachevol $lv2 $vg/$lv1
|
||||
|
Loading…
Reference in New Issue
Block a user