diff --git a/linux/lvm.go b/linux/lvm.go index 6936bf5..88c4ca2 100644 --- a/linux/lvm.go +++ b/linux/lvm.go @@ -194,7 +194,7 @@ func (ls *linuxLVM) CreatePV(name string) (disko.PV, error) { } func (ls *linuxLVM) DeletePV(pv disko.PV) error { - return runCommandSettled("lvm", "pvremove", "--force", pv.Path) + return runCommandSettled("lvm", "pvremove", "--force", "--force", "--yes", pv.Path) } func (ls *linuxLVM) HasPV(name string) bool {