mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Revert "tests: enable tests for lvmlockd"
This reverts commit 99b6173f10
.
These tests are disabled with lvmlockd because they use
snapshots without an origin which is not permitted in a
shared vg.
This commit is contained in:
parent
6fad7f2eac
commit
aa34da6ecc
@ -12,6 +12,7 @@
|
||||
|
||||
# Test various supported conversion of snapshot
|
||||
|
||||
SKIP_WITH_LVMLOCKD=1
|
||||
SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
@ -19,7 +20,7 @@ SKIP_WITH_LVMPOLLD=1
|
||||
aux prepare_pvs 2
|
||||
get_devs
|
||||
|
||||
vgcreate $SHARED -s 4k "$vg" "${DEVICES[@]}"
|
||||
vgcreate -s 4k "$vg" "${DEVICES[@]}"
|
||||
|
||||
lvcreate --type snapshot -V50 -L1 -n $lv1 -s $vg
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
SKIP_WITH_LVMLOCKD=1
|
||||
SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}
|
||||
@ -31,7 +32,7 @@ aux prepare_pvs 4 64
|
||||
get_devs
|
||||
|
||||
# build one large PV
|
||||
vgcreate $SHARED $vg1 "$dev1" "$dev2" "$dev3"
|
||||
vgcreate $vg1 "$dev1" "$dev2" "$dev3"
|
||||
|
||||
# 32bit linux kernels are fragille with device size >= 16T
|
||||
# maybe uname -m [ x86_64 | i686 ]
|
||||
@ -41,7 +42,7 @@ lvcreate --type snapshot -l 100%FREE -n $lv $vg1 --virtualsize $TSIZE
|
||||
aux extend_filter_LVMTEST
|
||||
|
||||
pvcreate "$DM_DEV_DIR/$vg1/$lv"
|
||||
vgcreate $SHARED -s 64K $vg "$dev4" "$DM_DEV_DIR/$vg1/$lv"
|
||||
vgcreate $vg -s 64K "$dev4" "$DM_DEV_DIR/$vg1/$lv"
|
||||
|
||||
lvcreate -L1T -n $lv1 $vg
|
||||
invalid lvconvert --yes -c 8M --type thin --poolmetadatasize 1G $vg/$lv1
|
||||
|
Loading…
Reference in New Issue
Block a user