diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-17 08:44:53 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-11-17 08:44:53 +0100 |
commit | 542b03ee007d50cd8aa6dbd582b79369a38919b0 (patch) | |
tree | 657e4456c87888400b7d0e7237988efa0fe2a55d | |
parent | 740fcdae7d44ae2398ea427f91fc87195e449d42 (diff) | |
download | lvm2-542b03ee007d50cd8aa6dbd582b79369a38919b0.tar.gz |
tests: deactivate repaired before swap
-rw-r--r-- | test/shell/lvconvert-repair-thin.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/shell/lvconvert-repair-thin.sh b/test/shell/lvconvert-repair-thin.sh index 4732efc59..8e35ad1c7 100644 --- a/test/shell/lvconvert-repair-thin.sh +++ b/test/shell/lvconvert-repair-thin.sh @@ -70,6 +70,8 @@ not "$LVM_TEST_THIN_DUMP_CMD" "$DM_DEV_DIR/$vg/repair" | tee dump "$LVM_TEST_THIN_CHECK_CMD" "$DM_DEV_DIR/$vg/fixed" +lvchange -an $vg + # Swap repaired metadata back lvconvert -y -f --poolmetadata $vg/fixed --thinpool $vg/pool |