master - test: Can not attach writecache to active volume
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fc32787c1b7f867008f30444a20ba154e0cdc39c Commit: fc32787c1b7f867008f30444a20ba154e0cdc39c Parent: 957904933b2b0f94eddc6204ca2fa61e2df741a0 Author: Marian Csontos <[email protected]> AuthorDate: Wed Mar 18 14:30:09 2020 +0100 Committer: Marian Csontos <[email protected]> CommitterDate: Wed Mar 18 14:35:58 2020 +0100
test: Can not attach writecache to active volume
--- test/shell/writecache.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
test/shell/writecache.sh +4 -1
@@ -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