1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

In t-lvcreate-large, do not create a clustered VG. LV activation/suspend does

not work yet with singlenode clvmd in clustered VGs.
This commit is contained in:
Petr Rockai 2011-10-23 14:30:51 +00:00
parent 9e453cab1c
commit d0d516eb5e

View File

@ -13,9 +13,6 @@
. lib/test
# FIXME: remove it later when locking in virtual origin is fixed
test -e LOCAL_CLVMD && exit 200
aux prepare_vg 4
lvcreate -s -l 100%FREE -n $lv $vg --virtualsize 1024T
@ -26,7 +23,7 @@ lvcreate -s -l 100%FREE -n $lv $vg --virtualsize 1024T
aux lvmconf 'devices/filter = [ "a/dev\/mapper\/.*$/", "a/dev\/LVMTEST/", "r/.*/" ]'
pvcreate $DM_DEV_DIR/$vg/$lv
vgcreate $vg1 $DM_DEV_DIR/$vg/$lv
vgcreate -c n $vg1 $DM_DEV_DIR/$vg/$lv
lvcreate -l 100%FREE -n $lv1 $vg1
check lv_field $vg1/$lv1 size "1024.00t"
@ -40,4 +37,4 @@ lvresize -f -l 72%VG $vg1/$lv1
check lv_field $vg1/$lv1 size "737.28t"
lvremove -ff $vg1/$lv1
lvremove -ff $vg/$lv
lvremove -ff $vg/$lv