aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2021-12-08 14:14:27 -0600
committerJóhann B. Guðmundsson <johannbg@gmail.com>2022-02-02 22:48:13 +0000
commit97543cca48dfde849396f11c83f9c320e1b91c46 (patch)
tree5a72485a22733f4c3a10bf9a8ef4f7da4ce899c8
parent50e74668434d935db649b5690dc2158b0f87d91c (diff)
downloaddracut-97543cca48dfde849396f11c83f9c320e1b91c46.tar.gz
fix(lvm): replace --partial option
The --partial option will activate a linear (or other) LV without segments for missing devices, which is unlikely to be useful. The intention was to activate raid LVs in a useful form while missing devices, which is specified with the option --activationmode degraded.
-rw-r--r--modules.d/90lvm/64-lvm.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90lvm/64-lvm.rules b/modules.d/90lvm/64-lvm.rules
index 65f65249..ca718ce0 100644
--- a/modules.d/90lvm/64-lvm.rules
+++ b/modules.d/90lvm/64-lvm.rules
@@ -15,7 +15,7 @@ PROGRAM=="/bin/sh -c 'for i in $sys/$devpath/holders/dm-[0-9]*; do [ -e $$i ] &&
GOTO="lvm_end"
RUN+="/sbin/initqueue --settled --onetime --unique /sbin/lvm_scan"
-RUN+="/sbin/initqueue --timeout --name 51-lvm_scan --onetime --unique /sbin/lvm_scan --partial"
+RUN+="/sbin/initqueue --timeout --name 51-lvm_scan --onetime --unique /sbin/lvm_scan --activationmode degraded"
RUN+="/bin/sh -c '>/tmp/.lvm_scan-%k;'"
LABEL="lvm_end"