]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm: document some more magic environment variables.
authorNeilBrown <neilb@suse.de>
Thu, 14 Aug 2014 04:54:05 +0000 (14:54 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 14 Aug 2014 04:54:05 +0000 (14:54 +1000)
Others are mostly for developers.

Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.8.in

index f9f44af494da19ca5b46b3b9b605c1c55d372f45..462f70818081673a0f5d84147892b5d8514d7cf1 100644 (file)
@@ -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