1
0
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:
Zdenek Kabelac 2014-03-24 09:58:29 +01:00
parent 13258d6e96
commit db04d3e6d2
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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"