mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: relocate vgimport test
It seem like a better-fit here.
This commit is contained in:
parent
13258d6e96
commit
db04d3e6d2
@ -64,13 +64,6 @@ for i in h b s k m g t p e H B S K M G T P E; do
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# test vgexport vgimport tools
|
||||
vgchange -an $vg
|
||||
vgexport $vg
|
||||
vgimport $vg
|
||||
vgchange -ay $vg
|
||||
|
||||
# "-persistent y --major 254 --minor 20"
|
||||
# "-persistent n"
|
||||
# test various lvm utils
|
||||
|
@ -16,6 +16,12 @@ aux prepare_devs 2
|
||||
vgcreate --metadatasize 128k $vg1 "$dev1"
|
||||
lvcreate -l100%FREE -n $lv1 $vg1
|
||||
|
||||
# Test plain vgexport vgimport tools
|
||||
vgchange -an $vg1
|
||||
vgexport $vg1
|
||||
vgimport $vg1
|
||||
vgchange -ay $vg1
|
||||
|
||||
# Clone the LUN
|
||||
dd if="$dev1" of="$dev2" bs=256K count=1
|
||||
aux notify_lvmetad "$dev2"
|
||||
|
Loading…
Reference in New Issue
Block a user