]> sourceware.org Git - lvm2.git/commitdiff
tests: conversion only of exclusive lv
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2019 14:59:17 +0000 (15:59 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2019 15:27:21 +0000 (16:27 +0100)
We can 'cache' only exclusively active LV in cluster.

test/shell/cache-no-discard.sh

index 3ab059447a97534012f5d79a1f0bbf1cbe619755..45936225d01519091ee7e8a018d8076722db0894 100644 (file)
@@ -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
This page took 2.49419 seconds and 5 git commands to generate.