From 010062cf03327340053bd1e96613bda9240e3464 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 1 Nov 2019 15:59:17 +0100 Subject: [PATCH] tests: conversion only of exclusive lv We can 'cache' only exclusively active LV in cluster. --- test/shell/cache-no-discard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell/cache-no-discard.sh b/test/shell/cache-no-discard.sh index 3ab059447..45936225d 100644 --- a/test/shell/cache-no-discard.sh +++ b/test/shell/cache-no-discard.sh @@ -35,7 +35,7 @@ pvcreate "$DM_DEV_DIR/$vg/$lv" vgcreate -s 128K $vg1 "$DM_DEV_DIR/$vg/$lv" # Create simple cache LV -lvcreate -L2 -n $lv1 $vg1 +lvcreate -aey -L2 -n $lv1 $vg1 lvcreate -H -L2 $vg1/$lv1 #lvs -ao+kernel_discards $vg1