mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
Add vgrename test to check for existence of new vg.
This commit is contained in:
parent
6f4a82b3f4
commit
89b7d5cb4c
@ -27,3 +27,11 @@ check_vg_field_ $vg1 vg_uuid $UUID
|
||||
vgrename $UUID $vg2
|
||||
check_vg_field_ $vg2 vg_name $vg2
|
||||
vgremove $vg2
|
||||
|
||||
# vgrename fails - new vg already exists
|
||||
vgcreate $vg1 $dev1
|
||||
vgcreate $vg2 $dev2
|
||||
not vgrename $vg1 $vg2
|
||||
vgremove $vg1
|
||||
vgremove $vg2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user