main - tests: check support for online vdo rename
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=cddeaed6e956b181faf665f8af789cb517259bc2 Commit: cddeaed6e956b181faf665f8af789cb517259bc2 Parent: 8532b1ca97e8b9b4a9250140b5d629169f36df28 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Jan 22 15:07:43 2021 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Jan 22 15:30:37 2021 +0100
tests: check support for online vdo rename
kvdo 6.2.3 module version supports online rename.
Add cache and raid stacked renames.
--- test/shell/lvcreate-vdo-cache.sh | 17 +------- test/shell/lvrename-vdo.sh | 88 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 15 deletions(-)
test/shell/lvcreate-vdo-cache.sh +2 -15
@@ -32,22 +32,9 @@ export MKE2FS_CONFIG="$TESTDIR/lib/mke2fs.conf" aux prepare_vg 1 9000 -lvcreate --vdo -L4G -V2G --name $lv1 $vg/vpool1 - +lvcreate --vdo -L4G -V2G --name $lv1 $vg/vpool # Test caching VDOPoolLV -lvcreate -H -L10 $vg/vpool1 - -# Current VDO target driver cannot handle online rename -# once this will be supported - update this test -not lvrename $vg/vpool1 $vg/vpool 2>&1 | tee out -grep "Cannot rename" out - -lvchange -an $vg - -# Ofline should work -lvrename $vg/vpool1 $vg/vpool - -lvchange -ay $vg +lvcreate -H -L10 $vg/vpool mkfs.ext4 -E nodiscard "$DM_DEV_DIR/$vg/$lv1"
test/shell/lvrename-vdo.sh new file +88 -0
88 lines not on this page · raw message