mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
test: disable duplicate VG name test for lvmetad
Until we decide how duplicate VG names should be handled by lvmetad, and implement that.
This commit is contained in:
parent
8096f2224c
commit
b9341e36f1
@ -41,6 +41,18 @@ vgcreate $vg2 "$dev2"
|
||||
not vgrename $vg1 $vg2
|
||||
vgremove $vg1 $vg2
|
||||
|
||||
# FIXME: decide how lvmetad should handle
|
||||
# duplicate VG names. lvmetad now ignores
|
||||
# the VG on device B if it already knows
|
||||
# about the same VG name on device A.
|
||||
# This lets you vgrename the VG on device A
|
||||
# which allows the VG on device B to reappear
|
||||
# once it's rescanned.
|
||||
# It's not yet known how we want lvmetad to
|
||||
# handle duplicate VG names.
|
||||
|
||||
test -e LOCAL_LVMETAD && exit 0
|
||||
|
||||
# vgrename duplicate name
|
||||
vgcreate $vg1 "$dev1"
|
||||
aux disable_dev "$dev1"
|
||||
|
Loading…
Reference in New Issue
Block a user