]> sourceware.org Git - lvm2.git/commitdiff
Revert "tests: add check for lvconvert without zeroing"
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 14 Apr 2021 08:53:21 +0000 (10:53 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 14 Apr 2021 08:53:34 +0000 (10:53 +0200)
This reverts commit accf324ccba681ad06cd8bcb27ead17ec191a471.

test/shell/thin-foreign-repair.sh

index 7cfa865f01154f483b2ea8001fc470c0085e1e47..55e9f62c6696bd9f85f28ccc61725aabc8c3bca4 100644 (file)
@@ -77,22 +77,4 @@ dmsetup create "$THIN" --table "0 40960 thin $DM_DEV_DIR/mapper/$POOL 0"
 
 fsck -n "$DM_DEV_DIR/mapper/$THIN"
 
-clean_thin_
-
-lvchange -an $vg
-
-# Take a copy of metadata
-lvchange -y -ay $vg/pool_tmeta
-
-lvcreate -L2 -n $lv1 $vg
-dd if="$DM_DEV_DIR/$vg/pool_tmeta" of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=1
-
-# Use zero backend for data device
-lvcreate --type zero -L2 -n $lv2 $vg
-
-lvconvert --thinpool $vg/$lv2 --poolmetadata $vg/$lv1 -Zn -y
-
-# Metadata should NOT be zeroed and device should be available
-dmsetup create "$THIN" --table "0 40960 thin $DM_DEV_DIR/$vg/$lv2 0"
-
 # exit calls cleanup_mounted_and_teardown
This page took 0.040033 seconds and 5 git commands to generate.