mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# test vgexport vgimport tools
|
|
||||||
vgchange -an $vg
|
|
||||||
vgexport $vg
|
|
||||||
vgimport $vg
|
|
||||||
vgchange -ay $vg
|
|
||||||
|
|
||||||
# "-persistent y --major 254 --minor 20"
|
# "-persistent y --major 254 --minor 20"
|
||||||
# "-persistent n"
|
# "-persistent n"
|
||||||
# test various lvm utils
|
# test various lvm utils
|
||||||
|
@ -16,6 +16,12 @@ aux prepare_devs 2
|
|||||||
vgcreate --metadatasize 128k $vg1 "$dev1"
|
vgcreate --metadatasize 128k $vg1 "$dev1"
|
||||||
lvcreate -l100%FREE -n $lv1 $vg1
|
lvcreate -l100%FREE -n $lv1 $vg1
|
||||||
|
|
||||||
|
# Test plain vgexport vgimport tools
|
||||||
|
vgchange -an $vg1
|
||||||
|
vgexport $vg1
|
||||||
|
vgimport $vg1
|
||||||
|
vgchange -ay $vg1
|
||||||
|
|
||||||
# Clone the LUN
|
# Clone the LUN
|
||||||
dd if="$dev1" of="$dev2" bs=256K count=1
|
dd if="$dev1" of="$dev2" bs=256K count=1
|
||||||
aux notify_lvmetad "$dev2"
|
aux notify_lvmetad "$dev2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user