Skip to contentSkip to conversation

master - tests: conversion only of exclusive lv

PATCH Zdenek Kabelac 1 participant 1 message Nov 1, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c935f8a327716292bb5454ae470143bfe7b1b3a9
Commit:        c935f8a327716292bb5454ae470143bfe7b1b3a9
Parent:        d1c5b3ae740481290de14d1ea178e571e689ff0e
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Nov 1 15:59:17 2019 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Nov 1 16:27:21 2019 +0100

tests: conversion only of exclusive lv

We can 'cache' only exclusively active LV in cluster.

---
 test/shell/cache-no-discard.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/cache-no-discard.sh +1 -1
index 3ab0594..4593622 100644
@@ -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