mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Fix vgremove to allow removal of VG with missing PVs. (2.02.52)
This commit is contained in:
parent
647c64c796
commit
6117bfc0af
@ -1,5 +1,6 @@
|
||||
Version 2.02.69 -
|
||||
================================
|
||||
Fix vgremove to allow removal of VG with missing PVs. (2.02.52)
|
||||
Add --metadataignore to pvcreate and vgextend and define in lvm.conf.
|
||||
Add {pv|vg}_mda_used_count which displays a count of mdas w/ignored bit clear.
|
||||
Add vg_mda_copies which displays the value of --vgmetadatacopies.
|
||||
|
@ -15,3 +15,6 @@ lvchange -v --refresh --partial $vg/mirror
|
||||
# also check that vgchange works
|
||||
vgchange -a n --partial $vg
|
||||
vgchange -a y --partial $vg
|
||||
|
||||
# check vgremove
|
||||
vgremove -f $vg
|
@ -49,7 +49,7 @@ static int vgremove_single(struct cmd_context *cmd, const char *vg_name,
|
||||
}
|
||||
}
|
||||
|
||||
if (!vg_remove_check(vg)) {
|
||||
if (!force && !vg_remove_check(vg)) {
|
||||
stack;
|
||||
return ECMD_FAILED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user