From d25c135806593146e70a7c9f7c44535fbeec49f5 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 15 May 2018 16:49:53 +0200 Subject: [PATCH] tests: fix size of COW Needs to be changed to match 4K extent_size. --- test/shell/snapshot-usage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell/snapshot-usage.sh b/test/shell/snapshot-usage.sh index 307ab5f1d..bcfa16a3e 100644 --- a/test/shell/snapshot-usage.sh +++ b/test/shell/snapshot-usage.sh @@ -189,7 +189,7 @@ lvremove -f $vg1/snap # Undeleted header would trigger attempt to access # beyond end of COW device # Fails to create when chunk size is different -lvcreate -s -pr -l12 -n snap $vg1/$lv +lvcreate -s -pr -l3 -n snap $vg1/$lv # When header is undelete, fails to read snapshot without read errors #dd if="$DM_DEV_DIR/$vg1/snap" of=/dev/null bs=1M count=2 -- 2.43.5