From f66585eb083460aac5e7fa98191acef9dd1406a1 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Thu, 14 Aug 2014 14:54:05 +1000 Subject: [PATCH] mdadm: document some more magic environment variables. Others are mostly for developers. Signed-off-by: NeilBrown --- mdadm.8.in | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/mdadm.8.in b/mdadm.8.in index f9f44af4..462f7081 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -2886,6 +2886,20 @@ to '1', the .I mdadm will create and devices that are needed. +.TP +.B MDADM_NO_SYSTEMCTL +If +.I mdadm +detects that +.I systemd +is in use it will normally request +.I systemd +to start various background tasks (particularly +.IR mdmon ) +rather than forking and running them in the background. This can be +suppressed by setting +.BR MDADM_NO_SYSTEMCTL=1 . + .TP .B IMSM_NO_PLATFORM A key value of IMSM metadata is that it allows interoperability with @@ -2902,6 +2916,18 @@ environment. This can be useful for testing or for disaster recovery. You should be aware that interoperability may be compromised by setting this value. +.TP +.B MDADM_GROW_ALLOW_OLD +If an array is stopped while it is performing a reshape and that +reshape was making use of a backup file, then when the array is +re-assembled +.I mdadm +will sometimes complain that the backup file is too old. If this +happens and you are certain it is the right backup file, you can +over-ride this check by setting +.B MDADM_GROW_ALLOW_OLD=1 +in the environment. + .TP .B MDADM_CONF_AUTO Any string given in this variable is added to the start of the -- 2.39.2