Harald Hoyer b3dfe7
From 6bc8fbda610c6ce0a7c20242ff7ed811cdced89d Mon Sep 17 00:00:00 2001
Harald Hoyer b3dfe7
From: Harald Hoyer <harald@hoyer.xyz>
Harald Hoyer b3dfe7
Date: Thu, 12 Oct 2017 11:23:38 +0200
Harald Hoyer b3dfe7
Subject: [PATCH] Merge pull request #223 from
Harald Hoyer b3dfe7
 bmr-cymru/bmr-ignore-activation-skip
Harald Hoyer b3dfe7
Harald Hoyer b3dfe7
lvm_scan.sh: use -K when calling lvchange
Harald Hoyer b3dfe7
---
Harald Hoyer b3dfe7
 modules.d/90lvm/lvm_scan.sh | 2 +-
Harald Hoyer b3dfe7
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer b3dfe7
Harald Hoyer b3dfe7
diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh
Harald Hoyer b3dfe7
index 8bf08641..61a18b24 100755
Harald Hoyer b3dfe7
--- a/modules.d/90lvm/lvm_scan.sh
Harald Hoyer b3dfe7
+++ b/modules.d/90lvm/lvm_scan.sh
Harald Hoyer b3dfe7
@@ -114,7 +114,7 @@ if [ -n "$LVS" ] ; then
Harald Hoyer b3dfe7
     info "Scanning devices $lvmdevs for LVM logical volumes $LVS"
Harald Hoyer b3dfe7
     lvm lvscan $lvm_ignorelockingfailure 2>&1 | vinfo
Harald Hoyer b3dfe7
     for LV in $LVS; do
Harald Hoyer b3dfe7
-        lvm lvchange --yes -ay $lvm_quirk_args $LV 2>&1 | vinfo
Harald Hoyer b3dfe7
+        lvm lvchange --yes -K -ay $lvm_quirk_args $LV 2>&1 | vinfo
Harald Hoyer b3dfe7
     done
Harald Hoyer b3dfe7
 fi
Harald Hoyer b3dfe7
 
Harald Hoyer b3dfe7