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

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

 



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)
>  


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux