[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 2/2] Pass --force when calling vgreduce --removemissing. (#679206)



This is for master and I have proposed it for F15Beta since it prevents
us from cleaning up incomplete volume groups.

On Tue, 2011-02-22 at 09:28 -0600, David Lehman wrote:
> ---
>  pyanaconda/storage/devicelibs/lvm.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/storage/devicelibs/lvm.py b/pyanaconda/storage/devicelibs/lvm.py
> index 31a61a5..121c896 100644
> --- a/pyanaconda/storage/devicelibs/lvm.py
> +++ b/pyanaconda/storage/devicelibs/lvm.py
> @@ -275,7 +275,7 @@ def vgreduce(vg_name, pv_list, rm=False):
>      args = ["vgreduce"]
>      args.extend(config_args)
>      if rm:
> -        args.extend(["--removemissing", vg_name])
> +        args.extend(["--removemissing", "--force", vg_name])
>      else:
>          args.extend([vg_name] + pv_list)
>  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]