From 54d0cb47848f2abfcbe106dc65250f612c7b1455 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Wed, 18 Mar 2020 14:30:09 +0100 Subject: [PATCH] test: Can not attach writecache to active volume --- test/shell/writecache.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/shell/writecache.sh b/test/shell/writecache.sh index 0a7f694..a7a2d95 100644 --- a/test/shell/writecache.sh +++ b/test/shell/writecache.sh @@ -139,8 +139,10 @@ mount "$DM_DEV_DIR/$vg/$lv1" $mount_dir cp pattern1 $mount_dir/pattern1 ls -l $mount_dir -lvconvert --yes --type writecache --cachevol $lv2 $vg/$lv1 +# TODO BZ 1808012 - can not convert active volume to writecache: +not lvconvert --yes --type writecache --cachevol $lv2 $vg/$lv1 +if false; then check lv_field $vg/$lv1 segtype writecache lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out @@ -162,6 +164,7 @@ diff pattern1 $mount_dir/pattern1.after umount $mount_dir lvchange -an $vg/$lv1 lvremove $vg/$lv1 +fi vgremove -ff $vg -- 1.8.3.1