mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Remove VG/PV used in the test.
This commit is contained in:
parent
501a2c04a4
commit
bab3366f5f
@ -118,6 +118,8 @@ pvcreate --metadatasize $size_mb $dev1
|
|||||||
vgcreate $vg1 $dev1
|
vgcreate $vg1 $dev1
|
||||||
vgcfgbackup -f $backupfile
|
vgcfgbackup -f $backupfile
|
||||||
vgcfgrestore -f $backupfile $vg1
|
vgcfgrestore -f $backupfile $vg1
|
||||||
|
vgremove -f $vg1
|
||||||
|
pvremove -f $dev1
|
||||||
|
|
||||||
# pvcreate wipes swap signature when forced
|
# pvcreate wipes swap signature when forced
|
||||||
dd if=/dev/zero of="$dev1" bs=1024 count=64
|
dd if=/dev/zero of="$dev1" bs=1024 count=64
|
||||||
|
Loading…
Reference in New Issue
Block a user