[lvm-devel] [PATCH 4/4] test: Check that cache settings properly survive LV reactivation.

Petr Rockai prockai at redhat.com
Mon Dec 15 22:32:40 UTC 2014


---
 test/shell/lvcreate-cache.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/shell/lvcreate-cache.sh b/test/shell/lvcreate-cache.sh
index f709d8b..89efc4d 100644
--- a/test/shell/lvcreate-cache.sh
+++ b/test/shell/lvcreate-cache.sh
@@ -230,6 +230,9 @@ lvcreate --type cache-pool -L10 $vg/cpool
 lvcreate --type cache -l 1 --cachepool $vg/cpool -n corigin $vg --cachepolicy mq --cachesettings migration_threshold=233
 dmsetup status | grep $vg
 dmsetup status | grep $vg-corigin | grep 'migration_threshold 233'
+lvchange -an $vg
+lvchange -ay $vg
+dmsetup status | grep $vg-corigin | grep 'migration_threshold 233'
 
 lvremove -f $vg
 
-- 
2.1.2




More information about the lvm-devel mailing list