From 5026105e53f077215fbce3fd543a8b92b203b8c6 Mon Sep 17 00:00:00 2001 From: Alexandr Stefurishin Date: Wed, 16 Oct 2024 09:32:50 +0300 Subject: [PATCH] Revert "temporarily remove autoactivation (experiment)" Signed-off-by: Alexandr Stefurishin --- images/agent/src/pkg/utils/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...)