diff --git a/images/agent/src/pkg/utils/commands.go b/images/agent/src/pkg/utils/commands.go index 10192eb2..796fa88a 100644 --- a/images/agent/src/pkg/utils/commands.go +++ b/images/agent/src/pkg/utils/commands.go @@ -274,7 +274,7 @@ func CreateThinPoolFullVGSpace(thinPoolName, vgName string) (string, error) { } func CreateThinLogicalVolumeSnapshot(name string, vgName string, sourceLlv *v1alpha1.LVMLogicalVolume) (string, error) { - args := []string{"lvcreate", "-s", "-n", name, fmt.Sprintf("%s/%s", vgName, sourceLlv.Name), "-y"} + args := []string{"lvcreate", "-s", "-kn", "-n", name, fmt.Sprintf("%s/%s", vgName, sourceLlv.Name), "-y"} extendedArgs := lvmStaticExtendedArgs(args) cmd := exec.Command(internal.NSENTERCmd, extendedArgs...)