summaryrefslogtreecommitdiff
path: root/mdadm.conf-example
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-03 14:33:55 +1100
committerNeilBrown <neilb@suse.de>2010-03-03 14:33:55 +1100
commitd1d3482b562369b0d32e4267c2e245a3371d1f10 (patch)
tree72c0394196b102c9ec5782d5fdb80ba387ae43e7 /mdadm.conf-example
parent5a9de8db047646e1e59d90afc478d1820736324d (diff)
config: add 'homehost' option to 'AUTO' line.
This allows basing auto-assembly decisions on whether the array is recorded as belonging to this host or not. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.conf-example')
-rw-r--r--mdadm.conf-example8
1 files changed, 8 insertions, 0 deletions
diff --git a/mdadm.conf-example b/mdadm.conf-example
index 2d83fc0b..9250f233 100644
--- a/mdadm.conf-example
+++ b/mdadm.conf-example
@@ -27,6 +27,14 @@
#DEVICE /dev/discs/*/*
#
#
+# The AUTO line can control which arrays get assembled by auto-assembly,
+# meaing either "mdadm -As" when there are no 'ARRAY' lines in this file,
+# or "mdadm --incremental" when the array found is not listed in this file.
+# By default, all arrays that are found are assembled.
+# If you want to ignore all DDF arrays (maybe they are managed by dmraid),
+# and only assemble 1.x arrays if which are marked for 'this' homehost,
+# but assemble all others, then use
+#AUTH -ddf hosthost -1.x +all
#
# ARRAY lines specify an array to assemble and a method of identification.
# Arrays can currently be identified by using a UUID, superblock minor number,